Skip to content

Update Facebook page

Switch which Facebook Page is active for a connected account.

PUT /v1/accounts/{accountId}/facebook-page

Switch which Facebook Page is active for a connected account.

Parameters

  • accountId (path, string) required

Request body

Content-Type: application/json

  • selectedPageId (string) required

Example:

json

{
  "selectedPageId": "123456789012345"
}

Responses

200 — Page updated

  • message (string)
  • selectedPage (object)

400 — Page not in available pages

401

404 — Account not found