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

# Start connecting a user



## OpenAPI

````yaml /partner-openapi.gen.json post /partner/connections
openapi: 3.1.0
info:
  title: Circuit partner API
  version: '0.1'
servers:
  - url: https://api.circuit.org
security: []
paths:
  /partner/connections:
    post:
      summary: Start connecting a user
      operationId: connect
      parameters:
        - name: circuit-partner-version
          in: header
          required: true
          example: '0.1'
          schema:
            type: string
            const: '0.1'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                app:
                  type: string
                recipientPublicKey:
                  description: >-
                    Your X25519 public key, 64 hex characters; the permit is
                    sealed to it.
                  type: string
              additionalProperties: false
              required:
                - app
                - recipientPublicKey
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    description: Starts with `conn_`.
                    type: string
                  url:
                    description: >-
                      Open this in a real browser for the user to pick wallets
                      and approve.
                    type: string
                  expiresAt:
                    $ref: '#/components/schemas/Timestamp'
                required:
                  - id
                  - url
                  - expiresAt
        default:
          description: Failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerFailure'
      security: []
components:
  schemas:
    Timestamp:
      type: string
      format: date-time
    PartnerFailure:
      description: 'A failed call: act on its HTTP status and show `error` to the user.'
      type: object
      properties:
        error:
          type: string
      required:
        - error

````

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