How it works
You create and manage API keys in Settings → Integrations under API access. Each key belongs to your account and acts on its behalf. All requests go tohttps://server.twicecommerce.com. Send the key in the X-API-KEY header on every request. For example, list your catalog items:
Usage
- Open Settings → Integrations and go to API access.
- Create a key and copy it — the full value is shown only once.
- Add it to your integration as the
X-API-KEYrequest header. - Revoke a key from the same screen when it is no longer needed.
Rate limits
The API limits requests in three layers:- Per IP — pre-authentication protection. Each client IP has a per-minute request budget. Requests with missing or bot-like user agents consume more of the budget per call.
- Per account — all authenticated traffic on your account, admin dashboard and API keys combined, shares a per-minute limit that scales with your plan.
- Per API key — each key has a sustained requests-per-second rate, a short-term burst allowance, and a monthly request cap. All three scale with your plan; the monthly cap is the API call allowance that pools across all your locations.
When a request exceeds a limit, the API returns
429 Too Many Requests. Wait for Retry-After seconds before retrying. See pricing for the allowances on each plan.
Related
API reference
Browse every endpoint.
Webhooks
Receive events when data changes.
Integrations settings
Manage keys and connected systems.