Templates
Duplicate a template
A new draft template with the draft of this one, named `<name> (copy)`, without an alias.
POST
A new draft template with the draft of this one, named <name> (copy), without an alias.
bearerheader
AuthorizationBearer <token>id*stringThe template's id or alias
Success
application/json- response
id*stringFormat
uuidobject*stringcurl -X POST 'https://api.exx.sh/templates/string/duplicate'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}Check a template POST
An exx.sh addition: checks a version of the template before it is sent (links, images, size, text part, subject, variables and the content scan). Links are fetched (HEAD, then GET) from exx.sh's servers, so checks are rate limited per project and per organization.
Publish a template POST
Makes the draft the version sends use.