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

# Read the outcome of a connect link



## OpenAPI

````yaml /openapi.json get /youtube/connect-links/{connect_link_id}
openapi: 3.1.0
info:
  title: Clipstake API
  description: >-
    Instagram, X and YouTube media tracking, audience geography and
    demographics, as an API.
  version: 0.0.1
servers:
  - url: https://api.clipstake.com/v1
security: []
paths:
  /youtube/connect-links/{connect_link_id}:
    get:
      tags:
        - Connect
      summary: Read the outcome of a connect link
      operationId: youtube-connectLinks-get
      parameters:
        - in: path
          name: connect_link_id
          schema:
            type: string
            description: 'Connect link ID. Format: cl_ followed by 45 characters.'
            example: cl_VQ6EAOKbQdSnFkRmVUQAAA0tld0c09tC987TgvH-IC_Mh
          required: true
          description: 'Connect link ID. Format: cl_ followed by 45 characters.'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  platform:
                    type: string
                  status:
                    type: string
                    description: >-
                      Known values: pending, expired, connected, already_linked,
                      external_user_id_mismatch, needs_professional,
                      missing_permissions.
                  message:
                    type:
                      - string
                      - 'null'
                  account:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                          username:
                            type: string
                          external_user_id:
                            type: string
                        required:
                          - id
                          - username
                          - external_user_id
                        additionalProperties: false
                      - type: 'null'
                  expires_at:
                    type: string
                    format: date-time
                required:
                  - id
                  - platform
                  - status
                  - message
                  - account
                  - expires_at
                additionalProperties: false
              example:
                id: cl_Rk3vYq9mQ0a1Lw7ZsT2xHA0tld0c0pQ4m_JnV8ckd3a71
                platform: youtube
                status: connected
                message: null
                account:
                  id: acct_3d5f7a9b1c2e4f6a8b0c1d3e
                  username: acmestudio
                  external_user_id: customer_8f3a2c19
                expires_at: '2026-09-14T11:00:00.000Z'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.BAD_REQUEST'
              example:
                error:
                  code: invalid_request
                  message: The request body or parameters are invalid.
                  request_id: req_01K5A7N8QY2M4C6V9X3J
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.UNAUTHORIZED'
              example:
                error:
                  code: unauthorized
                  message: Provide a valid API key.
                  request_id: req_01K5A7P2CH8T6R4W9M1B
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.NOT_FOUND'
              example:
                error:
                  code: not_found
                  message: The requested resource was not found.
                  request_id: req_01K5A7R4WM9C2N6B8X3D
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error.INTERNAL_SERVER_ERROR'
              example:
                error:
                  code: internal_error
                  message: An unexpected error occurred.
                  request_id: req_01K5A7S6FQ3V8H2N9C4M
      security:
        - Authorization: []
components:
  schemas:
    error.BAD_REQUEST:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Bad request
        code:
          type: string
          description: The error code
          example: BAD_REQUEST
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Bad request error (400)
      description: The error information
      example:
        code: BAD_REQUEST
        message: Bad request
        issues: []
    error.UNAUTHORIZED:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Unauthorized
        code:
          type: string
          description: The error code
          example: UNAUTHORIZED
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Unauthorized error (401)
      description: The error information
      example:
        code: UNAUTHORIZED
        message: Unauthorized
        issues: []
    error.NOT_FOUND:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Not found
        code:
          type: string
          description: The error code
          example: NOT_FOUND
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Not found error (404)
      description: The error information
      example:
        code: NOT_FOUND
        message: Not found
        issues: []
    error.INTERNAL_SERVER_ERROR:
      type: object
      properties:
        message:
          type: string
          description: The error message
          example: Internal server error
        code:
          type: string
          description: The error code
          example: INTERNAL_SERVER_ERROR
        issues:
          description: An array of issues that were responsible for the error
          example: []
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
            additionalProperties: false
      required:
        - message
        - code
      additionalProperties: false
      title: Internal server error error (500)
      description: The error information
      example:
        code: INTERNAL_SERVER_ERROR
        message: Internal server error
        issues: []
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````

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