OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

List Instagram ad identities

GEThttps://zernio.com/api/v1/ads/instagram-accounts

Lists the Instagram accounts a Meta ad connection can run ads as, so you can pick the identity for a new ad.

Discovers identities through connected_instagram_accounts, Page linkage and Page-backed identities, with a best-effort business fallback. Business permission errors do not fail discovery. The resolved object uses the same profile-scoped resolver as ad creation; null means no identity was resolved. Format-specific observed-actor fallbacks at creative creation are not predicted.

Instagram accounts and Pages that other businesses share with the ad account's business as partner assets are listed with source business_partner, and Pages the ad account promotes with source promote_pages. These reads are best effort: a failure there never fails discovery.

PlatformsMeta

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

Zernio Meta Ads or Facebook SocialAccount ID.

adAccountIdstringRequired

Meta ad account ID including the act_ prefix.

Responses

Success· the request worked

Errors· the request failed

GET/v1/ads/instagram-accounts
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.listAdsInstagramAccounts({  query: {    accountId: 'account_abc123',    adAccountId: 'adaccount_abc123',  },});console.log(data);
{  "accounts": [    {      "igUserId": "17841400000000000",      "username": "example",      "isPageBacked": false,      "source": "page_backed"    }  ],  "pages": [    {      "pageId": "123456789",      "name": "Example Page",      "instagramBusinessAccount": {        "igUserId": "17841400000000000",        "username": "example"      }    }  ],  "resolved": {    "pageId": "123456789",    "igUserId": "17841400000000000",    "source": "page_backed"  }}
OpenAPI specification
Was this page helpful?