post
https://production-api.shoutaboutus.com/api/v1/account/white-label/email-templates/delivery-method
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:
| Field | Type | Required | Notes |
|---|---|---|---|
| company_id | integer | Yes | Must be an existing account inside your own account tree. |
| type | string | Yes | Valid EmailTemplateType value. Must support webhook if delivery_method=webhook. |
| delivery_method | string | Yes | One of direct, webhook. webhook fails validation when the type does not support webhook, or when there is no active webhook subscription (RequiresActiveWebhookSubscription). |
| webhook_subscription_id | integer | No | nullable. 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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
