Webhooks

Create a webhook

POST
/webhooks

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
domains?array<string>|

exx extension: only these domains of the project (how many: the webhooks guide). email.* events of messages sent from them and domain.* events about them reach the webhook; exx.* events reach it always. Null or empty: every domain.

endpoint*string

The https URL events are posted to.

events*array<string>

Event types, e.g. email.delivered.

Response Body

Success

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