Allowed Documents

List allowed documents previously selected on your Synaps Manager interface.

get
Get allowed documents

https://identity-api.synaps.io/v2/identity/allowed_documents
Get allowed document types
Request
Response
Request
Headers
Session-Id
required
string
Session-Id that you want retrieve info
Response
200: OK
Session information
[
"DRIVER_LICENSE",
"PASSPORT",
"NATIONAL_ID",
"RESIDENT_PERMIT"
]
400: Bad Request
Invalid Session-Id
{
"api_code": "SESSION_UNKNOWN",
"message": "Unknown session"
}

API Response

Returns an array of string containing document type such as :

[
"DRIVER_LICENSE",
"PASSPORT",
"NATIONAL_ID",
"RESIDENT_PERMIT"
]

‚Äč