latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Templates

Get a template`s details

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Templates/getTemplate" target="_blank">Try in sandbox</a><br>Get a single template.

get/api/v2/templates/{id}

Path parameters

idinteger required

Response

Returned when successful.

idinteger required

Template ID.

namestring required

Template name.

contentstring required

Template text. May contain dynamic fields inside braces. See the Custom fields list.

lastModifiedstring date-time nullable required

Time when the template was last modified.

Example response

{
  "id": 519,
  "name": "Appointment reminder",
  "content": "Hello {First name}!",
  "lastModified": "2014-09-11T08:12:01+0000"
}