API referenceAccount
Check a key
GET
Scope: none. Any working key can call this.
Confirms the key works and lists the scopes it can use right now.
sellerApiKeyheader
AuthorizationBearer <bbsk_live_…>A Seller API key, bbsk_live_…
application/json- response
ok*booleansellerId*stringFormat
uuidkey*scopes*array<>The scopes this key can use right now: those chosen when it was made that its creator still holds.
serverTime*stringFormat
date-timecurl -X GET 'https://api.bhaktibaazar.com/seller-api/v1/ping'Example Response
{ "ok": true, "sellerId": "2b5cb5ab-0f11-4d75-8f0a-a6d87a9d534e", "key": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "My website", "expiresAt": "2019-08-24T14:15:22Z" }, "scopes": [ "catalog:read" ], "serverTime": "2019-08-24T14:15:22Z"}