Authentication
All endpoints accept either anApiKey header or an OAuth header. See the OAuth Endpoints page for token generation.
Get Webhook Config
Returns the current webhook configuration for your account, including enabled event types, callback URLs, and enabled state. No request body parameters are required.Request Body
This endpoint takes no parameters. Pass an empty JSON object ({}) as the request body.
Response
integer
200 on success.string
Empty string on success; an error description on failure.
object
Object indicating which event types are currently enabled for webhook delivery. Returns
null if no configuration has been saved yet. Each key corresponds to an event type; true means notifications for that event are enabled.string
Default callback URL that receives webhook payloads for all senders without a specific override. Returns
null if not configured.array[object]
Per-sender callback URL overrides. Each object routes events from a specific sender to a dedicated endpoint. Returns
null if not configured.boolean
true if webhook delivery is globally enabled; false if all webhooks are paused. Returns null if not configured.Response
Save Webhook Config
Updates one or more webhook configuration settings. All fields are optional — only the fields you include will be modified.Request Body
object
Object controlling which event types trigger webhook notifications. Include only the keys you want to change; omitted keys retain their current values. Set a key to
true to enable notifications for that event, or false to disable them.string
Default callback URL to receive webhook payloads. Used for all senders that do not have a per-sender override. Must be an
http:// or https:// URL.array[object]
Per-sender callback URL overrides. Behavior is controlled by
transCallbackUrlExtraUpdateMode. To remove an existing override for a sender, pass that sender with an empty string "" for url.string
Determines how
transCallbackUrlExtra entries are applied:"save"— Add new entries and update existing ones; all other entries are preserved. This is the default."replace"— Replace the entire per-sender override list with the provided entries.
boolean
Set to
true to enable webhook delivery globally, or false to pause all webhook notifications.Response
integer
200 on success.string
Empty string on success; an error description on failure.
Response