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

# Web Call

> Handles the OAuth callback from Snowie by consuming the returned `code` only.



## OpenAPI

````yaml POST /v2/snowie/callback/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /v2/snowie/callback/:
    post:
      summary: Snowie OAuth Callback
      description: >-
        Handles the OAuth callback from Snowie by consuming the returned `code`
        only.
      parameters:
        - name: Company-Name
          in: header
          required: true
          description: Schema name for multi-tenancy
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SnowieCallbackRequest'
      responses:
        '200':
          description: Snowie connection successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnowieCallbackResponse'
components:
  schemas:
    SnowieCallbackRequest:
      type: object
      properties:
        code:
          type: string
          description: Authorization code returned from Snowie
          example: abc123
      required:
        - code
    SnowieCallbackResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
          example: User successfully connected to Snowie
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````