Templates

Update a template

Update one or more fields. A from sent here is checked on the same terms as create: a verified domain of the project, or the project's own sandbox address.

Requires the templates:write scope — Create, edit, and delete your email templates.

patch/api/templates/{id}

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/templates/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: templates:write)

Path parameters

idstring uuid required

Request body

bodystring
descriptionstring
emailCategory'TRANSACTIONAL' | 'MARKETING' | 'SELF_MANAGED_UNSUBSCRIBE'
fromstring email
fromNamestring nullable
namestring
replyTostring email nullable
subjectstring

Response

Updated template

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.