Skip to content

List connected Facebook pages

GET
/v1/Accounts/{auth_id}/Integrations/Meta/Pages
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).

auth_id
required
string

Auth ID of the authenticated account

provider_user_id
string

Only the pages of this Facebook login

page
integer
default: 1 >= 1

Page number (default 1)

limit
integer
default: 30 >= 1 <= 100

Page size (default 30, max 100; larger values are capped)

OK

Media type application/json
object
access_token

AccessToken is set only when exactly one Facebook login is connected: its user token, masked.

string
account_id

AccountID is the Auth ID of the account.

string
integration_id

IntegrationID is set only when exactly one Facebook login is connected: its integration id.

string
integration_status

IntegrationStatus is set only when exactly one Facebook login is connected.

string
integrations

Integrations are the connected Facebook logins, each with its pages.

Array<object>
object
access_token

AccessToken is the stored Facebook user token, masked (first 6 and last 4 characters).

string
account_id

AccountID is the Auth ID of the account the integration belongs to.

string
channel

Channel is “facebook”.

string
created_at

CreatedAt is when the integration was first stored (RFC 3339).

string
integration_id

IntegrationID identifies the integration (a UUID).

string
integration_status

IntegrationStatus is the integration’s state (“active”).

string
pages

Pages connected through this login.

Array<object>
object
integration_id

IntegrationID identifies the integration (one per Facebook login) the page belongs to.

string
page_id

PageID is the Facebook page id.

string
page_name

PageName is the page’s name.

string
provider_user_id

ProviderUserID is the Facebook user whose login connected the page.

string
provider_user_name

ProviderUserName is that Facebook user’s name.

string
tasks

Tasks are the tasks the connecting Facebook user may perform on the page, as Facebook reports them.

Array<string>
pages_count

PagesCount is the number of pages in pages.

integer
provider

Provider is “meta”.

string
provider_user_id

ProviderUserID is the Facebook user id of the login.

string
provider_user_name

ProviderUserName is that Facebook user’s name.

string
status

Status is “success”.

string
token_expires_at

TokenExpiresAt is when the stored Facebook user token expires (RFC 3339), when Facebook gave an expiry.

string
updated_at

UpdatedAt is when it last changed (RFC 3339).

string
integrations_count

IntegrationsCount is the number of connected Facebook logins.

integer
pages

Pages are the distinct pages across all integrations.

Array<object>
object
integration_id

IntegrationID identifies the integration (one per Facebook login) the page belongs to.

string
page_id

PageID is the Facebook page id.

string
page_name

PageName is the page’s name.

string
provider_user_id

ProviderUserID is the Facebook user whose login connected the page.

string
provider_user_name

ProviderUserName is that Facebook user’s name.

string
tasks

Tasks are the tasks the connecting Facebook user may perform on the page, as Facebook reports them.

Array<string>
pages_count

PagesCount is the number of distinct pages across all integrations (before paging).

integer
pagination

Pagination describes the page of pages returned.

object
current_page

CurrentPage is the page number returned.

integer
last_page

LastPage is the last page number (1 when there are no pages).

integer
per_page

PerPage is the page size used.

integer
total_results

TotalResults is the number of distinct pages across all integrations.

integer
provider_user_id

ProviderUserID is set only when exactly one Facebook login is connected.

string
provider_user_name

ProviderUserName is set only when exactly one Facebook login is connected.

string
status

Status is “success”.

string
token_expires_at

TokenExpiresAt is set only when exactly one Facebook login is connected and its token has an expiry.

string

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)

Media type application/json
object
message

Message says what went wrong.

string
status

Status is always “failed” on an error (some validation errors omit it).

string

Example

{
"message": "error message",
"status": "failed"
}

Missing or invalid credentials; the body is the JSON string Authentication failed

Media type application/json
string

Example generated

example

No Meta integration (or none for that Facebook login) on this account

Media type application/json
object
message

Message says what went wrong.

string
status

Status is always “failed” on an error (some validation errors omit it).

string

Example

{
"message": "error message",
"status": "failed"
}