Templates

Delete template

Permanently delete a template. Emails already sent are unaffected; later sends with this template_id fail with invalid_request.

DELETEhttps://api.sndr.sh/v1/templates/{id}
Delete template
curl -X DELETE 'https://api.sndr.sh/v1/templates/tpl_c19e5d34-82a' \
  -H "Authorization: Bearer $SNDR_API_KEY"
204No Content

No response body.

Authorization

Authorizationstringheaderrequired

Bearer followed by your API key. Needs the send scope.

Path parameters

idstringrequired

Template ID (tpl_...).

Errors

401unauthenticatedMissing or invalid API key.
403insufficient_scopeThe API key is missing the send scope.
404not_foundResource does not exist or belongs to a different account.