POST
/
event
curl --request POST \
  --url https://hub.suprsend.com/event/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "distinct_id": "0fxxx8f74-xxxx-41c5-8752-xxxcb6911fb08",
  "event": "ON SHIPMENT ARRIVAL",
  "properties": {
    "amount": "3780$",
    "number": "TRXC1034",
    "vehicle": "Truck",
    "locations": "San Francisco"
  }
}'
"OK"

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Body

application/json

Response

202 - application/json

202 - Accepted

The response is of type object.