Select the Page whose Instagram account to connect
Saves the selected Page as an Instagram account connected via Facebook Login. The Page access token becomes the account's access token, so every Instagram call for it runs against the Facebook Graph host.
One Instagram account per profile: if the profile already has an Instagram account, this replaces it, and picking a different Instagram identity purges the previous account's conversations, external posts and stats.
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
{ "message": "Instagram (via Facebook) connected", "account": { "accountId": "64e1f0a9e2b5af0012ab34cd", "platform": "instagram", "username": "mybrand", "displayName": "My Brand Page", "profilePicture": "https://...", "isActive": true, "loginMethod": "facebook_login" }}List Pages with a linked Instagram account
Completes the `loginMethod=facebook_login` Instagram flow, i.e. "Instagram API with Facebook Login". After the user authorizes on Facebook, extract `tempToken` from the redirect params (headless mode adds `step=select_account`) and pass it here to list the Facebook Pages they manage. Only Pages that have a linked Instagram professional account are returned, so an empty array means the user has no eligible Page. Use the X-Connect-Token header if connecting via API key. Not used by the default `instagram_login` flow, which creates the account without a selection step.
List LinkedIn orgs
Fetch full LinkedIn organization details (logos, vanity names, websites) for custom UI. No authentication required, only the tempToken from OAuth.