Skip to the page

Search the titles, headings and text of every guide and API reference page.

    Chapters

    Patients

    Search patients

    POST/api/v1/patients/search

    Finds patients by the words of their name, their date of birth or a member ID on any of their checks or claims (all that are given must match), inside the list's filters, newest first. A search is sent as a POST so that what you search for travels in the body, never in an address or a log; it needs a key with read and no Idempotency-Key. Two different people with the same name and date of birth share one record. A person with no date of birth, or with a name that has no letters or digits to compare (written in another script), is linked to no record.

    Needs a key with read permission.

    Request

    Body

    Body
    NameTypeRequiredDescription
    namestringoptionalWords of the patient's name, in any order and case; each must be in the family or given name (accents and punctuation ignored).
    date_of_birthstring (date)optionalThe patient's date of birth (YYYY-MM-DD).
    member_idstringoptionalA member ID on any of the patient's checks or claims, in any case.
    office_idstringoptionalOnly the patients last seen at this office (off_...).
    practice_group_idstringoptionalOnly the patients last seen at the offices of this practice group (pgr_...). Not with office_id. Needs practice groups enabled for the organization: otherwise 403 FEATURE_NOT_ENABLED.
    coveragestringoptionalverified: the newest completed check was answered by the payer in the last 30 days; unverified: not that; inactive: that answer says the coverage is inactive.One of: `verified`, `unverified`, `inactive`.
    limitintegeroptionalHow many patients to return, from 1 to 100. Default 25.At least 1.At most 100.
    cursorstringoptionalThe next_cursor of the previous answer, to get the patients after it.

    Response

    A page of the patients found. Status 200.

    Response fields
    NameTypeDescription
    dataarray of object
    data[].idstringAn ID that starts with pat_.
    data[].objectstringAlways `patient`.
    data[].first_namestringAs first seen on a check or claim.
    data[].last_namestringAs first seen on a check or claim.
    data[].date_of_birthstring (date)
    data[].office_idstring or nullOffice, primary insurance and member ID are those of the newest completed check or claim.
    data[].primary_insuranceobject or nullThe payer of the newest completed check or claim.
    data[].primary_insurance.idstringAn ID that starts with pyr_.
    data[].primary_insurance.payer_idstringThe payer's own payer ID.
    data[].primary_insurance.namestring
    data[].member_idvalueThe member ID of the newest completed check or claim.
    data[].coverageobject or nullCoverage as last verified: the result of the newest completed check, in the Eligibility screen's words, with its date. Verified: the payer answered that check in the last 30 days. Inactive: that answer says the coverage is inactive. Null when no check of the patient has completed.
    data[].coverage.check_idstringAn ID that starts with elg_.
    data[].coverage.checked_atstring (date-time)
    data[].coverage.outcomestringOne of: `answered`, `rejected`, `payer_unavailable`, `error`.
    data[].coverage.statusstring or nullOne of: `active`, `inactive`, `unknown`.
    data[].coverage.labelstringThe result in words, as the Eligibility screen says it.
    data[].coverage.verifiedbooleanTrue when the payer answered this check in the last 30 days.
    data[].open_claimsintegerOpen claims: the patient's claims not paid, denied, reconciled or voided (drafts included; predeterminations and void transactions are not claims here).At least -9007199254740991.
    data[].open_chargesobjectOpen charges: the charges of the open claims, plus what the patient owes on the paid, denied and reconciled ones, where the payer's remittance says.
    data[].open_charges.totalstringAn amount in dollars, as a decimal string with two places (such as "113.60").Matches `^-?\d+\.\d{2}$`.
    data[].open_charges.claimsstringThe charges of the open claims.Matches `^-?\d+\.\d{2}$`.
    data[].open_charges.patient_owesstringWhat the patient owes on the paid, denied and reconciled claims, where known.Matches `^-?\d+\.\d{2}$`.
    data[].created_atstring (date-time)When Claim House first saw the patient.
    next_cursorvaluePass as cursor to get the next page; null when there is no next page.

    Errors

    Errors
    HTTP statusCodeWhat it means
    401UNAUTHORIZEDA valid API key is required. Send it as "Authorization: Bearer <key>".
    403PERMISSION_DENIEDThis API key is not allowed to do that.
    403FEATURE_NOT_ENABLEDPractice groups are not enabled for this organization. Ask Claim House to turn them on.
    422INVALID_REQUESTThe request is not valid.
    429TOO_MANY_REQUESTSToo many requests of this kind lately. Wait, then try again.
    413PAYLOAD_TOO_LARGEThe request body is larger than 1 MB.
    504TIMEOUTThe request took too long. Send it again with the same Idempotency-Key and body after Retry-After seconds: a 409 means it is still finishing (wait and send again), and any other answer is final. If this 504 comes back, find what the request made by listing with ?idempotency_key=<the key>.
    500INTERNALSomething went wrong on our side. Quote the request ID if you contact us.

    Example

    Example request

    Shell
    curl -X POST "https://sandbox.myclaimhouse.com/api/v1/patients/search" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY" \
      -H "Content-Type: application/json" \
      -d '{
      "name": "alex example",
      "date_of_birth": "1985-04-12"
    }'

    Example response: 200

    JSON
    {
      "data": [
        {
          "id": "pat_01JM000000E00800000000004K",
          "object": "patient",
          "first_name": "Alex",
          "last_name": "Example",
          "date_of_birth": "1985-04-12",
          "office_id": "off_01JM000000E008000000000003",
          "primary_insurance": {
            "id": "pyr_01JM000000E008000000000004",
            "payer_id": "00000",
            "name": "Example Dental Plan"
          },
          "member_id": "CH-ACTIVE-FULL",
          "coverage": {
            "check_id": "elg_01JM000000E00800000000000G",
            "checked_at": "2026-09-24T20:55:00.430000+00:00",
            "outcome": "answered",
            "status": "active",
            "label": "Active",
            "verified": true
          },
          "open_claims": 0,
          "open_charges": {
            "total": "205.20",
            "claims": "0.00",
            "patient_owes": "205.20"
          },
          "created_at": "2026-03-10T15:30:00.430000+00:00"
        }
      ],
      "next_cursor": null
    }

    A body with nothing to look for: 422

    JSON
    {
      "error": "INVALID_REQUEST",
      "message": "The request is not valid.",
      "errors": [
        {
          "field": "name",
          "code": "required",
          "message": "Give a name, a date of birth or a member ID to search for."
        }
      ],
      "request_id": "req_01JM000000E008000000000010"
    }