ID Forgery

This method helps you to to detect if an ID is real or fake.

You will receive a response consists of message and an error code if the request fails to process. The following is a list of error codes.

Error statusError codeDescription
200FAIL_ON_1fail on quality
200FAIL_ON_2forgery detected
400INVALID_PAYLOADno value in payload or empty string more than 1
400INVALID_PAYLOAD_IMAGE_MISSINGinvalid payload image not a standard b64/url or image empty string
400MISSING_PAYLOAD_IMAGEmissing payload image
400INVALID_PAYLOAD_IMAGE_TIMEOUTtimeout getting image from url in 15 seconds
400INVALID_PAYLOAD_IMAGE_FORMATimage unable to be decoded/got from url OR invalid image extension
400INVALID_PAYLOAD_QUALITY_VALIDATION_DEPENDENCYis_quality must be true if validate_quality true
403INSUFFICIENT_QUOTAusage reach it quota limit for ID Forgery
500INTERNAL_SERVER_ERRORinternal server error
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

A base64 or URL image file.

boolean
Defaults to true

A flag to determine whether Image Quality (blur, dark, grayscale, and flashlight) will be computed and return as result

boolean
Defaults to false

Determines whether Quality validation will be executed. The validation consists of checking blur and dark with threshold, and also checking whether the image interrupted by flashlight or detected as graysacale image. When is_liveness is set to true, it is best that validate_quality is set to true, as liveness is influenced by Quality.

Headers
string
required
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json