Do you need to create an applicant first
No. Passing applicant.external_user_id when creating a verification is enough: VERIFFY finds the applicant with that identifier or creates a new one. The separate methods are for when you want to create or change an applicant before a verification.
Fields
| Field | Description |
|---|---|
external_user_id |
The user's identifier in your system |
email, phone |
Contacts |
first_name, middle_name, last_name |
The name you know for the user |
birth_date |
Date of birth |
nationality, country |
Nationality and country |
tags |
Your own tags |
metadata |
Your own free-form data |
If you passed a name or a date of birth and the document says otherwise, the verification gets the PROVIDED_DATA_MISMATCH code and goes to manual review.
Methods
| Method | What it does |
|---|---|
POST /v1/applicants |
Create an applicant |
GET /v1/applicants |
List applicants |
GET /v1/applicants/{id} |
One applicant |
PATCH /v1/applicants/{id} |
Change fields |
DELETE /v1/applicants/{id} |
Erase the applicant's data |
curl https://api.veriffy.me/v1/applicants \
-H "Authorization: Bearer $VERIFFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"external_user_id": "user-42", "email": "user@example.com", "tags": ["vip"]}'Personal data in responses is visible only to keys with the pii:read scope.
Erasing data
DELETE /v1/applicants/{id} erases the applicant's personal data, photos and videos. Use it when a person asks for their data to be deleted.
{"id": "0b9c2f6a-…", "erased": true, "media_deleted": 7}Erasure cannot be undone
The data cannot be restored. A new verification for an erased applicant cannot be created either: you get 409 applicant_erased. If the person comes back, register them with a new external_user_id.
After erasure an applicant.erased webhook is sent with applicant_id and external_user_id.