Identity VerificationGlobal / OthersDocument Verification POST
POST
/api/v1/verification/api/document_verification/

Verify government-issued documents globally (Passport, Driver's License, Identity Card)

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/verification/api/document_verification/" \  -H "Content-Type: application/json" \  -d '{    "doc_image": "Upload document image or provide URL",    "doc_type": "Document Type",    "doc_country": "Select Country"  }'
{  "data": {    "last_name": "John",    "first_name": "Doe",    "issue_date": "2020-01-15",    "expiry_date": "2030-01-15",    "nationality": "Nigerian",    "date_of_birth": "1990-01-15",    "document_type": "PP",    "document_number": "A12345678",    "confidence_score": 95.5,    "verification_status": "verified"  },  "status": true,  "response_code": "00",  "message": "string",  "billing_info": {    "was_charged": true,    "amount": "string",    "currency": "string"  }}
Response Codes & Statuses: Prembly API responses include custom response_code values (e.g., 00 Success, 01 Not Found, 02 Unavailable).
View Response Codes Guide
Prembly Slack Community

Join our developer Slack channel for real-time integration support, engineering updates, and direct Q&A with the Prembly team.

Join Slack Channel