Hey,
I'm trying to extract contact usage and email usage that's available on the admin dashboard, to create an automation using API calls (check screenshot #2). For contact usage, I'm able to gather the data I need. But for email usage/credits/limits, I've tried using API v1, since apparently this information isn't available anywhere else, but even when using an Admin API key, I don't receive the "credits" available on the account (check screenshot #1 and the response I got from the call). While checking the API Key we are using, we made sure that the user is an Admin, that is added to the group "Admin", as instructed in the API docs.
Our definition of email usage is: All emails sent in the current billing cycle (including Campaigns + automation sends) Also, we do have multiple accounts we intend to extract the email/contact usage to properly manage subscription upgrades and downgrades. We need to monitor throughout the cycle how much we have used and what's available in each account so we can plan our campaigns, and either direct more contacts to that account, or use the remaining email credits. Also, by searching your documentation (API v1) we find that email usage/credits it's available to be extracted through the API, but when I ask your AI bot/agent or the "active intelligence" feature, it says there's no API endpoint available to extract it. What do I believe? This information is conflicting and hard to work with.
Questions:
- Is email usage/credits somehow available through API calls?
- How is it available for us?
- What are the specific permissions and how do I enable them in order to extract this?
