Accounts

Share the Page with a partner business

Changed on

Grants a partner business portfolio tasks on the Facebook Page behind this account. With ADVERTISE, the partner can run ads for the Page from ad accounts in its own portfolio, which is how an integrator advertises for an end user without touching the end user's ad accounts.

Meta only lets a user token share a Page that a business portfolio owns. A Page outside any portfolio must first be claimed into one at business.facebook.com; this endpoint answers 422 until that is done. Meta refuses a second grant to a portfolio that already has access instead of replacing its tasks, so that case answers 200 with alreadyShared: true and the tasks the partner currently holds. To change a partner's tasks, revoke and grant again.

After the grant, the partner assigns its own people to the Page with POST /v1/ads/page-users; Meta does not assign partner admins automatically. The Instagram professional account linked to the Page is returned in page so the partner can reference it; Meta exposes no API to share Instagram accounts, that is done in Business Settings.

post/v1/accounts/{accountId}/business-partners

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/business-partners
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Zernio SocialAccount id of the Facebook or Instagram account.

Request body

businessIdstring required

Meta business portfolio id of the partner (numeric string).

permittedTasksstring[]

Tasks granted on the Page, Meta's permitted_tasks vocabulary. Defaults to ADVERTISE and ANALYZE. The bare names are what Business Settings shows; the PROFILE_PLUS_ names are the New Pages Experience tasks and the only way to grant FACEBOOK_ACCESS or REVENUE. Granting MANAGE also yields MANAGE_LEADS.

Response

The portfolio already had access; nothing changed

alreadySharedboolean

Always true on this response.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status