POST
/
inbound
/
courier
curl --request POST \
  --url https://api.courier.com/inbound/courier \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "event": "New Order Placed",
  "messageId": "4c62c457-b329-4bea-9bfc-17bba86c393f",
  "userId": "1234",
  "type": "track",
  "properties": {
    "order_id": 123,
    "total_orders": 5,
    "last_order_id": 122
  }
}'
{
  "messageId": "1-65f240a0-47a6a120c8374de9bcf9f22c"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

The response is of type object.