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

# Get settings

> Whether the Client Connect API is on for you, which providers can be connected, and your registered return URLs.



## OpenAPI

````yaml /api-reference/partner.openapi.json get /partner/connect/settings
openapi: 3.1.0
info:
  title: Partner API
  version: 1.0.0
  description: >-
    Provision your customers, sign them in with single sign-on, issue their
    workspace API keys and connect their social accounts and messaging channels.
    Authenticated by your partner key as `X-API-KEY`, from your backend only.
servers:
  - url: https://app.onlysocial.io/api
    description: OnlySocial
security:
  - partnerKey: []
tags:
  - name: Customers
    description: Create or refresh a customer's account and workspace.
  - name: Single sign-on
    description: Swap a token signed with your SSO secret for a one-time sign-in link.
  - name: Workspace API keys
    description: Issue, list and revoke the `osk_` keys of a workspace you provisioned.
  - name: Client Connect API
    description: >-
      Hosted links that connect, or reconnect, a customer's social accounts and
      messaging channels, WhatsApp and Telegram included. One endpoint for every
      provider.
paths:
  /partner/connect/settings:
    get:
      tags:
        - Client Connect API
      summary: Get settings
      description: >-
        Whether the Client Connect API is on for you, which providers can be
        connected, and your registered return URLs.
      responses:
        '200':
          description: Settings
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        example: true
                      providers:
                        type: array
                        items:
                          type: object
                          properties:
                            provider:
                              type: string
                              enum:
                                - facebook_page
                                - instagram
                                - instagram_direct
                                - linkedin
                                - linkedin_page
                                - youtube
                                - google_m_b
                                - threads
                                - tiktok
                                - pinterest
                                - reddit
                                - tumblr
                                - twitter
                                - v_kontakte
                                - blue_sky
                                - mastodon
                                - whatsapp
                                - telegram
                              example: facebook_page
                            broker_slug:
                              type:
                                - string
                                - 'null'
                              example: facebook_page
                            mode:
                              type: string
                              enum:
                                - relay
                                - direct
                                - broker
                                - token
                              example: relay
                            entities:
                              type: boolean
                              description: Your customer ticks accounts after signing in.
                            reconnect:
                              type: boolean
                            configured:
                              type: boolean
                              description: >-
                                `false`: not set up yet; a link fails at the
                                start with `provider_not_configured`.
                            asks_for:
                              type:
                                - string
                                - 'null'
                              enum:
                                - server
                                - handle
                                - bot_token
                                - null
                              description: >-
                                What the hosted page asks for when you did not
                                send it; `bot_token` for Telegram.
                      return_urls:
                        type: array
                        items:
                          type: string
                          format: uri
                        example:
                          - https://app.acmedealers.test/integrations/callback
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Unauthenticated:
      description: Missing or invalid partner key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            success: false
            message: Invalid or inactive API key.
    NotFound:
      description: >-
        Not found, or not yours. Another partner's workspace and a uuid that
        does not exist look the same.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
        error_code:
          type: string
  securitySchemes:
    partnerKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your partner API key, `pk_…`. Backend only.

````

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