List events
get
/eventsReturns recent caravan arrival and departure events visible to your partner account.
Query Parameters
typestring ("arrival" | "departure")Filter by event type
sincestring (date-time)Return events after this ISO 8601 timestamp
Responses
200A list of events
application/json
eventsarray of Eventidstring (uuid)typestring ("arrival" | "departure")caravan_idstring (uuid)waypoint_idstringoccurred_atstring (date-time)Request
curl -X GET 'https://partners.cameltrading.example/v2/events' \
-H 'Authorization: Bearer <your-token>'Response
{
"events": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "arrival",
"caravan_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"waypoint_id": "string",
"occurred_at": "2024-01-15T10:30:00Z"
}
]
}