Identity Allowed Documents

get
Get identity allowed documents

https://workflow-api.synaps.io/v2/workflow/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
[
"PASSPORT",
"NATIONAL_ID",
"DRIVER_LICENSE",
"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 :

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