get https://backstage.taboola.com/backstage/api/1.0/users/current/allowed-accounts
Returns all allowed accounts for your user credentials.
See also: Get Advertiser Accounts in Network (above).
Sample response:
{
"results": [
{
"id": 1163,
"name": "Advertiser 1",
"account_id": "advertiser-1",
"partner_types": [
"PUBLISHER",
"ADVERTISER"
],
"type": "PARTNER",
"campaign_types": [
"PAID"
],
"currency": "USD",
"time_zone_name": "US/Eastern"
},
{
"id": 1164,
"name": "Advertiser 2",
"account_id": "advertiser-2",
"partner_types": [
"PUBLISHER",
"ADVERTISER"
],
"type": "PARTNER",
"campaign_types": [
"PAID"
],
"currency": "USD",
"time_zone_name": "US/Eastern"
},
//...
],
"metadata": {
//...
}
}
This endpoint does not take any params. It returns all allowed accounts for your user credentials.
Guidelines
- For a user with network credentials, the endpoint returns all the individual sub-accounts in that network, as well as the network account.
- If you do not have network credentials, the response will contain details for your individual account only.
- For hybrid networks, the endpoint returns the relevant advertiser and publisher accounts.
See also: Get Advertiser Accounts in Network (above).