Filtering Inactive subaccounts

Community Discussion

Ask a Question
Back to All

Filtering Inactive subaccounts


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

  2. Get the campaigns by making the GET request to{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?