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

# Find patients

> Find patients or pets within a practice. At least one identifying search field is required.



## OpenAPI

````yaml /openapi/peerlogic-api.json get /api/care/patients/
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/patients/:
    get:
      tags:
        - Contacts and patients
      summary: Find patients
      description: >-
        Find patients or pets within a practice. At least one identifying search
        field is required.
      operationId: care_patients_list
      parameters:
        - name: practice_id
          in: query
          description: Practice ID.
          required: true
          schema:
            type: string
        - name: phone_number
          in: query
          description: Client or patient phone number in E.164 format.
          required: false
          schema:
            type: string
          example: '+15105550123'
        - name: name
          in: query
          description: Patient name.
          required: false
          schema:
            type: string
        - name: date_of_birth
          in: query
          description: Patient date of birth.
          required: false
          schema:
            type: string
            format: date
        - name: email
          in: query
          description: Client or patient email address.
          required: false
          schema:
            type: string
            format: email
        - name: is_active
          in: query
          description: Whether the patient is active.
          required: false
          schema:
            type: boolean
            default: true
        - name: species
          in: query
          description: Species name.
          required: false
          schema:
            type: string
        - name: breed
          in: query
          description: Breed name.
          required: false
          schema:
            type: string
        - name: sex
          in: query
          description: Patient sex.
          required: false
          schema:
            type: string
        - name: color
          in: query
          description: Patient color.
          required: false
          schema:
            type: string
        - name: entity_type
          in: query
          description: Patient record type.
          required: false
          schema:
            type: string
        - name: sort
          in: query
          description: Result ordering.
          required: false
          schema:
            type: string
            enum:
              - best_match
              - name
              - '-name'
            default: best_match
        - name: page
          in: query
          description: Page number.
          required: false
          schema:
            type: integer
            minimum: 1
        - name: page_size
          in: query
          description: Number of records to return per page.
          required: false
          schema:
            type: integer
            minimum: 1
      responses:
        '200':
          description: Paginated matching patients.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPatients'
        '400':
          description: The request parameters or body are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              example:
                practice_id:
                  - This field is required.
        '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.
        '422':
          description: >-
            The connected practice-management system could not fulfill the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpstreamIntegrationError'
              example:
                error: >-
                  The connected practice-management system could not fulfill the
                  request.
      security:
        - bearerAuth: []
components:
  schemas:
    PaginatedPatients:
      type: object
      required:
        - count
        - results
      properties:
        count:
          type: integer
          description: Total number of matching records.
        next:
          type:
            - string
            - 'null'
          format: uri
          description: URL for the next page, when available.
        previous:
          type:
            - string
            - 'null'
          format: uri
          description: URL for the previous page, when available.
        results:
          type: array
          items:
            $ref: '#/components/schemas/PatientSummary'
    ValidationError:
      title: Validation error
      type: object
      additionalProperties: true
      description: Validation details keyed by the invalid field or grouped under `errors`.
    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.
    UpstreamIntegrationError:
      title: Upstream integration error
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
          description: Why the connected system could not complete the request.
        code:
          type: string
          description: Stable machine-readable error code, when one is available.
    PatientSummary:
      type: object
      properties:
        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
        date_of_birth:
          title: Date of birth
          type:
            - string
            - 'null'
          format: date
          readOnly: true
        email:
          title: Email
          type:
            - string
            - 'null'
          format: email
          readOnly: true
          minLength: 1
        id:
          title: Id
          type: string
          readOnly: true
          minLength: 1
        is_active:
          title: Is active
          type: boolean
          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
        phone_fax:
          title: Phone fax
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        phone_home:
          title: Phone home
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        phone_mobile:
          title: Phone mobile
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        phone_number:
          title: Phone number
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        phone_work:
          title: Phone work
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        placeholder:
          title: Placeholder
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        pms_created_at:
          title: Pms created at
          type:
            - string
            - 'null'
          format: date-time
          readOnly: true
        zip_code:
          title: Zip code
          type:
            - string
            - 'null'
          readOnly: true
          minLength: 1
        patient_attribute:
          type: array
          items:
            type: object
            properties:
              id:
                title: Id
                type: string
                readOnly: true
                minLength: 1
              type:
                title: Type
                type: string
                readOnly: true
                minLength: 1
              value:
                title: Value
                type: string
                readOnly: true
                minLength: 1
          readOnly: true
        owners:
          title: Owners
          description: List of active patient owners
          type: string
          readOnly: true
        has_appointments:
          type: boolean
          readOnly: true
        has_dependents:
          type: boolean
          readOnly: true
        has_guarantor:
          type: boolean
          readOnly: true
  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)
- [Release notes](/release-notes.md)
- [Peerlogic Help Center](/help-center.md)
- [Workspace](/workspace.md)
- [Peerlogic Voice](/peerlogic-voice.md)


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