cURL
curl --request POST \ --url https://api.anycheck.id/verifications \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form service_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \ --form 'files=<string>' \ --form folder_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \ --form 'metadata=<string>' \ --form files.items='@example-file'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "service_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "folder_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "PENDING", "result": {}, "confidence_score": 0.5, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Create a new document verification request
JWT token obtained from /auth/login endpoint.
/auth/login
Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
Service/template ID for verification type
Document files to verify
Optional folder to organize verification
JSON-stringified additional metadata
Verification created
PENDING
IN_PROGRESS
COMPLETED
FAILED
Verification result data
0 <= x <= 1
Was this page helpful?