Information
- OpenAPI version:
3.1.1
Create shipment requests from your own systems, update and cancel the requests created through the API where the app’s rules allow, keep your own metadata on them, and follow them; read the deals your company is a party to (the deal, its documents, its operation and its costs, as your company sees them in the app) and upload documents to them; and hear about what happens through signed webhooks (see the webhooks section). Authenticate every call with your company’s integration key, ‘Authorization: Bearer qk_…’, or, where your security policy wants a short-lived credential, with an access token from POST /api/integrations/v1/oauth/token (OAuth 2.0 client credentials: the client id is the key’s prefix, the secret is the key; tokens live 15 minutes and die with the key). A key acts as its integration’s own service identity, limited to its scopes (requests:read, requests:write, deals:read, tracking:read, documents:read, documents:write, costs:read), to its company’s calls a minute per key (60 on Exchange, 300 on Enterprise by default), and to its IP allowlist when it has one; every key expires within 12 months and can be rotated. A test key (qk_test_…) works the same way against a sandbox of your own and never touches real data: its answers say livemode: false. Send an X-Idempotency-Key header with every write (create, update, cancel, upload); repeat the same key to retry safely. Reads of a request carry an ETag; send it as If-Match on an update or a cancel to refuse the write (412) if the request changed in between. Webhooks: Every delivery is a POST with a JSON body and four headers: Quatlas-Event-Id (the event’s id; dedupe on it, a delivery can arrive more than once), Quatlas-Event-Type, Quatlas-Timestamp (Unix seconds) and Quatlas-Signature: v1=
The token endpoint’s client authentication (client_secret_basic): the key’s prefix as the user name and the key as the password. Or send client_id and client_secret in the form (client_secret_post), never both.
Security scheme type: http
Your company’s integration key (qk_… or, for the sandbox, qk_test_…), or an access token the token endpoint issued for it. Send as ‘Authorization: Bearer …’.
Security scheme type: http
OAuth 2.0 client credentials. Access tokens live 15 minutes; revoking the key refuses them at once.
Security scheme type: oauth2
Flow type: clientCredentials
Token URL: /api/integrations/v1/oauth/token
Scopes: