API to pass an event, which in turn triggers workflows where that event is defined as the trigger.
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"
Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.
Bearer <API_KEY>
202 - Accepted
The response is of type object.
object
Was this page helpful?