Track email event

POST
/email/events

Request Body

application/json
  1. body
attributes?|null
create_contact?boolean|null
email*string
event*string
idempotency_key*string
occurred_at?|
Formatdate-time
properties?|null

Response Body

The event was durably recorded.

application/json
  1. response
api_version*string
event_id*string
received_at*string
Formatdate-time
replayed*boolean
Example Request
curl -X POST 'https://api.relevate.app/email/events' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "string",
  "event": "string",
  "idempotency_key": "string"
}'
Example Response
{
  "api_version": "string",
  "event_id": "string",
  "received_at": "2019-08-24T14:15:22Z",
  "replayed": true
}