Company logoTrust Center Documentation
API v1 ReferenceDocumentsTemplates

List document templates

Retrieve available document templates excluding compliance/certification templates, with search and category filtering capabilities.

GET
/api/v1/documents/templates

Retrieve available document templates excluding compliance/certification templates, with search and category filtering capabilities.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

q?string

Search templates by title or description

category?string

Filter by category UUIDs (comma-separated)

Response Body

application/json

curl -X GET "https://example.com/api/v1/documents/templates?q=privacy&category=cat-123%2Ccat-456"
{  "templates": [    {      "id": "template-123",      "title": "Privacy Policy Template",      "description": "Standard privacy policy template for GDPR compliance",      "category": {        "id": "cat-legal",        "title": "Legal",        "icon": "gavel",        "translations": [          {            "locale": "de",            "title": "Legal"          }        ]      },      "access_level": "public",      "validity_months": 12,      "badge": "https://directus.example.com/assets/badge-456"    }  ],  "categories": [    {      "id": "cat-legal",      "title": "Legal",      "icon": "gavel",      "translations": [        {          "locale": "de",          "title": "Legal"        }      ]    },    {      "id": "cat-technical",      "title": "Technical",      "icon": "cpu",      "translations": [        {          "locale": "de",          "title": "Technical"        }      ]    }  ],  "confluenceIntegration": {    "id": "integration-123",    "connection": "conn-abc",    "integration": "confluence"  }}

How is this guide?