Getting started
Create an API key in the seller portal and make your first call.
1. Create a key
- Sign in to the seller portal and open Developer in the sidebar.
- Create a key. Give it a name you will recognise later (for example "My website"), choose its scopes and, if you like, an expiry date.
- Copy the key. It is shown once, when you create it, and cannot be shown again. If you lose it, revoke it and create another.
A key looks like bbsk_live_ followed by random characters. The portal later shows only its first
characters, so you can tell your keys apart.
Team members can create keys too. A member's key can only use the scopes the member's own permissions cover. See Keys and scopes.
If the portal asks you to accept the Seller API Terms first, accept them, then create the key. See Seller API Terms.
Treat the key like a password. Store it in your server's secret store or environment, never in code you commit, a browser or a mobile app. If it leaks, revoke it in the portal at once.
2. Check the key
GET /ping works with any key, whatever its scopes. It confirms the key works and lists the scopes
it can use right now.
curl https://api.bhaktibaazar.com/seller-api/v1/ping \
-H "Authorization: Bearer $BHAKTI_BAAZAR_API_KEY"{
"ok": true,
"sellerId": "…",
"key": {
"id": "…",
"name": "My website",
"expiresAt": null
},
"scopes": ["catalog:read", "inventory:write", "orders:read"],
"serverTime": "2026-12-03T05:30:00.000Z"
}If something is wrong you get the error body instead, for example
401 UNAUTHORIZED with the message "This API key has been revoked."
3. Next steps
- Read Errors and limits and Idempotency and paging before you write a sync.
- Sync your catalogue and stock.
- Read and fulfil orders.
- Subscribe to webhooks so you hear about new orders straight away.
- Try the endpoints with the Postman collection.