Skip to main content

List Facebook Pages

GET 

/api/integrations/:integration_id/facebook/pages

List Facebook pages for a connected Facebook Messenger integration.

This endpoint fetches all Facebook pages that the user has authorized during OAuth. Use this endpoint in dropdowns when configuring automations/components to allow users to select which specific page to send/receive messages from.

Args: integration_id: The ID of the Facebook Messenger integration

Returns: List of pages with id, name, and access_token

Example: GET /api/integrations/abc-123/facebook/pages Returns: [ {"id": "123456", "name": "My Page", "access_token": "page_token_..."}, {"id": "789012", "name": "Another Page", "access_token": "page_token_..."} ]

Request

Responses

Successful Response