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

# List social accounts

> Solara AI API: The accounts the person connected in Solara, and whether one needs reconnecting.

Permission: **Read** (`read`).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/social/accounts
openapi: 3.1.0
info:
  title: Solara AI API
  version: '1'
  description: >-
    Make and edit videos with an API key. Every operation here accepts a key;
    everything else in Solara is for people in the app. Generated from the
    backend by tools/docs/build-public-spec.ts.
servers:
  - url: https://api.solaraai.com
    description: Production
security:
  - ApiKeyBearer: []
tags:
  - name: Styles
    description: The looks a video can be made in.
  - name: Upload
    description: Send a recording to Solara in parts.
  - name: Footage
    description: >-
      The person's own photos and clips, shown as b-roll on the lines that
      mention them. Add each one after the recording's upload and before Create
      a video: footage added after the video is made isn't placed in it.
  - name: Videos
    description: Make a video from an upload and follow it.
  - name: Editing
    description: Read and change an edit. Editing is free and never renders.
  - name: Export
    description: >-
      Render the final video and download it. An export uses one of the plan's
      videos.
  - name: Calendar
    description: >-
      What posts when, how each post went, and what is ready to post. Read only:
      moving, retrying or deleting a post is the person's, in Solara.
  - name: Performance
    description: >-
      How the workspace's posts are doing: each platform's own numbers, read on
      a schedule, never live. YouTube's and Threads' numbers are not shared with
      an API key; X's come with a plan; LinkedIn isn't measured yet.
  - name: Posting
    description: >-
      Ask the person to approve a post: they approve in Solara, and nothing
      posts before. Needs the Ask to post permission, which an AI agent gets
      when the person allows it; keys made in the app do not have it.
paths:
  /api/v1/social/accounts:
    get:
      tags:
        - Posting
      summary: List social accounts
      description: >-
        The accounts the person connected in Solara, and whether one needs
        reconnecting.


        Permission: **Read** (`read`).
      operationId: list-social-accounts
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SocialAccountsOutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - ApiKeyBearer: []
components:
  schemas:
    SocialAccountsOutputBody:
      additionalProperties: false
      type: object
      properties:
        accounts:
          items:
            $ref: '#/components/schemas/SocialAccountBody'
          type:
            - array
            - 'null'
        unavailable_platforms:
          description: >-
            Platforms this deployment cannot connect yet (no app credentials, as
            X before its keys): the app shows them Not available yet instead of
            a Connect that fails. Absent when every platform can connect
          items:
            type: string
          type:
            - array
            - 'null'
      required:
        - accounts
    ErrorModel:
      additionalProperties: false
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
          description: >-
            Names a customer-visible error, for the app to translate; absent on
            other errors
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
    SocialAccountBody:
      additionalProperties: false
      type: object
      properties:
        avatar_url:
          description: >-
            The account's picture: Solara's own copy, as a signed URL (until the
            first copy is made, the platform's live picture). Absent when there
            is none. The URL expires: never store it
          type: string
        comments_need_reconnect:
          description: >-
            Its connection was not granted the platform's comment permission
            (Facebook's pages_manage_engagement, Instagram's
            instagram_business_manage_comments, YouTube's youtube.force-ssl
            where the workspace may ask for it, then with
            get-social-connect-url's ask=comments), or was made before Solara
            asked for it: it posts as it is, and a first comment under its posts
            waits until it is reconnected, or for YouTube allowed (a YouTube
            post without it carries no comment). Absent when false
          type: boolean
        connected_at:
          format: date-time
          type: string
        display_name:
          description: >-
            The name the post goes out under: a Facebook account's Page (empty
            while unknown), an Instagram account's username
          type: string
        external_account_id:
          description: The platform's own id for this account
          type: string
        id:
          format: uuid
          type: string
        is_reauth_required:
          type: boolean
        keeps_numbers:
          description: >-
            The workspace keeps numbers (views, likes…) of posts on this
            account's platform: post analytics (on, or since turned off), a
            YouTube Short's stats, a Threads post's. A disconnect of the
            platform deletes them; a reconnect keeps them. Absent when false
          type: boolean
        location_address:
          description: >-
            A Google Business Profile account's location's address, on one line
            (its display_name is the location's title). Absent for every other
            account, and for a location with none
          type: string
        needs_location:
          description: >-
            A Google Business Profile account with no location chosen yet: it
            posts nowhere until one is (list-google-business-locations,
            set-google-business-location). Absent when false
          type: boolean
        needs_page:
          description: >-
            A LinkedIn Page account with no Company Page chosen yet: it posts
            nowhere until one is (list-linkedin-page-pages, set-linkedin-page).
            Absent when false
          type: boolean
        platform:
          description: Publishing platform
          enum:
            - facebook
            - instagram
            - tiktok
            - linkedin
            - youtube
            - x
            - threads
            - pinterest
            - google_business
            - bluesky
            - linkedin_page
          type: string
      required:
        - id
        - platform
        - display_name
        - is_reauth_required
        - connected_at
    ErrorCode:
      description: >-
        A stable name for a customer-visible error; the app translates it.
        Absent on other errors.
      enum:
        - invalid_credentials
        - invalid_or_expired
        - too_many_attempts
        - resend_too_soon
        - email_taken
        - invalid_phone
        - temporarily_unavailable
        - turnstile_failed
        - email_unchanged
        - phone_unchanged
        - account_deletion_unavailable
        - project_not_found
        - plan_changed
        - subscription_required
        - restyle_limit
        - fill_limit
        - export_limit
        - ask_limit
        - music_limit
        - music_unavailable
        - free_limit
        - plan_required
        - allowance_used
        - not_exported
        - not_editable
        - earlier_cut
        - invalid_edit
        - edit_timing_off
        - landscape_off
        - speaker_poster_off
        - reedit_off
        - music_off
        - animated_off
        - animated_locked
        - animation_pending
        - caption_style_unfit
        - animated_colors_fixed
        - animated_too_long
        - speed_too_slow
        - animated_allowance_used
        - animated_plan_required
        - redraw_limit
        - cap_workspace
        - cap_workspace_drawing
        - cap_global
        - attachment_video
        - attachment_too_big
        - attachment_missing
        - attachment_limit
        - attachment_too_long
        - ask_busy
        - plan_not_for_sale
        - not_entitled
        - plan_change_unavailable
        - not_for_sale
        - same_plan
        - resume_required
        - upgrade_pending
        - quote_expired
        - no_pending_upgrade
        - exit_offer_ended
        - campaign_offer_ended
        - post_publishing
        - post_already_ended
        - post_not_ended
        - post_preparing
        - post_not_retryable
        - post_needs_reconnect
        - post_may_be_live
        - text_post_needs_media
        - caption_required
        - caption_too_long
        - caption_ai_limit
        - caption_ai_no_source
        - caption_ai_failed
        - caption_ai_unavailable
        - caption_ai_no_room
        - caption_ai_listening
        - upload_words_limit
        - company_not_found
        - linkedin_needs_reconnect
        - youtube_off
        - youtube_not_short
        - youtube_too_large
        - scope_not_offered
        - x_off
        - x_video_refused
        - threads_off
        - threads_video_refused
        - pinterest_off
        - pinterest_video_refused
        - pinterest_business_account_needed
        - pinterest_needs_reconnect
        - google_business_off
        - google_business_needs_reconnect
        - google_business_video_refused
        - google_business_location_not_found
        - google_business_ended
        - bluesky_off
        - bluesky_video_refused
        - linkedin_page_off
        - linkedin_page_needs_reconnect
        - linkedin_page_not_found
        - facebook_video_refused
        - photo_unfittable
        - intake_not_found
        - intake_not_complete
        - intake_limit
        - intake_not_configured
        - intake_invalid
        - api_key_invalid
        - api_key_revoked
        - api_key_not_allowed
        - insufficient_scope
        - agent_api_off
        - agent_only
        - api_key_limit
        - api_key_daily_limit
        - idempotency_in_progress
        - idempotency_key_reused
        - publish_request_expired
        - publish_request_edited
        - publish_request_decided
        - publish_request_pending
        - video_not_postable
        - text_posts_waiting
        - publish_request_daily_limit
        - video_format_not_supported
        - photo_posts_waiting
        - upload_not_ready
        - tiktok_option_not_allowed
        - workspace_owner_only
        - oauth_off
        - oauth_request_expired
        - oauth_client_gone
        - oauth_device_code_unknown
        - oauth_request_not_yours
        - url_not_allowed
        - url_not_public
        - url_unreachable
        - not_a_video
        - video_too_large
        - video_too_long
        - url_fetches_busy
        - url_fetch_daily_limit
        - upload_incomplete
        - upload_used
        - broll_off
        - media_limit
        - media_daily_limit
        - media_too_large
        - media_too_long
        - media_not_supported
        - ai_clips_off
        - clip_limit
        - ai_clips_plan_required
        - clip_refusal_limit
        - stock_clip_limit
        - auto_edit_off
        - auto_edit_limit
        - auto_edit_locked
        - auto_edit_files_missing
        - auto_edit_busy
        - auto_edit_cutting
        - picture_blocks_off
        - picture_pending
        - block_too_long
        - footage_not_ready
        - block_is_clip
        - crop_size_unknown
        - no_speech
        - no_audio
        - feedback_unavailable
        - feedback_not_sent
        - feedback_rate_limited
        - duplicate_post
        - video_has_post
        - several_posts
        - post_in_old_format
        - x_same_text
        - youtube_already_posted
        - use_create_post
        - publish_requests_waiting
        - post_analytics_needs_plan
        - workspace_suspended
        - support_view_ended
        - support_view_read_only
      type: string
    ErrorDetail:
      additionalProperties: false
      type: object
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: sol_live_
      description: >-
        An API key, created in Solara: the menu under your name, then API keys.
        Send it as `Authorization: Bearer sol_live_…`. It works while the
        workspace has agent access, within what its plan gives (the free plan
        included).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.