connect
Update Facebook page
Switch which Facebook Page is active for a connected account.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
accountIdstring
selectedPageIdstring
Response Body
application/json
application/json
curl -X PUT "https://getlate.dev/api/v1/accounts/string/facebook-page" \ -H "Content-Type: application/json" \ -d '{ "selectedPageId": "123456789012345" }'{
"message": "Facebook page updated successfully",
"selectedPage": {
"id": "123456789012345",
"name": "My Brand Page"
}
}Empty
{
"error": "Unauthorized"
}Empty