Revoke a partner business from the Page
Removes every task the partner business portfolio held on the Page.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Zernio SocialAccount id of the Facebook or Instagram account.
Query parameters
Meta business portfolio id of the partner (numeric string).
Responses
Success· the request worked
Errors· the request failed
Move account to another profile
Moves a connected account to a different profile owned by the same user. The target profile must belong to the same user as the account. For API keys restricted to specific profiles, BOTH the source account's current profile AND the target profile must be in the key's allowed set. Calls with a target profile outside the key's scope return 403.
Get OAuth connect URL
Initiate an OAuth connection flow. Returns an authUrl to redirect the user to. **X on prepaid-balance billing:** connecting is free, but every X post is paid from the balance ($0.015, or $0.20 with a link). At a $0 balance, POST /v1/posts to X returns 402 `insufficient_balance` (or waits for funds when scheduled), so fund the balance before the first post. ### Modes - Standard flow: Zernio hosts the selection UI, then redirects to your redirect_url. - Headless mode (headless=true): user is redirected to your redirect_url with OAuth data for custom UI. Use the platform-specific selection endpoints to complete. ### Several accounts per platform A profile can hold several accounts of the same platform. Connecting a different account adds it as a new account, and reconnecting the SAME account keeps it and all of its history. Ads connections stay one per profile. On a legacy plan limited to N profiles, a new account is refused with 403 `platform_account_limit` once N accounts of its platform are connected. ### TikTok Every connection now goes through the TikTok for Business app. An authorization that leaves out a permission the connected account needs changes nothing at all and comes back as `missing_tiktok_permissions`. Connect again and accept every permission on TikTok's screen.