Skip to the page

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

    Chapters

    Offices

    List offices

    GET/api/v1/offices

    The offices of the key's organization, in the key's mode (test or live), by name, 50 a page by default. An office ID is needed to run an eligibility check. Search with q (name, city, NPI or client reference) and filter by attachment network registration, practice group (none for the standalone offices) and your own client_reference.

    Needs a key with read permission.

    Request

    Query parameters

    Query parameters
    NameTypeRequiredDescription
    limitintegeroptionalHow many items to return, from 1 to 100. Default 50.At least 1.At most 100.
    cursorstringoptionalThe next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged.
    qstringoptionalWords of the office's name, city, NPI or client reference, in any case: every word must be found. Use up to 100 characters, with no control characters.At most 100 characters.
    registrationstringoptionalOnly the offices in this attachment network registration state.One of: `not_registered`, `pending`, `registered`, `failed`.
    practice_group_idstringoptionalOnly the offices in this practice group (pgr_...); none for the standalone offices, in no group. Not with office_id. Needs practice groups enabled for the organization: otherwise 403 FEATURE_NOT_ENABLED.Matches `^(none|pgr_[0-9A-HJKMNP-TV-Z]{26})$`.
    client_referencestringoptionalOnly the offices with exactly this client reference.At most 120 characters.
    idempotency_keystringoptionalOnly the office made with this Idempotency-Key (what a request that timed out made).

    Response

    The offices. Status 200.

    Response fields
    NameTypeDescription
    dataarray of object
    data[].idstringAn ID that starts with off_.
    data[].objectstringAlways `office`.
    data[].namestring
    data[].address_line1string
    data[].address_line2value
    data[].citystring
    data[].statestring
    data[].postal_codestring
    data[].phonestring
    data[].npistring
    data[].tax_id_last4stringThe last 4 digits of the tax ID. The full tax ID is never returned.
    data[].specialtystring
    data[].time_zonestringThe office's time zone (an IANA name): the main zone of its state unless one was chosen.
    data[].pay_to_addressobject or nullWhere payers send payment when that is not the billing address (a PO box may be one); null when the office has none. Claims carry it when it differs from the billing address.
    data[].pay_to_address.line1string
    data[].pay_to_address.line2value
    data[].pay_to_address.citystring
    data[].pay_to_address.statestring
    data[].pay_to_address.postal_codestring
    data[].default_service_locationobject or nullWhere treatment happens for the office's claims that name no service_location; null when the office has none. Claims carry it when it differs from the billing address.
    data[].default_service_location.namestring
    data[].default_service_location.npivalue
    data[].default_service_location.addressobject
    data[].default_service_location.address.line1string
    data[].default_service_location.address.line2value
    data[].default_service_location.address.citystring
    data[].default_service_location.address.statestring
    data[].default_service_location.address.postal_codestring
    data[].payer_provider_idsarray of objectThe office's IDs assigned by payers (a Medicaid provider ID, say), at most one per payer. A claim to that payer sends it as REF*G2 (the billing provider, 2010BB) unless the claim sends its own (payer_provider_ids). On a change, the list replaces the one on file: an empty list removes them all.
    data[].payer_provider_ids[].payer_idstringAn ID that starts with pyr_.
    data[].payer_provider_ids[].identifierstring
    data[].contact_namevalueWho the attachment network contacts about this office; null when not given.
    data[].contact_emailvalue
    data[].contact_faxvalue
    data[].doctor_first_namevalueThe office's primary doctor, for registering with the attachment network.
    data[].doctor_last_namevalue
    data[].attachment_networkobjectThe office's registration with the attachment network, which it needs before its first attachment is sent. Each change sends office.attachment_registration.updated.
    data[].attachment_network.statestringnot_registered until the office is registered (POST /offices/{id}/register_attachments, or closing its first attachment). pending: the network has the request, or could not be reached and Claim House tries again on its own (for up to a day). registered: it has its facility ID. failed: see failure.One of: `not_registered`, `pending`, `registered`, `failed`.
    data[].attachment_network.detailsstring or nullFor a registered office, whether the network has its current details after an edit of a registered field: in_sync; updating (being told, tried again); update_failed; needs_manual_update (the network takes no update: Claim House staff tell it). Null unless registered. Attachments are never blocked by it.One of: `in_sync`, `updating`, `update_failed`, `needs_manual_update`.
    data[].attachment_network.facility_idvalueThe facility ID the attachment network gave the office.
    data[].attachment_network.registered_atstring (date-time) or null
    data[].attachment_network.failureobject or nullWhy the registration failed; null unless state is failed. Fix what it says, then register the office again.
    data[].attachment_network.failure.codestringinvalid_fields: the network named office fields to fix (fields). duplicate_facility: the network has this office already. refused: any other refusal, in the network's words. network_unavailable: the network could not be reached for a day of tries.One of: `invalid_fields`, `duplicate_facility`, `refused`, `network_unavailable`.
    data[].attachment_network.failure.messagestringWhy, in words.
    data[].attachment_network.failure.fieldsarray of stringThe office fields to fix (their names in this API), when the network named them; else empty.
    data[].attachment_network.updated_atstring (date-time) or nullWhen the state, the details or the failure last changed; null while never registered.
    data[].originstringWhere the office came from: the dashboard, the API, or a file dropped over SFTP.One of: `dashboard`, `api`, `sftp`.
    data[].practice_group_idstring or nullThe practice group the office is in; null for a standalone office (and always null while practice groups are not enabled).
    data[].client_referencevalueYour own ID for the office; null when none was given.
    data[].modestringOne of: `test`, `live`.
    data[].created_atstring (date-time)
    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.
    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 "https://sandbox.myclaimhouse.com/api/v1/offices" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY"

    Example response: 200

    JSON
    {
      "data": [
        {
          "id": "off_01JM000000E008000000000003",
          "object": "office",
          "name": "Example Family Dental",
          "address_line1": "100 Example Street",
          "address_line2": null,
          "city": "Exampleville",
          "state": "GA",
          "postal_code": "30000",
          "phone": "4045550100",
          "npi": "1999999000",
          "tax_id_last4": "0000",
          "specialty": "general",
          "time_zone": "America/New_York",
          "pay_to_address": null,
          "default_service_location": null,
          "payer_provider_ids": [],
          "contact_name": "Pat Example",
          "contact_email": null,
          "contact_fax": null,
          "doctor_first_name": "Riley",
          "doctor_last_name": "Example",
          "attachment_network": {
            "state": "not_registered",
            "details": null,
            "facility_id": null,
            "registered_at": null,
            "failure": null,
            "updated_at": null
          },
          "origin": "api",
          "practice_group_id": null,
          "client_reference": null,
          "mode": "test",
          "created_at": "2026-01-15T14:00:00+00:00"
        }
      ],
      "next_cursor": null
    }