API reference
Events
Replay the webhook event history.
Endpoints
List events#
GET/v1/events
Required scope events:read
Newest first, cursor-paginated. Filter with type and since.
Each row is exactly what a webhook delivery carries, so a replay and a live delivery can be handled by the same code. Events are the record of what happened, not of what was delivered: an event appears here whether or not any endpoint received it, and appears once no matter how many endpoints it went to.
Query parameters
typestringoptionalOnly this event type, e.g. payment.sent
sincestringoptionalOnly events at or after this RFC 3339 UTC timestamp
cursorstringoptionalnext_cursor from the previous page
limitintegeroptionalPage size, max 100
Responses
200A page of events, newest first
application/json
Schema List
dataarray of map of objectnext_cursorstringPass back as ?cursor= to fetch the next page; null at the end of the list
has_moreboolean
400Unknown event type, malformed since, or a cursor ekash did not issue
application/json
Schema Error
errorErrorBody5 child attributes
typestringCoarse error family
codestringStable machine-readable code — branch on this, not on the message
messagestringHuman-readable explanation, safe to log
fieldsmap of stringPer-field errors, present for validation failures
request_idstringEcho of the X-Request-Id header — quote it in a support request
{
"error": {
"type": "invalid_request",
"code": "unknown_event_type",
"message": "Unknown event type, malformed since, or a cursor ekash did not issue.",
"request_id": "6f0c1e1a-2b7d-4c55-9f0e-3a1d2c4b5e6f"
}
}curl 'https://stage.ekash.ai/dev/v1/events?type=payment.sent&since=2026-09-22T09:00:00Z&limit=50' \
-H "Authorization: Bearer $EKASH_API_KEY"{
"data": [
{
"id": "evt_9f1c7b2e4a6d4f0b8c3e5a7d9f1b3c5e",
"type": "payment.sent",
"created_at": "2026-09-22T09:30:00Z",
"data": {
"id": "48210",
"status": "sent"
}
}
],
"next_cursor": "MTc1ODUzMzQwMDpldnRf…",
"has_more": true
}