Set delivery method (direct/webhook)

Switches a template type between Direct Send (email) and Webhook delivery. Webhook delivery posts rendered content to the partner's webhook URL at send time and requires an active webhook subscription. Email-only types cannot be set to webhook.

Auth: Both — authentication + an email-template feature check. company_id scoped by an ownership check; platform-owned types forbidden (403) for non-platform companies. (Only the reachable companies differ per role.)

Rate limit: No rate limit.

Request

  • Body:
FieldTypeRequiredNotes
company_idintegerYesMust be an existing account inside your own account tree.
typestringYesValid EmailTemplateType value. Must support webhook if delivery_method=webhook.
delivery_methodstringYesOne of direct, webhook. webhook fails validation when the type does not support webhook, or when there is no active webhook subscription (RequiresActiveWebhookSubscription).
webhook_subscription_idintegerNonullable. The active webhook subscription to use when delivery_method=webhook.

Response{ data. } envelope with nested status + message (shared updateOverride).

  • status (string) — success.
  • message (string) — Template updated.

Errors: 403 when the template type is platform-managed or the email-template section is disabled for your account.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
string
string
integer
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json