Templates
Update a template
Edits the draft; the published version stays until the next publish.
PATCH
Edits the draft; the published version stays until the next publish.
bearerheader
AuthorizationBearer <token>id*stringThe template's id or alias
application/json- body
Fields left out stay as they are; null clears an optional one (an exx rule: Resend
documents no way to clear a field).
alias?string|nullfrom?string|nullhtml?stringNot null.
name?stringNot null.
reply_to?array<string>|nullsubject?string|nulltext?string|nullvariables?array<>|Replaces every declared variable; null removes them all.
Success
application/json- response
id*stringFormat
uuidobject*stringcurl -X PATCH 'https://api.exx.sh/templates/string' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "string"}