Skip to content

Authentication

The REST API uses API key authentication via the Authorization header.

Creating an API key

  1. Open the SimplerSuite Access dashboard in your Shopify admin
  2. Go to Settings → API Keys
  3. Click Create API Key
  4. Select the scopes you need
  5. Copy the API Key — it is only shown once

API keys use the format eh_live_* (production) or eh_test_* (test mode).

Using the API key

Pass the key in the Authorization header on all API requests:

Terminal window
curl -H "Authorization: Bearer eh_live_abc123..." \
https://api.simplersuite.co/v1/entitlements?customer_id=cust_123

Base URL

All API endpoints are relative to:

https://api.simplersuite.co/v1

Scopes

Each API key is granted specific scopes that control what it can access:

ScopeDescription
entitlements:readRead entitlements and check access
entitlements:writeCreate, update, revoke, suspend, reactivate entitlements
products:readList and get products
products:writeCreate and update products
customers:readList customer entitlements and downloads
webhooks:manageManage webhook endpoints
events:readRead event logs
files:readGenerate download URLs
files:writeGenerate upload URLs, confirm uploads

Rate limits

Endpoint typeLimit
Read endpoints120 requests/minute per API key
Write endpoints60 requests/minute per API key

When rate limited, the API returns 429 Too Many Requests with a Retry-After header.

Response format

All successful responses use this envelope:

{
"data": { },
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-03-01T12:00:00.000Z"
}
}

Paginated responses add:

{
"pagination": {
"total": 42,
"limit": 25,
"has_more": true,
"next_cursor": "eyJ..."
}
}

Error format

{
"error": {
"type": "authentication_error",
"message": "Invalid API key",
"code": "INVALID_API_KEY",
"request_id": "req_abc123"
}
}
StatusMeaning
400Validation error or bad request
401Authentication failed
402Billing/quota limit reached
403Insufficient scope
404Resource not found
409Conflict (invalid status transition)
429Rate limited
500Internal server error