Dev

API Keys

Create an API key for the REST JSON:API — step by step.

API keys authenticate the REST JSON:API via the X-CloudCart-ApiKey header. They are store-level credentials managed in the admin panel.

PAT or API key?

API keys are for REST only. The GraphQL Admin API and the CLI use Personal Access Tokens.

Open API Keys in the admin

https://<your-store-domain>/admin/settings/api_keys

Or navigate: Settings → API Keys.

API Keys page

The banner at the top shows two things you'll need:

  • your API Base URL — https://<your-store-domain>/api/v2
  • your plan's rate limit (see Rate Limits)

Create a key

Click Add API key, give it a name describing the integration (ERP sync, Feed generator), and generate. Copy the key value from the list.

Make a request

curl "https://mystore.cloudcart.com/api/v2/products" \
  -H "X-CloudCart-ApiKey: YOUR_API_KEY"

Full request/response conventions: REST API Overview.

Managing keys

  • Use one key per integration so you can revoke independently
  • The active toggle disables a key instantly without deleting it
  • If a key leaks, deactivate it first, then create a replacement and update the integration

On this page