List connected Facebook pages
const url = 'https://api.siprtc.io/v1/Accounts/example/Integrations/Meta/Pages?page=1&limit=30';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.siprtc.io/v1/Accounts/example/Integrations/Meta/Pages?page=1&limit=30' \ --header 'Authorization: Basic <credentials>'Lists the Facebook pages the account’s Meta integration can message from, optionally only those of one Facebook login, paged. The answer has the same shape as Get the Meta integration (integrations, distinct pages, pagination; tokens masked). Read from storage only: Facebook is not called and tokens are not refreshed. Authentication: HTTP Basic with the account’s Auth ID and Auth Secret. The operation always applies to the authenticated account; {auth_id} should be its Auth ID (with a parent account’s credentials on a sub-account’s path, the parent’s own integration is used, not the sub-account’s).
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Auth ID of the authenticated account
Query Parameters
Section titled “ Query Parameters ”Only the pages of this Facebook login
Page number (default 1)
Page size (default 30, max 100; larger values are capped)
Responses
Section titled “ Responses ”OK
object
AccessToken is set only when exactly one Facebook login is connected: its user token, masked.
AccountID is the Auth ID of the account.
IntegrationID is set only when exactly one Facebook login is connected: its integration id.
IntegrationStatus is set only when exactly one Facebook login is connected.
Integrations are the connected Facebook logins, each with its pages.
object
AccessToken is the stored Facebook user token, masked (first 6 and last 4 characters).
AccountID is the Auth ID of the account the integration belongs to.
Channel is “facebook”.
CreatedAt is when the integration was first stored (RFC 3339).
IntegrationID identifies the integration (a UUID).
IntegrationStatus is the integration’s state (“active”).
Pages connected through this login.
object
IntegrationID identifies the integration (one per Facebook login) the page belongs to.
PageID is the Facebook page id.
PageName is the page’s name.
ProviderUserID is the Facebook user whose login connected the page.
ProviderUserName is that Facebook user’s name.
Tasks are the tasks the connecting Facebook user may perform on the page, as Facebook reports them.
PagesCount is the number of pages in pages.
Provider is “meta”.
ProviderUserID is the Facebook user id of the login.
ProviderUserName is that Facebook user’s name.
Status is “success”.
TokenExpiresAt is when the stored Facebook user token expires (RFC 3339), when Facebook gave an expiry.
UpdatedAt is when it last changed (RFC 3339).
IntegrationsCount is the number of connected Facebook logins.
Pages are the distinct pages across all integrations.
object
IntegrationID identifies the integration (one per Facebook login) the page belongs to.
PageID is the Facebook page id.
PageName is the page’s name.
ProviderUserID is the Facebook user whose login connected the page.
ProviderUserName is that Facebook user’s name.
Tasks are the tasks the connecting Facebook user may perform on the page, as Facebook reports them.
PagesCount is the number of distinct pages across all integrations (before paging).
Pagination describes the page of pages returned.
object
CurrentPage is the page number returned.
LastPage is the last page number (1 when there are no pages).
PerPage is the page size used.
TotalResults is the number of distinct pages across all integrations.
ProviderUserID is set only when exactly one Facebook login is connected.
ProviderUserName is set only when exactly one Facebook login is connected.
Status is “success”.
TokenExpiresAt is set only when exactly one Facebook login is connected and its token has an expiry.
Example
{ "access_token": "EAAG00...abcd", "account_id": "AC000000000000000000", "integration_id": "7d3c1a52-0000-4000-8000-000000000003", "integration_status": "active", "integrations": [ { "access_token": "EAAG00...abcd", "account_id": "AC000000000000000000", "channel": "facebook", "created_at": "2026-11-20T10:15:00Z", "integration_id": "7d3c1a52-0000-4000-8000-000000000003", "integration_status": "active", "pages": [ { "integration_id": "7d3c1a52-0000-4000-8000-000000000003", "page_id": "100000000000001", "page_name": "Acme Store", "provider_user_id": "300000000000003", "provider_user_name": "Jane Doe", "tasks": [ "MESSAGING", "MODERATE" ] } ], "pages_count": 1, "provider": "meta", "provider_user_id": "300000000000003", "provider_user_name": "Jane Doe", "status": "success", "token_expires_at": "2027-01-19T10:15:00Z", "updated_at": "2026-11-20T10:15:00Z" } ], "integrations_count": 1, "pages": [ { "integration_id": "7d3c1a52-0000-4000-8000-000000000003", "page_id": "100000000000001", "page_name": "Acme Store", "provider_user_id": "300000000000003", "provider_user_name": "Jane Doe", "tasks": [ "MESSAGING", "MODERATE" ] } ], "pages_count": 1, "pagination": { "current_page": 1, "last_page": 1, "per_page": 30, "total_results": 1 }, "provider_user_id": "300000000000003", "provider_user_name": "Jane Doe", "status": "success", "token_expires_at": "2027-01-19T10:15:00Z"}Storage error (reported as 400 with its message)
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}Missing or invalid credentials; the body is the JSON string Authentication failed
Example generated
exampleNo Meta integration (or none for that Facebook login) on this account
object
Message says what went wrong.
Status is always “failed” on an error (some validation errors omit it).
Example
{ "message": "error message", "status": "failed"}