GET
/
api
/
v1
/
utils
/
document-type
/
individual-customer
Get document types for individual customers
curl --request GET \
  --url https://demoapi.saasphereltd.com/api/v1/utils/document-type/individual-customer \
  --header 'Authorization: Bearer <token>'
{
  "status": "00",
  "message": "OK",
  "data": [
    {
      "id": 1,
      "name": "passport"
    },
    {
      "id": 2,
      "name": "national_id"
    }
  ]
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Response

A list of document types

status
string
Example:

"00"

message
string
Example:

"OK"

data
object[]