POST
/webhooksCreate a new webhookRequest body
application/json
objectCreateWebhookRequest
endpointstringrequiredThe URL where webhook events will be sent.
eventsarray of stringrequiredArray of event types to subscribe to.
Show child attributes
{
"endpoint": "https://webhook.example.com/handler",
"events": [
"email.sent",
"email.delivered",
"email.bounced"
]
}Responses
objectCreateWebhookResponse
idstring · uuidThe ID of the webhook.
objectstringThe type of object.
signing_secretstringThe secret key used to verify webhook payloads.
{
"id": "479e3145-dd38-476b-932c-529ceb705947",
"object": "webhook",
"signing_secret": "whsec_..."
}