MillionSend Docs

/webhooks

POST
/webhooks

Request Body

application/json
  1. body
endpoint*string
Formaturi
Lengthlength <= 2048
events*array<>
Items1 <= items
inbox_ids?array<>

MillionSend extension: inbox events and email.received reach this endpoint only for these inboxes of the team (at most 100). null means every inbox. Omitted: every inbox.

Itemsitems <= 100
signing_secret?string

Signing secret to use instead of minting one: whsec_ followed by base64 of 24-64 bytes, the format Resend/Svix issue. An existing secret carried over keeps the receiver verifying unchanged; when omitted, a new one is generated.

Response Body

Webhook created; signing_secret is also retrievable via GET /webhooks/{id}

application/json
  1. response
object*"webhook"
Value in"webhook"
id*string
Formatuuid
signing_secret*string
Example Request
curl -X POST 'https://api.millionsend.com/webhooks' \  -H 'Content-Type: application/json' \  -d '{  "endpoint": "http://example.com",  "events": [    "email.scheduled"  ]}'
Example Response
{  "object": "webhook",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "signing_secret": "string"}