Skip to main content
Every request to the ScoutLayer API must include a valid API key. You can pass it in one of two ways:
X-API-Key: YOUR_API_KEY
curl https://api.scoutlayer.io/v1/shopify/appstore/app/klaviyo \
  -H "X-API-Key: YOUR_API_KEY"

Option 2 — Authorization: Bearer header

Authorization: Bearer YOUR_API_KEY
curl https://api.scoutlayer.io/v1/shopify/appstore/app/klaviyo \
  -H "Authorization: Bearer YOUR_API_KEY"

Getting your API key

  1. Open the dashboard.
  2. Click New API key, give it a name, and copy the key immediately — it won’t be shown again.
Keep your API key secret. Never commit it to source control or expose it in client-side code. Use environment variables or a secrets manager.

Error responses

StatusMeaning
401 UnauthorizedMissing or invalid API key.
402 Payment RequiredValid key, but your credit balance is zero. Top up in the dashboard.