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

# Get Contact

> Retrieves details of a specific contact by its unique identifier.



## OpenAPI

````yaml GET /public/v2/contacts/{contact_id}
openapi: 3.0.3
info:
  title: RevyOps API
  version: 1.0.0
servers: []
security: []
paths:
  /public/v2/contacts/{contact_id}:
    get:
      tags:
        - public
      description: Retrieves details of a specific contact by its unique identifier.
      operationId: Get contact (v2)
      parameters:
        - in: path
          name: contact_id
          schema:
            type: integer
          required: true
        - in: query
          name: structure
          schema:
            type: string
            enum:
              - FLAT
              - NESTED
            default: NESTED
          description: >-
            Format of custom fields in response. NESTED returns array of objects
            with id, field_name, field_value. FLAT returns object with field
            names as keys.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactV2'
          description: OK. The contact was successfully retrieved.
        '401':
          description: >-
            Unauthorized. The contact does not belong to the authenticated
            client's API key.
        '403':
          description: Forbidden. Missing authentication credentials or invalid API key.
        '404':
          description: No contact with the specified ID exists.
        '500':
          description: Internal Server Error. An unexpected error occurred on the server.
components:
  schemas:
    ContactV2:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        updated_time:
          type: string
          format: date-time
          readOnly: true
        email:
          type: string
          nullable: true
        linkedin_url:
          type: string
          nullable: true
        first_name:
          type: string
        last_name:
          type: string
        company_id:
          type: integer
          nullable: true
        contact_custom_fields:
          type: string
          readOnly: true
        contact_custom_fields_input:
          type: array
          items:
            $ref: '#/components/schemas/ContactCustomFields'
          writeOnly: true
        origin:
          type: string
        first_campaign_email_sent:
          type: string
          format: date-time
          readOnly: true
        last_campaign_email_sent:
          type: string
          format: date-time
          readOnly: true
        last_reply_received:
          type: string
          format: date-time
          readOnly: true
        contact_status:
          type: string
        previous_status:
          type: string
          readOnly: true
          nullable: true
        status_changed_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
      required:
        - contact_custom_fields
        - first_campaign_email_sent
        - id
        - last_campaign_email_sent
        - last_reply_received
        - previous_status
        - status_changed_at
        - updated_time
    ContactCustomFields:
      type: object
      properties:
        id:
          type: integer
          readOnly: true
        updated_time:
          type: string
          format: date-time
          readOnly: true
        field_name:
          type: string
        field_value:
          type: string
          maxLength: 2500
      required:
        - field_name
        - field_value
        - id
        - updated_time

````