Skip to main content
A scoped API key works like your account API key, but it can only do what you allowed when you created it. Use one for each script, CI job, or integration so a leaked key can’t reach the rest of your account. Send the scoped API key in the same AccessKey header:
Scoped API keys start with bnyscpd_.

Find the permission an endpoint needs

Each endpoint that accepts scoped API keys lists its permissions in the endpoint description. For example, List Pull Zones shows:
Your key needs any one of the listed permissions. Grant that permission when you create the key, on the resources the request touches. If an endpoint lists no scoped API key permission, it doesn’t accept scoped API keys yet. The products and permissions you can grant are listed in the dashboard when you create a key.

Errors

A 403 response has the error key scopedApiKey.forbidden and the message “The scoped API key does not have permission to perform this action.” To fix a 403, check the permissions the endpoint lists, and check that the key covers the resource ID in the request. Keys can’t be edited, so create a new key with the access you need.
Keep scoped API keys in a secret store or environment variable, and leave them out of client-side code and public repositories.
Last modified on December 3, 2026