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

# Get contact

> Returns a contact, linked patient references, and the next appointment when available.



## OpenAPI

````yaml /openapi/peerlogic-api.json get /api/care/contacts/{id}/
openapi: 3.1.0
info:
  title: Peerlogic API
  version: 1.0.0
  description: >-
    Customer-facing API reference for accessing Peerlogic calls, insights,
    conversations, tasks, opportunities, subscriptions, and events.
servers:
  - url: https://api.prod.peerlogic.com
    description: Production
security: []
tags:
  - name: Authentication
    description: Obtain an access token for authenticated API requests.
  - name: Call insights
    description: Call records and aggregate performance insights.
  - name: Transcripts
    description: Transcripts, summaries, sentiment, pauses, and call-purpose details.
  - name: Aimee
    description: Aimee activity, configuration, and performance insights.
  - name: Conversations
    description: Conversation records, messages, and conversation actions.
  - name: Tasks
    description: Customer tasks and task workflow actions.
  - name: Opportunities
    description: Opportunities and follow-up reporting.
  - name: Subscriptions and events
    description: >-
      Create and manage event subscriptions, then inspect event records and
      analytics. For the complete webhook delivery flow, see the Webhooks and
      subscriptions guide.
  - name: Organizations and practices
    description: >-
      Discover the organizations and practices available to the authenticated
      account.
  - name: Contacts and patients
    description: Find contacts and patients for caller recognition and related workflows.
  - name: Appointments
    description: Retrieve appointment history and upcoming appointments for a patient.
  - name: Messaging
    description: Send practice messages, including missed-call recovery outreach.
  - name: Call recordings
    description: Retrieve recording metadata and secure audio URLs for calls.
paths:
  /api/care/contacts/{id}/:
    parameters:
      - name: id
        in: path
        description: Resource ID.
        required: true
        schema:
          type: string
    get:
      tags:
        - Contacts and patients
      summary: Get contact
      description: >-
        Returns a contact, linked patient references, and the next appointment
        when available.
      operationId: care_contacts_retrieve
      parameters:
        - name: id
          in: path
          description: Contact ID.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Contact details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PracticeContact'
        '401':
          description: Authentication is required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationError'
              example:
                detail: '''Authorization'' header is required'
        '403':
          description: >-
            The authenticated user does not have access to the requested
            practice or resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionError'
              example:
                message: No permissions assigned to permit access to this endpoint.
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
              example:
                detail: The requested resource was not found.
      security:
        - bearerAuth: []
components:
  schemas:
    PracticeContact:
      type: object
      properties:
        id:
          title: Id
          type: string
          readOnly: true
          minLength: 1
        created_at:
          title: Created at
          type: string
          format: date-time
          readOnly: true
        name:
          title: Name
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        name_first:
          title: Name first
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        name_last:
          title: Name last
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        name_middle:
          title: Name middle
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        name_preferred:
          title: Name preferred
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        organization:
          title: Organization
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        title:
          title: Title
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        email:
          title: Email
          type:
            - string
            - 'null'
          format: email
          readOnly: true
          minLength: 1
        phone_numbers:
          type: array
          items:
            type: object
            properties:
              id:
                title: Id
                type: string
                readOnly: true
                minLength: 1
              phone_number:
                title: Phone number
                type: string
                readOnly: true
                minLength: 1
              source_type:
                title: Source type
                type: string
                enum:
                  - call
                  - message
                  - patient
                  - fax
                  - import
                readOnly: true
              sip_caller_name:
                title: Sip caller name
                type:
                  - string
                  - 'null'
                readOnly: true
                minLength: 1
              is_primary_contact:
                title: Is primary contact
                type: boolean
                readOnly: true
              phone_number_type:
                title: Phone number type
                type: string
                enum:
                  - home
                  - work
                  - mobile
                  - fax
                  - other
                readOnly: true
          readOnly: true
        address_line_1:
          title: Address line 1
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        address_line_2:
          title: Address line 2
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        address_city:
          title: Address city
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        address_state:
          title: Address state
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        zip_code:
          title: Zip code
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        date_of_birth:
          title: Date of birth
          type:
            - string
            - 'null'
          format: date
          readOnly: true
        gender:
          title: Gender
          type:
            - string
            - 'null'
          enum:
            - male
            - female
          readOnly: true
        manually_edited_fields:
          title: Manually edited fields
          description: >-
            List of field names manually edited by a user. These fields are
            protected from automatic overwrites during patient sync and contact
            import.
          type: string
          readOnly: true
        is_editable:
          title: Is editable
          type: string
          readOnly: true
        is_deletable:
          title: Is deletable
          type: string
          readOnly: true
        has_patient_link:
          title: Has patient link
          type: boolean
          readOnly: true
        next_appointment_at:
          title: Next appointment at
          type: string
          readOnly: true
        next_appointment:
          title: Next appointment
          type: string
          readOnly: true
    AuthenticationError:
      title: Authentication error
      type: object
      additionalProperties: true
      required:
        - detail
      properties:
        detail:
          type: string
          description: Why authentication failed.
    PermissionError:
      title: Permission error
      type: object
      additionalProperties: false
      required:
        - message
      properties:
        message:
          type: string
          description: Why access was denied.
    NotFoundError:
      title: Not found error
      type: object
      additionalProperties: false
      required:
        - detail
      properties:
        detail:
          type: string
          description: Why the requested resource could not be returned.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer access token issued by Peerlogic.

````

## Related topics

- [Find contacts](/peerlogic-api-reference/contacts-and-patients/find-contacts.md)
- [Get task](/peerlogic-api-reference/tasks/get-task.md)
- [Get organization](/peerlogic-api-reference/organizations-and-practices/get-organization.md)
- [Get task performance overview](/peerlogic-api-reference/tasks/get-task-performance-overview.md)
- [Peerlogic Help Center](/help-center.md)


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