v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
Mail: Webhooks

Get webhook

Retrieve the details of a single webhook. The webhook secret is never included; it is returned only when a webhook is created or its secret is regenerated.

get/api/mail/v1/webhooks/{webhookId}

Path parameters

webhookIdstring required
Example:019683f8-1234-7abc-8def-0123456789ab

Webhook ID (returned when the webhook was created)

Response

Success response

idstring

Unique webhook identifier

namestring

Human-readable name for this webhook

descriptionstring nullable

Optional description of the webhook's purpose

eventsstring[]

Events that trigger this webhook

status'active' | 'disabled' | 'paused'

Current status of the webhook

urlstring

URL that receives webhook POST requests

created_atstring date-time
updated_atstring date-time

Example response

{
  "id": "019683f8-1234-7abc-8def-0123456789ab",
  "mailbox": {
    "id": "AC1a2b3c4d5e6f7g",
    "address": "user@example.com"
  },
  "name": "New message notifier",
  "description": "Notifies our CRM when a new email arrives",
  "events": [
    "message.received"
  ],
  "status": "active",
  "url": "https://example.com/webhooks/incoming",
  "created_at": "2026-07-23T12:00:00Z",
  "updated_at": "2026-07-23T12:00:00Z"
}