> ## Documentation Index
> Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List a Facebook login's Pages

> Lists every Page the login's stored credential can manage, live from Meta, merged with assignment state. Pages granted after the last OAuth exchange appear here without re-authenticating. assignable reflects tenancy only; the 5-page-per-brand cap is enforced when assigning.



## OpenAPI

````yaml /api-reference/openapi.json get /platforms/facebook/logins/{loginId}/pages
openapi: 3.0.0
info:
  description: >-
    Unified social media inbox API. Read and respond to comments, DMs, reviews,
    and mentions across Instagram, Facebook, Threads, Google Business Profile,
    TikTok, LinkedIn, and YouTube through a single REST API. X/Twitter and
    Trustpilot coming soon.
  title: SocialAPI.AI
  contact:
    name: SocialAPI.AI Support
    email: support@social-api.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.social-api.ai/v1
security: []
paths:
  /platforms/facebook/logins/{loginId}/pages:
    get:
      tags:
        - Platforms
      summary: List a Facebook login's Pages
      description: >-
        Lists every Page the login's stored credential can manage, live from
        Meta, merged with assignment state. Pages granted after the last OAuth
        exchange appear here without re-authenticating. assignable reflects
        tenancy only; the 5-page-per-brand cap is enforced when assigning.
      parameters:
        - description: Facebook login (credential) ID
          name: loginId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.FacebookLoginPagesResponse'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.ErrorResponse'
        '404':
          description: Unknown login
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_endpoints.ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    api_endpoints.FacebookLoginPagesResponse:
      type: object
      properties:
        count:
          type: integer
          example: 3
        login_id:
          type: string
          example: cred_01J...
        pages:
          type: array
          items:
            $ref: '#/components/schemas/api_endpoints.PendingPage'
    api_endpoints.ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/api_endpoints.ErrorBody'
    api_endpoints.PendingPage:
      type: object
      properties:
        assignable:
          type: boolean
        assigned_account_id:
          type: string
        assigned_brand_id:
          type: string
        assigned_brand_name:
          type: string
        category:
          type: string
        name:
          type: string
          example: Acme Bakery
        picture_url:
          type: string
        platform_page_id:
          type: string
          example: '17841400000000000'
    api_endpoints.ErrorBody:
      type: object
      properties:
        code:
          type: string
          example: resource.not_found
        message:
          type: string
          example: Account not found
        meta:
          type: object
          additionalProperties: {}
  securitySchemes:
    BearerAuth:
      description: >-
        Prefix your API key with "Bearer ". Example: `Authorization: Bearer
        sapi_key_...`
      type: apiKey
      name: Authorization
      in: header

````