Community Discussion

Ask a Question
Back to All

Filtering Inactive subaccounts

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:

  1. Get the account_ids by making the GET request to https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts

  2. 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?

ο»Ώ