Docs
Get Document Templates
GET /organizations/{orgId}/document-templates
GET
/organizations/{orgId}/document-templatesLists the organization's document templates plus every BackOps global template: id, name, description, category, isGlobal, isComingSoon, scope; no payload. Takes an org token for orgId, or an event token whose event belongs to orgId. Pass driveKind for the doc template gallery: Event lists Event and Organization templates, Organization Organization templates only; omit it for template management and order-type pickers, which list every template. Any other driveKind is a 400.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| driveKind | string | Optional |
Response
Type: GetDocumentTemplatesResponse[]
GetDocumentTemplatesResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| description | string| null | |
| category | string| null | |
| isGlobal | boolean | |
| isComingSoon | boolean | |
| scope | string| null |