Webhooks and events
GET/v1/events

List events

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/events" \  -H "Cookie: <console session cookie>"

Lists events visible to the caller, newest first, each with the aggregate status of its deliveries, plus counts per delivery status. Requires developer:manage.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/eventsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Query
  • typestring

    Filter by event type; several separated by commas (e.g. payment.confirmed,payment.failed).

  • cursorstring

    next_cursor from the previous page.

  • limitinteger

    Page size (default 50, max 200).

  • delivery_statusstring

    Filter by aggregate delivery status: delivered, retrying, dead, pending or none; several separated by commas.

  • qstring

    Search: event id or type (substring), or any object id inside data such as intent_id, receipt_id or dispute_id. Counts respect q.

Requires permissiondeveloper:manage
Held by owner, admin, developer, merchant_owner, merchant_developer, operator. The caller must hold this permission, or the call is refused with 403.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Query Parameters

type?|

Filter by event type; several separated by commas (e.g. payment.confirmed,payment.failed).

cursor?|

next_cursor from the previous page.

limit?Limit

Page size (default 50, max 200).

Default50
delivery_status?|

Filter by aggregate delivery status: delivered, retrying, dead, pending or none; several separated by commas.

q?|

Search: event id or type (substring), or any object id inside data such as intent_id, receipt_id or dispute_id. Counts respect q.

Response Body

Success.

application/json
  1. response
data*array<>
next_cursor?|

Cursor for the next page, or null on the last page.

counts*
[key: string]?any