/templates/{id}
GET
id*stringTemplate id or alias
Length
1 <= lengthTemplate by id or alias. Templates have no draft/publish cycle: every save is live, so status is always published. from, reply_to and variables are not supported yet and read as null, null and [].
application/json- response
id*stringFormat
uuidname*stringalias*stringstatus*"published"Value in
"published"published_at*stringcreated_at*stringupdated_at*stringobject*"template"Value in
"template"current_version_id*stringFormat
uuidfrom*unknownsubject*stringreply_to*unknownhtml*stringtext*stringvariables*array<unknown>Always empty
has_unpublished_versions*falseValue in
falsecurl -X GET 'https://api.millionsend.com/templates/string'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "alias": "string", "status": "published", "published_at": "string", "created_at": "string", "updated_at": "string", "object": "template", "current_version_id": "158beffb-f9de-457f-bbee-873740e72504", "from": null, "subject": "string", "reply_to": null, "html": "string", "text": "string", "variables": [ null ], "has_unpublished_versions": false}