Events

Send an event (Resend-compatible)

Resend's shape of POST /events: event is the name, payload (optional) the occurrence's properties, exactly one of contact_id or email. The same service records it: the same identity, consent, idempotency, limits and permissions. Answers 202 with the event's name.

POST
/events/send

Resend's shape of POST /events: event is the name, payload (optional) the occurrence's properties, exactly one of contact_id or email. The same service records it: the same identity, consent, idempotency, limits and permissions. Answers 202 with the event's name.

Authorization

bearer
headerAuthorizationBearer <token>

Header Parameters

Idempotency-Key?|

Stable key for retries of this exact request body

Request Body

application/json
  1. body

Resend's POST /events/send body: event is the name, payload the properties.

contact_id?|
Formatuuid
email?string|null
event*string

The event name.

payload?|

Data of this occurrence (properties of POST /events).

Response Body

Accepted

application/json
  1. response

Resend's answer to POST /events/send.

event*string

The event name.

object*string
Example Request
curl -X POST 'https://api.exx.sh/events/send' \  -H 'Content-Type: application/json' \  -d '{  "event": "string"}'
Example Response
{  "event": "string",  "object": "string"}