Skip to main content

Authentication

The APIs in this documentation use either an x-api-key header or an Authorization: Bearer header. Check each endpoint page before implementing.

Header Types

Authentication typeHeaderUsed by
API keyx-api-key: YOUR_API_KEYCustomer, Item, Inventory, Order, Shipment, Outstanding Shipment
Bearer tokenAuthorization: Bearer YOUR_TOKENOutbound Order GraphQL, Update Order Status, Tally WhatsApp Send
warning

Do not paste real production keys into docs, tickets, screenshots, or sample payload files. Use placeholders such as YOUR_API_KEY and YOUR_TOKEN.

x-api-key Example

Headers
Content-Type: application/json
x-api-key: YOUR_API_KEY

Bearer Token Example

Headers
Content-Type: application/json
Authorization: Bearer YOUR_TOKEN

Endpoint Authentication Matrix

EndpointMethodAuth
/v2/retailers/sync-dataPOSTx-api-key
/v2/items/sync-dataPUTx-api-key
/v2/godowns/thirdparty-stock-syncPOSTx-api-key
/v2/orders/process-thirdparty-ordersPOSTx-api-key
/v2/shipments/third-partyPOSTx-api-key
/v2/shipments/outstanding/sync-dataPUTx-api-key
/v2/graphqlPOSTBearer token
/v2/tally/orders/update-statusPOSTBearer token
/v2/tally/send-whatsappPOSTBearer token

Implementation Checklist

  • Confirm which auth style the endpoint requires.
  • Store secrets outside source control.
  • Use environment variables in scripts and Postman environments.
  • Rotate a key immediately if it is exposed.
  • Keep public documentation examples placeholder-only.