Create webhook
Webhooks
Create webhook
Registers an HTTPS endpoint to receive event notifications.
The signingSecret is returned once only — use it to verify
the X-Signature header on incoming requests (HMAC-SHA256).
POST
Create webhook
Authorizations
Prefix tor_ followed by a base64url-encoded random key.
Obtain one from POST /api/v1/workspaces or POST /api/v1/auth/keys.
Body
application/json
Must be an HTTPS URL
Example:
"https://myapp.com/webhooks/torpedo"
Minimum array length:
1Available options:
email.delivered, email.bounced, email.complained, email.failed, domain.verified, domain.failed Example:
[
"email.delivered",
"email.bounced",
"email.failed"
]
Response
Webhook created — store the signingSecret now