Create an API key
- Open API key settings and sign in.
- Create a key with the
metrics:readscope. - Give the key access to the account you want to query.
- Copy the key when levios shows it. You cannot retrieve the secret later.
Set your environment variable
Store the key in your shell for this session:List your accounts
Send the key as a Bearer credential:id from the response and store it for the next request:
Read account metrics
Request the seven-day metrics window:Continue
- Read Authentication before you handle credentials in production.
- Use Pagination for larger account, automation, or contact lists.
- Check Errors and Rate limits before adding retries.
- Open the API v1 overview to browse every endpoint.

