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
| Name | Type | Required | Description |
|---|---|---|---|
| limit | integer | optional | How many items to return, from 1 to 100. Default 25.At least 1.At most 100. |
| cursor | string | optional | The next_cursor of the previous page, to get the page after it. Opaque: pass it back unchanged. |
| month | string | optional | A 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_id | string | optional | Only 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.
| Name | Type | Description |
|---|---|---|
| data | array of object | |
| data[].office_id | string or null | The office; null for the row of the records with no office (an ERA held without a payee office). |
| data[].office_name | value | The 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_reference | value | The 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_id | string or null | The 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_name | value | The practice group's name at the same moment; null when practice_group_id is. |
| data[].products | array of object | Every product, in the same order as GET /usage, with its counts for the office (0 when none). |
| data[].products[].product | string | One of: `eligibility`, `claims`, `attachments`, `eras`. |
| data[].products[].billable | integer | Billable transactions.At least -9007199254740991. |
| data[].products[].not_billed | integer | Transactions not billed.At least -9007199254740991. |
| next_cursor | value | Pass as cursor to get the next page; null when there is no next page. |
Errors
| HTTP status | Code | What it means |
|---|---|---|
| 401 | UNAUTHORIZED | A valid API key is required. Send it as "Authorization: Bearer <key>". |
| 403 | PERMISSION_DENIED | This API key is not allowed to do that. |
| 403 | FEATURE_NOT_ENABLED | Practice groups are not enabled for this organization. Ask Claim House to turn them on. |
| 422 | INVALID_REQUEST | The request is not valid. |
| 429 | TOO_MANY_REQUESTS | Too many requests of this kind lately. Wait, then try again. |
| 504 | TIMEOUT | The 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>. |
| 500 | INTERNAL | Something went wrong on our side. Quote the request ID if you contact us. |
Example
Example request
curl "https://app.myclaimhouse.com/api/v1/usage/offices?month=2026-09" \
-H "Authorization: Bearer $CLAIMHOUSE_KEY"Example response: 200
{
"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
}