v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Webhook APIs

Delete Webhook

Permanently deletes a specific webhook configuration based on its ID. Use this API to remove webhook callbacks for events such as delivered, open, or click. Deleting a webhook is irreversible. Note: When using a master account API key, you can delete a webhook for a subaccount by specifying the subaccount's username in the on-behalf-of header.

delete/webhooks/{id}

Path parameters

idinteger required

ID of the webhook to delete.

Headers

on-behalf-ofstring
Example:subaccount1

Allows a master account to retrieve webhooks configured by a subaccount, by specifying the subaccount's username.

Response

Webhook deleted successfully