Create an API key
Create and revoke keys in API key settings. When you create a key, choose its scopes and the Instagram accounts it can access. levios shows the full secret once, so store it before you leave the page. Send the key in the Bearer header:Scopes and account access
A request must satisfy both the operation scope and the account access granted to the key. API v1 currently uses these operation scopes:automations:readlists automations and reads one automation.automations:writecreates, updates, and deletes automations.automations:activateactivates or pauses an automation.contacts:read_piireads complete contact records.contacts:writemanages contact tags and assignments.metrics:readreads account and automation metrics.
Authentication failures
The API returns401 with api_unauthorized when it cannot accept the API
key. A valid key without the required scope or account access returns 403.
Do not use an error response to determine whether a key or account exists.
Revoke and replace a key through levios settings if you suspect exposure.
See Errors for the response envelope and correlation IDs.
