Webhooks
Create a webhook
POST
bearerheader
AuthorizationBearer <token>application/json- 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*stringThe https URL events are posted to.
events*array<string>Event types, e.g. email.delivered.
Success
application/json- response
id*stringFormat
uuidobject*stringsigning_secret*stringcurl -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"}