Skip to main content
POST
/
v1
/
events
Record an event
curl --request POST \
  --url https://api.scribe-mail.com/v1/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": {
    "name": "<string>",
    "value": 123,
    "currency": "<string>",
    "click_id": "<string>",
    "event_id": "<string>",
    "properties": {}
  }
}
'
{
  "data": {
    "name": "<string>",
    "value": 123,
    "currency": "<string>",
    "click_id": "<string>",
    "source": "api",
    "status": "accepted"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
event
object
required

Response

Accepted

data
object
required