Send an event
/events/sendResend's Send Event: the same as POST /events, answering { object, event } plus the event id.
Authorization
apiKey A project API key: Authorization: Bearer s0_…
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/events/send" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "event", "event": "string", "id": "string", "contact_id": "string", "created": true}Track a custom event POST
Records a named event for a contact (`contact_id` or `email`; an unknown email creates the contact unless `create_contact` is false). `properties` (or Resend's `payload`) become merge variables of the sequence it starts. An `idempotency_key` (or `Idempotency-Key` header) makes a retry return the first event; the same key with a different event is a 409 `invalid_idempotent_request`.
Track custom events in a batch POST
Up to 100 events, recorded atomically.