Skip to Content
Bhakti BaazarDevelopers
API referenceWebhooks

List events

GET
/events

Scope: webhooks:manage

Every event of the last 30 days, oldest first, whether or not a webhook received it: use it to catch up after downtime. The newest few seconds are held back so a page never skips one.

Authorization

sellerApiKey
headerAuthorizationBearer <bbsk_live_…>

A Seller API key, bbsk_live_…

Query Parameters

since?string

Only events recorded at or after this time. Events are kept 30 days.

Formatdate-time
type?string

Only this event type.

cursor?string

nextCursor from the previous page.

limit?number
Range1 <= value <= 100
Default50

Response Body

application/json
  1. response
data*array<>
nextCursor*string|null
hasMore*boolean
Example Request
curl -X GET 'https://api.bhaktibaazar.com/seller-api/v1/events'
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "type": "order.created",      "created": "2019-08-24T14:15:22Z",      "data": {}    }  ],  "nextCursor": "string",  "hasMore": true}