Pre-validate document
curl --request POST \
--url https://api.txcloud.io/v1/identity/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"valid": true,
"quality_score": 123,
"issues": [
{
"code": "<string>",
"message": "<string>",
"severity": "<string>"
}
],
"recommendations": [
"<string>"
]
}Verification
Pre-validate document
Validates document image quality before full verification.
Use this to provide immediate feedback to users about image quality issues before submitting for verification.
Checks:
- Image resolution
- Blur detection
- Lighting/exposure
- Document detection
- Document orientation
POST
/
identity
/
validate
Pre-validate document
curl --request POST \
--url https://api.txcloud.io/v1/identity/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"image": "aSDinaTvuI8gbWludGxpZnk="
}
'{
"id": "<string>",
"valid": true,
"quality_score": 123,
"issues": [
{
"code": "<string>",
"message": "<string>",
"severity": "<string>"
}
],
"recommendations": [
"<string>"
]
}Authorizations
API key as Bearer token
⌘I