Generate Verification Document URL
Changed onGenerates a short-lived link to download one image that a person sent for an individual verification. Ask for front, back, or selfie. The link always downloads the document that passed the check, whatever its type.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
Verification profile ID, prefixed idpf_.
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Image to download: the front or back of the identity document, or the selfie. A passport has no back.
Example request
{
"document": "front"
}Response
link generated
Image that the link downloads.
When the link stops working, as an ISO 8601 timestamp. Generate a new link after that.
A short-lived link to download the image. Anyone holding the link can download the image until it expires.
Example response
{
"document": "front",
"expires_at": "2026-06-01T12:01:00.000Z",
"url": "https://content.whop.com/document"
}Changes
- breaking
removed the enum value
drivers_backof the request propertydocument - breaking
removed the enum value
drivers_frontof the request propertydocument - breaking
removed the enum value
id_card_backof the request propertydocument
15 more changes in this revision
- breaking