GET
/
v1
/
templates
/
{id}
Retrieve Template details
curl --request GET \
  --url https://smart-templates.sandbox.midaz.io/v1/templates/{id}
{
"id": "0196b270-a315-7137-9408-3f16af2685e1",
"outputFormat": "txt",
"description": "Organization Ledgers",
"filename": "0196b270-a315-7137-9408-3f16af2685e1.tpl",
"createdAt": "2025-05-09T00:27:28.405Z",
"updatedAt": "2025-05-09T00:27:28.405Z",
"deletedAt": null
}

Headers

Authorization
string

The authorization token. Important: This header is required if your environment has the Acces Manager plugin enabled.

X-Organization-id
string

The unique identifier of the Organization associated with the request.

Path Parameters

id
string
required

Unique identifier of the template that you want to retrieve (UUID).

Response

Indicates that the resource was successfully created and the operation was completed as expected.

id
string

Unique ID that identifies the template (UUID format).

outputFormat
string

The format of the generated output (e.g., HTML, CSV, PDF, TXT, XML).

description
string

Briefly describes what the template is for or what it contains.

fileName
string

The name of the template file as stored in the system. Follows the <template_id>.tpl format.

createdAt
string

Timestamp indicating when the template was created.

updatedAt
string

Timestamp indicating the last time the template was updated.

deletedAt
string

Timestamp indicating when the template was soft deleted.