Community Discussion
Filtering Inactive subaccounts
over 3 years ago by Rene
Hello,
We are currently pulling campaign data using the backstage api and are receiving a 403 response for specific accounts.
Our current process is the following:
-
Get the account_ids by making the GET request to https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts
-
Get the campaigns by making the GET request to
https://backstage.taboola.com/backstage/api/1.0/{account_id}/campaigns/
After some troubleshooting on our end, we see that the accounts that are giving us the 403 error, are actually inactive in the backstage ui. We would like to know if there is a way to filter out the inactive accounts via the API?