Retrieve a template

Retrieve one template by id. Org-scoped; a cross-org or unknown id returns 404. Requires the send or read:emails scope.

GEThttps://api.mailfully.com/v1/templates/{id}

Retrieve one template by id. Org-scoped; a cross-org or unknown id returns 404. Requires the send or read:emails scope.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

The template id (`tmpl_…`).

Response

application/json

The template.

object"template"required
Allowed values: "template"
idstringrequired
namestringrequired
htmlstringrequired
textstringrequired
variables_schemaobjectrequired

Opaque JSON schema-ish object; only its `required` list is enforced, at send time.

created_atstring<date-time>required
updated_atstring<date-time>required