connect
List Facebook pages
Returns all Facebook pages the connected account has access to, including the currently selected page.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
accountIdstring
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/accounts/string/facebook-page"{
"pages": [
{
"id": "123456789012345",
"name": "My Brand Page",
"username": "mybrand",
"category": "Brand",
"fan_count": 5000
},
{
"id": "234567890123456",
"name": "My Other Page",
"username": "myotherpage",
"category": "Business",
"fan_count": 1200
}
],
"selectedPageId": "123456789012345",
"cached": true
}{
"error": "Unauthorized"
}Empty