Skip to the page

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

    Chapters

    Usage and statements

    List a month of usage by office

    GET/api/v1/usage/offices

    The usage of a billing month by office, in the key's mode. One row for each office with usage (by office name), then one with office_id null for the records with no office (an ERA held without a payee office), each with every product's billable and not billed counts. Counts only: a per-office amount would be an allocation of the month's tiered prices and minimum, so none is given. A month still open is counted from the usage records as of now, with each office's name and practice group as they are now; a month that has been closed is read from its statement, as the offices were when it closed. Filter by practice_group_id. Months are calendar months in America/Denver for every partner. The default is the current month. A test key sees test activity only: it is never priced, and a test key sees no statements.

    Needs a key with read permission.

    Request

    Query parameters

    Query parameters
    NameTypeRequiredDescription
    limitintegeroptionalHow many items to return, from 1 to 100. Default 25.At least 1.At most 100.
    cursorstringoptionalThe next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged.
    monthstringoptionalA billing month, YYYY-MM, not after the current one. Default: the current billing month.Matches `^[1-9][0-9]{3}-(0[1-9]|1[0-2])$`.
    practice_group_idstringoptionalOnly the offices in this practice group (pgr_...): in an open month the group each office is in now; in a closed month the group it was in when the month closed. Not with office_id. Needs practice groups enabled for the organization: otherwise 403 FEATURE_NOT_ENABLED.

    Response

    A page of offices with their usage. Status 200.

    Response fields
    NameTypeDescription
    dataarray of object
    data[].office_idstring or nullThe office; null for the row of the records with no office (an ERA held without a payee office).
    data[].office_namevalueThe office's name: now in an open month, as it was at the close in a closed one. null for the row with no office.
    data[].client_referencevalueThe office's client_reference, at the same moment as its name; null when it has none, and for the row with no office.
    data[].practice_group_idstring or nullThe practice group the office is in (now in an open month, at the close in a closed one); null for a standalone office.
    data[].practice_group_namevalueThe practice group's name at the same moment; null when practice_group_id is.
    data[].productsarray of objectEvery product, in the same order as GET /usage, with its counts for the office (0 when none).
    data[].products[].productstringOne of: `eligibility`, `claims`, `attachments`, `eras`.
    data[].products[].billableintegerBillable transactions.At least -9007199254740991.
    data[].products[].not_billedintegerTransactions not billed.At least -9007199254740991.
    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://app.myclaimhouse.com/api/v1/usage/offices?month=2026-09" \
      -H "Authorization: Bearer $CLAIMHOUSE_KEY"

    Example response: 200

    JSON
    {
      "data": [
        {
          "office_id": "off_01JM000000E008000000000003",
          "office_name": "Example Family Dental",
          "client_reference": "PMS-1001",
          "practice_group_id": "pgr_01JM000000E008000000000090",
          "practice_group_name": "Example North Region",
          "products": [
            {
              "product": "eligibility",
              "billable": 2600,
              "not_billed": 80
            },
            {
              "product": "claims",
              "billable": 820,
              "not_billed": 0
            },
            {
              "product": "attachments",
              "billable": 270,
              "not_billed": 0
            },
            {
              "product": "eras",
              "billable": 610,
              "not_billed": 2
            }
          ]
        },
        {
          "office_id": "off_01JM000000E00800000000004G",
          "office_name": "Example Lakeside Dental",
          "client_reference": null,
          "practice_group_id": null,
          "practice_group_name": null,
          "products": [
            {
              "product": "eligibility",
              "billable": 1400,
              "not_billed": 38
            },
            {
              "product": "claims",
              "billable": 420,
              "not_billed": 0
            },
            {
              "product": "attachments",
              "billable": 140,
              "not_billed": 0
            },
            {
              "product": "eras",
              "billable": 287,
              "not_billed": 1
            }
          ]
        },
        {
          "office_id": null,
          "office_name": null,
          "client_reference": null,
          "practice_group_id": null,
          "practice_group_name": null,
          "products": [
            {
              "product": "eligibility",
              "billable": 0,
              "not_billed": 0
            },
            {
              "product": "claims",
              "billable": 0,
              "not_billed": 0
            },
            {
              "product": "attachments",
              "billable": 0,
              "not_billed": 0
            },
            {
              "product": "eras",
              "billable": 3,
              "not_billed": 0
            }
          ]
        }
      ],
      "next_cursor": null
    }