Skip to main content
POST
Generate Verification Document URL

Authorizations

Authorization
string
header
required

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

identity:read

Headers

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Example:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-11-23-1"

Path Parameters

id
string
required

Verification profile ID, prefixed idpf_.

Body

application/json
document
enum<string>
required

Image to download: the front or back of the identity document, or the selfie. A passport has no back.

Available options:
front,
back,
selfie
Example:

"front"

Response

link generated

document
enum<string>
required

Image that the link downloads.

Available options:
front,
back,
selfie
Example:

"front"

expires_at
string
required

When the link stops working, as an ISO 8601 timestamp. Generate a new link after that.

Example:

"2026-06-01T12:01:00.000Z"

url
string
required

A short-lived link to download the image. Anyone holding the link can download the image until it expires.

Example:

"https://content.whop.com/document"