How to get started with the OrderKrab API
The OrderKrab REST API gives developers the same orders, labels, returns, stock and analytics you see in the app. It is part of every plan.
- 1
Create an API key in Settings → API & Apps (see the API key guide).
- 2
Send it as a bearer token. This lists the orders that are ready to pack:
curl "https://api.orderkrab.com/api/v1/orders?status=pending_fulfillment" \ -H "Authorization: Bearer ok_your_key" - 3
Open the API reference for every endpoint, the order statuses, pagination, error codes and the label workflow.
- 4
Building an app that other OrderKrab users sign in to? Use OAuth 2.1 instead of keys - the API reference describes client registration and the sign-in flow.
Good to know
- The machine-readable OpenAPI 3.1 description is at
https://api.orderkrab.com/api/v1/openapi.json, ready for code generators and API tools. - Creating a label through the API books a real shipment and counts as a fulfillment on your plan.