metaAds.listInstagramAccounts lists the Facebook Pages the connected identity manages and the Instagram professional account linked to each one.
automations/meta-ads-list-instagram-accounts.automation.ts
instagramBusinessAccount.id as instagramAccountId to Instagram actions and triggers. Pages without a linked Instagram account omit instagramBusinessAccount. limit defaults to 25; pass after or before from pageInfo to page through results. Optional second argument { account } selects a static project account binding.
Each item includes the Page’s id and name and instagramBusinessAccount with id and username. The action never returns Page access tokens. It needs instagram_basic and pages_show_list; use List Pages when you only need Facebook Pages.