Skip to main content
GET
/
v1
/
document-types
/
{id}
Get document type
curl --request GET \
  --url https://staging.api.us.aptlydone.com/settings/v1/document-types/{id} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:51:42.214Z",
  "message": "Success",
  "data": {
    "id": "18734e63-f5ee-44ba-95e3-14e5e773d9e0",
    "tenantId": "58e1ecd8-43ec-4ef0-ba29-aa04535beca6",
    "typeName": "Invoice",
    "status": true,
    "isDefault": false,
    "isDeleted": false,
    "createdAt": "2024-01-12T00:00:00.000Z",
    "updatedAt": "2024-01-12T00:00:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json

Document type details retrieved successfully

statusCode
number
required

HTTP Status code

Example:

200

timestamp
string
required

Timestamp of the response

Example:

"2025-06-24T08:51:42.214Z"

message
string
required

Response message

Example:

"Success"

data
object
required

Response data