Skip to content

Get a single template

Request

Fetch one template by ID.

Use include=collections to include the template's collection memberships. You can also include languages and jurisdictions.

Security
APIKey
Path
template_idstring, (uuid)required

The UUID of the template to retrieve.

Example:7f3f5f62-2c69-7d4e-8a3d-9c0f0e2c5f3a
Query
includestring

Comma delimited list of optional relationships to include.
Available includes: collections, jurisdictions, languages.

Example:include=collections,languages,jurisdictions
Headers
Acceptstringrequired

Specify the response format.

Value:"application/json"
curl -i -X GET \
  'https://api.builder.docue.com/api/templates/7f3f5f62-2c69-7d4e-8a3d-9c0f0e2c5f3a?include=collections%2Clanguages%2Cjurisdictions' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Successfully retrieved the template.

Bodyapplication/json
dataobject(App.Data.Template.TemplateData.TemplateData)
Response
{ "data": { "id": "7f3f5f62-2c69-7d4e-8a3d-9c0f0e2c5f3a", "title": { … }, "description": { … }, "short_description": { … }, "default_document_name": { … }, "collections": [ … ], "created_at": "2025-03-22T14:30:00Z", "updated_at": "2025-03-22T14:30:00Z", "languages": [ … ], "jurisdictions": [ … ] } }