> ## 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.

# Contact Profile

> Retrieves a contact's associated campaign and quick campaign results based on their contact number.



## OpenAPI

````yaml GET /v2/contact-profile/
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/contact-profile/:
    get:
      summary: Fetch contact profile by phone number
      description: >-
        Retrieves a contact's associated campaign and quick campaign results
        based on their contact number.
      parameters:
        - name: contact_number
          in: query
          required: true
          description: Contact number in E.164 format (e.g., +919779673180)
          schema:
            type: string
        - name: Company-Name
          in: header
          required: true
          description: Schema name for multi-tenancy
          schema:
            type: string
      responses:
        '200':
          description: Successfully fetched contact profile results
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactProfileResponse'
        '400':
          description: Invalid contact number or missing header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ContactProfileResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        campaign_results:
          type: array
          description: List of campaign results associated with this contact
          items:
            type: object
          example: []
        quick_campaign_results:
          type: array
          description: List of quick campaign results associated with this contact
          items:
            type: object
          example: []
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````