Create Webhook
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Full list of event types this webhook should receive. At least one type is required. Send every type you want in this array (not incremental). See Webhooks overview for spam, blocked, and unauthenticated events and required permissions.
Custom HTTP headers to include with every delivery to this webhook. Header values are write-only: AgentMail never returns them from webhook read endpoints. The map must contain at least one entry when provided, and every name and value must be a valid HTTP header.
Response
ID of the pod the webhook belongs to: the pod it was created in, or the pod of the inbox it
belongs to. Absent for an organization webhook and on some inbox webhooks. This is not the
list of pods it receives events for; see pod_ids.
ID of the inbox the webhook belongs to, if it was created for an inbox. This is not the list
of inboxes it receives events for; see inbox_ids.
