X-API-Key request header:
Create a key
- Open API access.
- Choose the account that should own the key.
- Select only the scopes the integration needs.
- Create the key and copy the secret when it is shown.
Set the header
Store the key in an environment variable:Choose scopes
Scopes limit what a key can do. Common search scopes include:
An endpoint page lists the scope it requires. A key can only use scopes allowed
by its owning account.
Handle authentication errors
API errors include a stable
error.code and request_id. Keep the request ID
when contacting support.