Skip to main content
GET
/
verifications
/
{id}
JavaScript
import Whop from '@whop/sdk';

const client = new Whop({
  apiKey: process.env['WHOP_API_KEY'], // This is the default and can be omitted
});

const verification = await client.verifications.retrieve('verf_xxxxxxxxxxxxx');

console.log(verification.id);
{
  "id": "verf_xxxxxxxxxxxxx",
  "status": "requires_input",
  "last_error_code": "abandoned",
  "last_error_reason": "<string>"
}

Authorizations

Authorization
string
header
required

The app API key from an app from the /dashboard/developer page

Path Parameters

id
string
required

The ID of the verification

Example:

"verf_xxxxxxxxxxxxx"

Response

A successful response

An object representing an identity verification session

id
string
required

A unique identifier for the verification.

Example:

"verf_xxxxxxxxxxxxx"

status
enum<string>
required

The status of the verification.

Available options:
requires_input,
processing,
verified,
canceled,
created,
started,
submitted,
approved,
declined,
resubmission_requested,
expired,
abandoned,
review
last_error_code
enum<string> | null
required

The last error code that occurred during the verification.

Available options:
abandoned,
consent_declined,
country_not_supported,
device_not_supported,
document_expired,
document_type_not_supported,
document_unverified_other,
email_unverified_other,
email_verification_declined,
id_number_insufficient_document_data,
id_number_mismatch,
id_number_unverified_other,
phone_unverified_other,
phone_verification_declined,
selfie_document_missing_photo,
selfie_face_mismatch,
selfie_manipulated,
selfie_unverified_other,
under_supported_age
last_error_reason
string | null
required

The last error reason that occurred during the verification.