Get all document types
get/api/v1/sales-documents/typesRetrieves a list of all sales document types, including their identifiers and names.
Code snippet
curl -X 'GET' \
'https://{yourdomain}/api/v1/sales-documents/types' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}'
Example response
200 Success
{
"data": [
{
"id": 1,
"name": "Quote",
"contentFormat": {
"id": 1,
"name": "Standard (PDF-compatible)"
},
"singularName": "quote",
"pluralName": "quotes",
"description": "Used to generate and share customer quotations.",
"pipeline": [
{
"id": 1,
"name": "Deal",
"singularName": "deal",
"pluralName": "deals"
}
],
"prefix": "Quo",
"startingNumber": "1001",
"documentNumberFormat": "Quo-1001",
"createdOn": "2025-08-22T15:06:42.925395+05:30",
"creator": {
"id": 107,
"name": "John Peter",
"status": "Active"
},
"modifiedOn": "2025-08-23T17:40:15.12+05:30",
"modifier": {
"id": 107,
"name": "John Peter",
"status": "Active"
}
},
{
"id": 2,
"name": "Contract",
"contentFormat": {
"id": 1,
"name": "Standard (PDF-compatible)"
},
"singularName": "contract",
"pluralName": "contracts",
"description": "Used for agreements and legally binding documents.",
"pipeline": [
{
"id": 2,
"name": "Enterprise Deal",
"singularName": "enterprise deal",
"pluralName": "enterprise deals"
}
],
"prefix": "Con-",
"startingNumber": "5001",
"documentNumberFormat": "Con-5001",
"createdOn": "2025-08-20T11:50:00+05:30",
"creator": {
"id": 205,
"name": "Emma Watson",
"status": "Active"
},
"modifiedOn": "2025-08-24T15:35:00+05:30",
"modifier": {
"id": 290,
"name": "Alex Jones",
"status": "Active"
}
}
]
}