Skip to main content
POST
Create webhook

Authorizations

X-API-Key
string
header
required

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
url
string<uri>
required

Must be an HTTPS URL

Example:

"https://myapp.com/webhooks/torpedo"

events
enum<string>[]
required
Minimum array length: 1
Available options:
email.delivered,
email.bounced,
email.complained,
email.failed,
domain.verified,
domain.failed
Example:

Response

Webhook created — store the signingSecret now

data
object