Bearer token for API authentication. Format: Bearer {{apiToken}}
Parameters
The ID of the template to publish.
Response
List of template variables.Default value for the variable.
Draft version details.Version status (e.g., “PUBLISHED_LATEST”).
Timestamp of when the version was published.
Published version details.Version status (e.g., “PUBLISHED_LATEST”).
Timestamp of when the version was published.
List of all template versions.Version status (e.g., “PUBLISHED_LATEST”).
Timestamp of when the version was published.
The error code (e.g., BAD_REQUEST
).
A human-readable error message.
{
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"variables": [
{
"name": "string",
"defaultValue": "string"
}
],
"tags": [
"string"
],
"draftVersion": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": 0,
"status": "PUBLISHED_LATEST",
"publishedAt": "2024-08-30T07:39:49.292Z"
},
"publishedVersion": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": 0,
"status": "PUBLISHED_LATEST",
"publishedAt": "2024-08-30T07:39:49.292Z"
},
"templateVersions": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": 0,
"status": "PUBLISHED_LATEST",
"publishedAt": "2024-08-30T07:39:49.292Z"
}
]
},
"error": null,
"errors": null,
"meta": null
}
Status Codes
200
- OK
400
- BAD REQUEST
401
- UNAUTHORISED
404
- NOT FOUND