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

# Fetch Contact



## OpenAPI

````yaml GET /contacts/{CONTACT_ID}
openapi: 3.0.1
info:
  title: Alpharun API
  description: Alpharun REST API reference
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.alpharun.com/api/v1
security:
  - bearerAuth: []
paths:
  /contacts/{CONTACT_ID}:
    get:
      parameters:
        - name: CONTACT_ID
          in: path
          required: true
          schema:
            type: string
          description: >-
            The contact identifier, which can be either its UUID or its
            user-defined `ext_id`. When using the `ext_id`, the format should be
            `alt:ext_id:<ext_id>`.
      responses:
        '200':
          description: Contact fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactResponse'
        '404':
          description: Contact not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ContactResponse:
      type: object
      properties:
        id:
          type: string
          description: ID of the contact
        email:
          type: string
          format: email
          description: Email address of the contact
        phone_number:
          type: string
          description: Phone number of the contact
        ext_id:
          type: string
          description: Ext id of the contact
        first_name:
          type: string
          description: First name of the contact
        last_name:
          type: string
          description: Last name of the contact
        custom_fields:
          type: array
          description: Custom fields of the contact
          items:
            type: object
            properties:
              key:
                type: string
                description: Machine-readable key of the custom field
              value:
                oneOf:
                  - type: string
                  - type: number
                  - type: boolean
                description: Value of the custom field
              type:
                type: string
                description: Type of the custom field
              display_name:
                type: string
                description: Display name of the custom field
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````