GET /api/v1/agency
The agency profile
The agency's name, address, NPI, Tax ID and claim defaults.
-
200 The profile
object
- data AgencyProfile, required
- default An error, in the shared envelope. Error
Read and write an agency's billing records. Authenticate with an agency API key as a bearer token. Every POST made with an API key needs an Idempotency-Key header, except one that only reads (validating a claims file); each operation that needs it lists it. Rate limits, per API key unless stated: 600 requests a minute; 1200 a minute across all of one agency's keys and AI app connections; 300 writes a minute and 20000 a day, and 50000 writes a day across all of one agency's keys and AI app connections; 30 claims-file upload attempts and 120 claims-file checks an hour; and 10 requests in progress at once on each server, of which 2 may be sending a body over 1 MB. Past a limit the answer is 429 rate_limited with a Retry-After header in seconds.
Version 1 · Base URL https://www.homecarebilling.com
· openapi.json
· changelog
The agency profile
The agency's name, address, NPI, Tax ID and claim defaults.
Change the agency profile
Sets only the fields sent. Needs agency_settings.manage (403 forbidden otherwise). An NPI or Tax ID in the wrong form or held by another agency, a blank name, a week start day other than saturday, sunday or monday, or a default_procedure_codes key other than personal_care and homemaker or a value that is no procedure code ("U2") answers 422 validation_failed naming the field. open_shifts sets the open shifts rules, only the keys sent, in the same transaction as the profile; a refused rule answers 422 naming open_shifts.<field> and saves no part of the body.
Request body (required) application/json AgencyProfileUpdate
The fields to change
List the agency's API keys
Live keys first, then newest first; never a secret. Needs Agency settings → View (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Create an API key
Settings → API keys creates one and shows its secret once. The role is mapped onto the agency's Owner and Staff roles; one the agency deleted answers 422 role_unavailable. An API key or AI connection gets 403 web_only: someone holding Agency settings → Manage does this signed in to the web app, in Settings.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The key
Revoke an API key
Settings → API keys revokes one; it stops working on its next request. An API key or AI connection gets 403 web_only: someone holding Agency settings → Manage does this signed in to the web app, in Settings.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List AI app connections
Live connections, newest first, as /connected-apps lists them: the agency's for a credential whose member holds agency_settings.manage, else the member's own.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Revoke an AI app connection
Signs the app out at once, as /connected-apps does. A member revokes their own; a member holding agency_settings.manage any of the agency's. Any other id answers 404; one already revoked 422 already_revoked.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Turn an AI app connection's short tool list on or off
US-123.73: on, the app is shown today's work and people, and finds and runs every other tool through find_tools and run_tool; off, it is shown every tool. As the Short tool list switch on /connected-apps, it takes effect on the app's next request. A member changes their own; a member holding agency_settings.manage any of the agency's. Any other id answers 404; a revoked connection 422 already_revoked.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The setting
List what an AI app connection did
The connection's calls of the last 90 days, newest first, as the Calls panel on /connected-apps shows them: when, which tool, how it ended and the link to the record a call answered; never what the app sent or what it was answered. A member reads their own connection's calls; a member holding agency_settings.manage any of the agency's. Any other id, and a revoked connection, answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 10, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| before | query | no | The id of the oldest call already read: answers only the calls after it, so calls recorded while paging are neither repeated nor skipped; total then counts the calls after it. Use it in place of offset. |
List pending invitations
Invitations not yet accepted, revoked or expired, newest first. Needs Team → View (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Invite someone to the agency
Emails an invitation link, valid seven days, as the Team screen's Invite does; the credential's user is named as who invited. An address already a member answers 422 already_member, one with a pending invitation 422 pending_invitation. The role is mapped onto the agency's Owner and Staff roles; one the agency deleted answers 422 role_unavailable, and the invitation's role is the one read back after the write. Unless the platform lets API keys and AI apps do it, an API key or AI connection gets 403 web_only: someone holding Team → Manage does this signed in to the web app, in Settings → Team. Needs Team → Manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
Who and as what
Revoke a pending invitation
The link stops working, as the Team screen's Revoke does. One no longer pending answers 422 not_pending. Needs Team → Manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List the agency's members
Every member, by email, as the Settings Team screen lists them. Needs Team → View (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Deactivate a member
Deactivates the member and revokes every API key, AI connection and webhook endpoint they hold here, as the Team screen does. Your own membership answers 422 cannot_deactivate_self; the last active admin of an agency with other members 422 last_admin; another change to the agency's members in progress 409 busy. Needs Team → Manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Rename a member or change their role
Sets the name, the role or both, as the Team screen does, in one transaction. A blank name clears it. Your own role answers 422 cannot_change_own_role; demoting the last active admin of an agency with other members 422 last_admin; another change to the agency's members in progress 409 busy. The role is mapped onto the agency's Owner and Staff roles (admin to Owner, billing_staff to Staff); one the agency deleted answers 422 role_unavailable. The current role is a no-op, and the member's other roles are kept, so a demotion their custom roles would undo answers 422 role_held_by_custom_role and changes nothing; the member's role in the answer is the one read back after the write. A rename, and a role the member already has, are open to an API key; a role change is not: Unless the platform lets API keys and AI apps do it, an API key or AI connection gets 403 web_only: someone holding Team → Manage does this signed in to the web app, in Settings → Team. Needs Team → Manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Reactivate a member
Lets a deactivated member sign in again, as the Team screen does. Their revoked keys and connections stay revoked. Needs Team → Manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Send a delivery again
The same event, a fresh attempt series, as the delivery log's Resend does. One still being sent answers 409 in_flight. Needs Agency settings → Manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List the agency's webhook endpoints
Newest first; never a signing secret. Needs Agency settings → View (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Register a webhook endpoint
Settings → Webhooks registers one and shows its signing secret once. An API key or AI connection gets 403 web_only: someone holding Agency settings → Manage does this signed in to the web app, in Settings.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The endpoint
Remove a webhook endpoint
Settings → Webhooks removes one and its delivery log. An API key or AI connection gets 403 web_only: someone holding Agency settings → Manage does this signed in to the web app, in Settings.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a webhook endpoint
Settings → Webhooks changes its events or pauses it. An API key or AI connection gets 403 web_only: someone holding Agency settings → Manage does this signed in to the web app, in Settings.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
List an endpoint's deliveries
Newest first, as the delivery log shows them, without payloads. An endpoint of another agency answers 404. Needs Agency settings → View (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the activity log
As Admin > Activity Logs: what was created, changed, deleted, submitted or exported, by whom and through which API key or AI app, newest first. Page views and API requests are left out unless action or resource_type asks for them; pay values are hidden from a member who may not see pay. Paged, with the count.
| Parameter | In | Required | Description |
|---|---|---|---|
| action | query | no | One action only. |
| resource_type | query | no | One kind of record only. |
| from_date | query | no | From this day, YYYY-MM-DD. |
| to_date | query | no | Through this day, YYYY-MM-DD. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the calendar references
As Admin > Calendar References: the months imported from the agency's Access database, newest year first. Paged, with the count.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the login history
As Admin > Login History: the agency's members' sign-ins, failed sign-ins, sign-outs, expired sessions and rate limits, newest first. An agency without the audit trail feature reads the last 7 days only, and preview is true. Paged, with the count.
| Parameter | In | Required | Description |
|---|---|---|---|
| event_type | query | no | One kind of event only. |
| query | no | One email address only. | |
| from_date | query | no | From this day, YYYY-MM-DD. |
| to_date | query | no | Through this day, YYYY-MM-DD. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the temp date ranges
As Admin > Temp Date Ranges: the ranges imported from the agency's Access TempDates table, latest start first. Paged, with the count.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Revoke a consent
As the tab's revoke does. Revoking external_ai_clients disconnects every AI client; revoking api_access revokes every agency API key, this one included; revoking paper_capture stops scanned forms being read with AI; revoking docusign_agency leaves a connected DocuSign account connected but stops a new one being connected; revoking phone_receptionist pauses the phone receptionist and keeps its settings and messages. Nothing current to revoke answers the consent as it stands. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| purpose | path | yes | external_ai_clients (AI Access), api_access (API Keys), paper_capture (Paper forms: reading scanned forms with AI), docusign_agency (DocuSign: sending records for signature through the agency's own DocuSign account) or phone_receptionist (Phone Receptionist: callers' words sent to the voice and telephone companies that answer the office line). |
Read a consent
The agency's consent and the disclosure it accepts, as the AI Access, API Keys or Paper forms tab shows them. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| purpose | path | yes | external_ai_clients (AI Access), api_access (API Keys), paper_capture (Paper forms: reading scanned forms with AI), docusign_agency (DocuSign: sending records for signature through the agency's own DocuSign account) or phone_receptionist (Phone Receptionist: callers' words sent to the voice and telephone companies that answer the office line). |
Accept a consent
Accepts the current disclosure, as the tab's Accept with its ticked box does; accepting one already current changes nothing, and accepting one that awaits re-acceptance records the new version. Read the disclosure's text (getConsentsByPurpose) to the member first, and send acknowledged: true once they accept it; without it the request is refused (422). phone_receptionist is 409 unavailable while the phone receptionist is not available to the agency, as its settings page offers no consent box then. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| purpose | path | yes | external_ai_clients (AI Access), api_access (API Keys), paper_capture (Paper forms: reading scanned forms with AI), docusign_agency (DocuSign: sending records for signature through the agency's own DocuSign account) or phone_receptionist (Phone Receptionist: callers' words sent to the voice and telephone companies that answer the office line). |
Request body (required) application/json object
The member's acknowledgement
Read your reminder preferences
The caller's own preferences, as /settings/reminders shows them. Any member, for themselves, signed in or through an app they connected; an agency API key is no person and is refused (403 person_required).
Save your reminder preferences
As /settings/reminders does, for the caller alone; send only what changes. Any member, for themselves, signed in or through an app they connected; an agency API key is no person and is refused (403 person_required).
Request body (required) application/json object
What to change
Read the ADP settings
As Settings > Payroll shows them: company code, batch description, overtime, pay rates, pay period and earning codes. Needs agency_settings.manage (403 forbidden otherwise).
Save the ADP settings
As the tab's Save does, through the same checks; send only what changes. A value the tab refuses answers 422 naming the field. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
What to change
Choose the tool list new AI connections start with
As Connected Apps' agency switch: whether AI apps connected from now on start with the short tool list. Connections already made keep their own switch (PATCH /api/v1/connected-apps/{id}). Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
The switch
Read the CSV column mapping
As Settings > CSV Mapping shows it: the agency's column for each claim field it renamed, and every field an upload reads. Needs agency_settings.manage (403 forbidden otherwise).
Replace the CSV column mapping
As the tab's Save does: the mapping sent replaces the saved one, a blank or null column reads the field's own name, and an empty mapping is the tab's Reset. A field the upload does not read answers 422 naming it. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
The mapping
Read the EVV rollout
As Settings > EVV Rules shows it under EVV in HCB: who HCB collects EVV for, from which day, and how many caregivers are enrolled in the pilot. Needs agency_settings.manage (403 forbidden otherwise).
Save the EVV rollout
As the EVV in HCB card's Save does; send only what changes. A rollout other than off, pilot or all, or a date that does not parse, answers 422. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
What to change
Read the notification settings
As Settings > Notifications shows them: which EDI events (a submission, a TA1, a 999, a claim acknowledgment, an 835) email the agency. Needs agency_settings.manage (403 forbidden otherwise).
Save the notification settings
As the tab's checkboxes do; send only what changes. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
What to change
Read the security settings
As Settings > Security shows them: whether two-factor is required, and the session timeout. Needs agency_settings.manage (403 forbidden otherwise).
Save the security settings
As the Security tab does; send only what changes. Requiring two-factor needs the caller's own two-factor on first (422 enable_yours_first); turning the requirement off needs code, a current code from the caller's authenticator app (422 invalid_code). Both change in one transaction: if either is refused, neither is saved. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
What to change
Give the telehealth supervisory acknowledgement
The agency's one-time acknowledgement a telehealth supervisory visit needs first, as the supervisory visit form's Confirm does when an owner first picks Telehealth: "Your agency owns the audit position on telehealth supervisory visits." and "You confirm telehealth is appropriate under HCPF and the client's plan of care." Read both to the member and send acknowledged: true once they accept them; without it the request is refused (422). Once given it stays given: a second request changes nothing and answers already_acknowledged true. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The member's acknowledgement
Read the Trading Partner authorization
Whether the agency has confirmed it authorized HomeCareBilling as its Trading Partner, as the Agency tab shows it. Needs agency_settings.manage (403 forbidden otherwise).
Set the Trading Partner authorization
As the Agency tab's toggle does. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
The authorization
Reset a member's two-factor
As the Users list's reset does: turns off the member's two-factor so they set it up again, and emails them. Only a member of this agency and no other, never yourself (422 not_allowed); an id that is no member of this agency answers 404. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Get today's agenda
What the agency needs to deal with today: reminders due now, reminders already overdue, client and caregiver birthdays, and the billing work waiting. The day is Mountain time's. Each reminder list holds at most 100, says how many there are in all, and is read on with its own offset.
| Parameter | In | Required | Description |
|---|---|---|---|
| date | query | no | The day to look at (YYYY-MM-DD). Leave it out for today. |
| due_today_offset | query | no | Reminders due today to skip, to read past the first page. |
| overdue_offset | query | no | Overdue reminders to skip, to read past the first page. |
List what needs attention
Everything about a client or caregiver that needs doing, as the Today page and needs_attention list it: reminders due today and overdue, compliance documents, OIG matches, supervisory visits, outstanding recertifications, PARs ending within 30 days and open monthly follow-ups. Overdue first (oldest first, undated last among them), then soonest due. The day is Mountain time's. An unknown kind is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| kind | query | no | Keep only one kind of row. |
| limit | query | no | Rows per page (default 20, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Mark a reminder done
As the Today page's Done button: closes the reminder, and never completes or signs the visit or form behind it. Completing a recurring reminder schedules its next one. Already done is 200 with changed false; already dismissed is 422 already_closed. Another agency's reminder is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Dismiss a reminder
As the Today page's Dismiss button: removes the reminder without doing it. Dismissing a recurring reminder ends its series. Already dismissed is 200 with changed false; already done is 422 already_closed. Another agency's reminder is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List assignments
Which caregiver serves which client, under which billing code. The agency's assignments in effective-date order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| client_id | query | no | Only records of this client. |
| caregiver_id | query | no | Only records of this caregiver. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Create a assignment
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json AssignmentCreate
The assignment's fields
Import InMyTeam's weekly schedule PDF
Reads InMyTeam's weekly schedule as Import Assignments does: each caregiver-client pair and service becomes an item, matched by name among this agency's clients and caregivers only. new: a pair with no active or open temporary assignment, added with the file's days; changed: an assignment whose days differ, its days replaced; unchanged; not_imported: a name or service that did not resolve, with the reason; not_on_schedule: an active assignment, or a temporary one with no end date, that the file does not name, left as it is. Needs imports.manage and scheduling.manage. With dry_run true the answer is the items and nothing is written. Sending the same file again writes nothing twice (imported 0, updated 0); when two sends run at once, a pair the other created first is skipped as already_on_file. Refusals: 403 forbidden naming the missing permission; 422 not_a_schedule, unreadable_pdf (also when reading the PDF takes over 15 s), file_required (no file, or one that is not a PDF), file_too_large, invalid_dry_run; none writes anything.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) multipart/form-data object
A multipart form with InMyTeam's weekly schedule (Schedule in week view, printed to PDF) in the field `file`, at most 10 MB, and optionally dry_run.
Get a assignment
Which caregiver serves which client, under which billing code.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a assignment
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json AssignmentUpdate
The fields to change
Read an assignment's weekly schedule
Its shifts and the days each one works, in the shape a save sends: the days the office entered and the days its standing Work Orders place, each of the latter naming its WO # in work_order_number.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Save one shift of an assignment's weekly schedule
Replaces the days of the shift named by shift_number in the body or the shift query parameter (1 to 4, default 1) with the days sent, as the page's schedule editor does; an empty list clears the shift. A day may carry ends_next_day (default false) for a shift that ends after midnight. A refused day (an end before its start without ends_next_day, a day overlapping another shift, across midnight too) answers 422 invalid_schedule naming it, and nothing is written. A day identical to one a Work Order places (same day, shift, start and end) is that Work Order's and writes nothing, so sending the read shape back changes nothing. lock_version is the assignment's as read: a change since answers 409 stale_record, and a save moves it. Answers the whole schedule.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| shift | query | no | The shift to save, 1 to 4; default 1. |
Request body (required) application/json object
The shift's days
Change an assignment's status
Moves the assignment to status, with an optional reason, as the page's status dialog does. A transition its status does not allow answers 422 invalid_transition; closing one with open timesheets 422 has_active_timesheets; lock_version is the one the assignment was read with: one changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The new status
List batches
A batch is one uploaded claims file and the claims made from it. The agency's batches in upload order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Upload a claims file
Creates a batch from a CSV or XLSX file of up to 10 MB, mapped with the agency's saved column mapping (Settings, CSV mapping). The batch validates in the background and is never submitted automatically. Refused, creating nothing: 422 unmapped_columns, patient_limit_exceeded, unsupported_file_type or invalid_file, and 403 submission_blocked when the agency may not submit claims.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) multipart/form-data object
A multipart form with the claims file in the field `file` (.csv or .xlsx), optionally which column holds which claim field, and whether to keep that mapping.
Validate a claims file without storing it
Each row's validation errors and warnings, as a batch made from the file would get them. A warning (a part-unit on a 15-minute code, a Location/Rendering Provider ID that is not digits only, a patient_account_number another row repeats or a claim in progress or paid already uses, which the upload replaces with a generated one and keeps as replaced_account_number) never stops the row from being submitted. Nothing is stored, so it needs no Idempotency-Key and is allowed with a read-only key, on a read-only account, and while claim submission is blocked. It counts against the write rate limit, as parsing a file is the heaviest request.
Request body (required) multipart/form-data object
A multipart form with the claims file in the field `file` (.csv or .xlsx), and optionally which column holds which claim field.
Get a batch
A batch is one uploaded claims file and the claims made from it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Download a batch's 837 file
The generated 837 file exactly as Batch Detail's Download 837 serves it, under its HCPF file name. 404 not_found for a batch this agency does not have, and for one with no 837 yet (it is made when the batch is generated). The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Submit a batch to HCPF
A generated batch is sent to HCPF; a validated batch made from an uploaded file is generated first and sent as soon as its 837P exists. Either way the answer is 202 at once: poll GET /api/v1/batches/{id} for the outcome. A generated batch is held, sending nothing, while a claim includes days already billed in another batch or the duplicate check did not complete: 422 submission_held says which; review the batch in the app to send it anyway. A validated batch is compared once it is generated, so a hold found then leaves it at generated, and the next submit answers 422 submission_held. Refused, sending nothing: 422 batch_not_submittable when the batch cannot be submitted now (any other status, or already on its way, which is never sent twice), 422 submission_blocked when the agency's setup blocks submission, 403 submission_blocked when its billing does, 403 read_only or insufficient_scope for a key that may not write, and 404 for a batch this agency does not have. The Idempotency-Key binds the FIRST answer: repeat the key to recover a lost 202, and send a NEW key to try again after a refusal is fixed or after a 500.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes | The batch id. |
List billing codes
The billing codes this product bills, in code order, each with the modifiers the fee schedules use. A work order also takes another code whose units can be computed (a catalog.unknown_code warning names one no fee schedule prices), and other modifiers in valid 837P format, within the limits the BillingCode schema states. The same for every agency.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List broadcasts
The agency's broadcasts, newest first, as the broadcast page's Recent Broadcasts lists them, each with how many caregivers texted back and how many said yes.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Send a broadcast to caregivers
Sends a message to the agency's active caregivers, as the broadcast page does: by email (default), SMS or both, to everyone (default), one compliance group (expired, expiring_soon, training, evaluation), or pick: the caregivers named in caregiver_ids (former ones included) and those carrying tag (active only unless include_former). A caregiver without the contact method, or opted out of SMS, is skipped and counted; an opted-out number is never texted. An id that is not one of the agency's caregivers answers 422 validation_failed; an empty group 422 no_recipients; a texted (sms or both) message that, with the agency name before it and the STOP line after it, would pass 1,600 characters 422 validation_failed, naming the agency's limit; the same message by the same method within a minute 409 duplicate; past the daily limit 429 rate_limited.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The broadcast
Send a push notification to caregivers
As the broadcast page's Push Notification (US-123.25): a title and a message to the caregiver app of every active caregiver with a device signed in; tapping it opens their notifications. No broadcast record is kept, as the page keeps none. A blank title or body answers 422 validation_failed; past 5 an hour for the agency 429 rate_limited. For email or SMS use POST /broadcasts.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The notification
List a broadcast's replies
The caregivers who texted back to one of the agency's broadcasts, latest reply first, as the broadcast page's Replies list shows them; yes marks a reply that reads as a yes. Another agency's broadcast answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List your notifications
The credential's member's notifications, newest first, as the notification bell lists them. read=unread lists only unread ones, read=read only read ones.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| read | query | no | unread or read; omitted lists both. |
Mark all your notifications read
As the bell's Mark all read does. Answers how many were marked.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Mark a notification read
As opening it from the bell does. Another member's notification, or another agency's, answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Resolve a notification
Marks it resolved, and read, as the notifications page's Resolve does, with optional notes for the record. One already resolved is answered as it stands. Another agency's answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
Notes
List care logs
As the /care-logs list: newest service date first, each with its task counts (done, refused, not_needed, unmarked). Filters: client_id, caregiver_id, from and to (service dates, inclusive), source, state and needs_signature. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| client_id | query | no | Only this client's. |
| caregiver_id | query | no | Only this caregiver's. |
| from | query | no | Service dates on or after, YYYY-MM-DD. |
| to | query | no | Service dates on or before, YYYY-MM-DD. |
| source | query | no | Where it was captured. |
| state | query | no | The record state. |
| needs_signature | query | no | true: only the care logs still needing the client's signature (drafts), as the screen's Needs client signature box. false or left out filters nothing. |
Start a care log
As New care log: starts the care log of the client, caregiver, day, service and shift with source office, seeded with the tasks the Work Orders in force plan for the day. A key that already holds a live care log answers 200 with that one, never a second; a new one answers 201. A client or caregiver that is not the agency's is 404 not_found, a Visit that is not the day's 422 visit_mismatch.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The day
Read a care log
As the /care-logs/:id screen: the day with its tasks, times, warnings and live signatures. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Edit a care log's notes and times
As the screen's notes and times: sets the fields sent. lock_version must be the value read; a care log changed since answers 409 stale_record. time_out before time_in is 422 validation_failed. A care log that is not a draft answers 409 record_locked and nothing changes; another agency's id answers 404, whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to set
Finish a care log
As the screen's Finish: marks the care log finished, once; finishing a finished care log changes nothing. Warnings never refuse it. A care log that is not a draft answers 409 record_locked and nothing changes; another agency's id answers 404, whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Mark a care log's paper signature on file
As the screen's Client signed on paper: the client's paper signature is recorded as on file (method paper_on_file, channel office), which signs and locks the day. Send a multipart scan in the field file (stored as a document of the client's, up to 50 MB), or JSON with the document_id of one already on the client's file, or neither. The same mark again answers the same signature. A document that is not the client's, or is not one a person uploaded (a paper-capture scan, a true copy), is 422 document_not_found; a scan or document that is not a PDF, JPEG or PNG, or is over the size, 422 invalid_scan; a document whose virus scan has not finished 409 scan_pending, or found it infected or failed, 422 scan_not_clean; a client line already signed 409 role_already_signed. A care log that is not a draft answers 409 record_locked and nothing changes; another agency's id answers 404, whatever the body holds. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The scan, if any
Unmark a care log's paper signature on file
As the screen's Unmark: the paper-on-file signature is voided with the reason given and kept in the care log's history, and the care log goes back to a new draft, which is the answer. Nothing is signed here. Needs signed_records.void and timesheets.manage (403 forbidden otherwise). A reason under 3 characters, once trimmed, is 422 unmark_reason_required; a care log with no paper-on-file signature 422 no_paper_signature; a care log of another agency 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Why it is unmarked
Add a task to a care log
As the screen's Add task: adds an unplanned task, done unless status says otherwise; a task the care log already holds is set instead, so a retried add writes nothing new. A task that is not the agency's or a system one is 422 task_definition_not_found. A care log that is not a draft answers 409 record_locked and nothing changes; another agency's id answers 404, whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The task
Mark a care log's task
As the screen's Done, Refused and Not needed buttons: SETS the task's status, reason and count; a mark that changes nothing writes nothing. A task the care log does not hold is 422 task_not_on_log (add it with POST /care-logs/{id}/tasks). A care log that is not a draft answers 409 record_locked and nothing changes; another agency's id answers 404, whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes | |
| task_id | path | yes | The task's task_definition_id, as the care log's tasks list it. |
Request body (required) application/json object
The mark
Read a half-month summary
The client's half of a month with one caregiver for one service, as the evidence grid shows it: the live summary of the client, caregiver, service and half (a draft is shown re-read from the grid on every read, and the read stores nothing; the first signature freezes it). signing says from which day it may be signed and which lines are signed. A client or caregiver that is not the agency's, or a half with no summary yet, is 404; a period_start that is not the 1st or the 16th 422 validation_failed, and so is a service_type left out on a half with care for more than one service. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| client_id | query | yes | The client. |
| caregiver_id | query | yes | The caregiver. |
| period_start | query | yes | The half's first day, YYYY-MM-DD: the 1st or the 16th of a month. |
| service_type | query | no | The service the summary attests (one summary per service). Left out, the half's only service. |
List incomplete phone care logs
As /visits/phone-care-logs: the agency's live phone care logs with no task entered, a call that ended before it was finished, or no client attestation, each with its reasons, newest service date first. A log is listed 15 minutes after its call, once the call has settled, and leaves the list when it is dismissed. Filter by reason and by from and to (service dates, inclusive). recording_document_id names the client's kept recording, readable with GET /documents/{id}/file. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 25, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| reason | query | no | Only the logs listed for this reason. |
| from | query | no | Service dates on or after, YYYY-MM-DD. |
| to | query | no | Service dates on or before, YYYY-MM-DD. |
Dismiss an incomplete phone care log
As the screen's Dismiss: records why the log needs no more work, and it leaves the list. The care log itself does not change; it can still be finished and signed. A blank reason is 422 ("Say why you are dismissing this."). Dismissing it again answers 200 with already_dismissed true and the first dismissal. Another agency's care log, or one that is not a live phone care log, answers 404 whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The reason
Save a client's CFC Calculator
US-123.5: as the calculator's Save, each task sent is written to a new current plan of care for its service and every other task carried over unchanged. An LRP above the allocated total, or a figure out of range, is 422 in the screen's words; a Save that changes nothing is 422 no_changes "No changes to save.". A task over its Max/Week, or AME with no standard norm, without a justification is saved and named in warnings. Needs care_plans.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The tasks and plan-level hours
Sign in a caregiver
Signs the caregiver in with the agency code, employee id and PIN, and returns a device token for /api/v1/me. A wrong agency code, employee id or PIN all answer 401 invalid_credentials. Repeated failures answer 429 rate_limited with a Retry-After header.
Request body (required) application/json CaregiverSessionInput
The caregiver's credentials
Sign out this device
Revokes the device token sent as the bearer credential. The token is refused from then on, here and in the caregiver web app.
The signed-in caregiver
List my unfinished care logs
Your care logs not finished yet, as the app's dashboard lists them: drafts with no finished_at, of the last 90 days, newest day first, at most 20 a page. Empty when your agency has not turned care logs on for you. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 20, at most 20; a larger value is served as 20). |
| offset | query | no | Rows to skip. |
Start my care log
As the dashboard's Open care log: starts your care log of the client, day, service and shift with source hcb_app, seeded with the tasks the Work Orders in force plan for the day. One of your Work Orders must plan that client, service and shift on the day (else 422 no_work_order), and the day must be today or up to 90 days back (else 422 service_date_out_of_reach). A day that already has a live care log answers 200 with it, never a second, so a retry is safe; a new one answers 201. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled; a Visit that is not yours with that client that day 422 visit_mismatch.
Request body (required) application/json object
The day
Read my care log
One of your care logs as its screen shows it: the day with its tasks, times, warnings and live signatures, the signing_hash to attest it under, and the representatives who may sign in the client's place. The read is recorded on the PHI access log. Another caregiver's care log, another agency's, or one more than 90 days back is 404, whatever the body holds. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
The client attests my care log
As the screen's signature step: the client, or their representative (one the care log lists, by signer_relation_id, or someone else by signer_name), signs the day on your phone (channel app), which signs and locks it, finishes it when it was not, and marks the linked Visit client-signed. The same signature again answers the care log unchanged. Refusals: 409 content_changed (the day changed since the client read it), 409 role_already_signed (a different signature holds the client's line), 409 voided, 422 invalid_image (not base64, not a PNG, or too large), 422 validation_failed (a signer_relation_id that is not one of the client's representatives). Another caregiver's care log, another agency's, or one more than 90 days back is 404, whatever the body holds. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The signature
The client cannot sign my care log
As the screen's Client can't sign: keeps why, finishes the day when it was not, and leaves it a draft for the office to collect a signature. The same reason again writes nothing. A reason not listed is 422 validation_failed, and other needs a note. A care log that is not a draft answers 409 record_locked and nothing changes. Another caregiver's care log, another agency's, or one more than 90 days back is 404, whatever the body holds. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
Why
Finish my care log
Marks the care log finished, once; finishing a finished care log changes nothing. Warnings never refuse it. The client's attestation (or attestation-skip) finishes it too. A care log that is not a draft answers 409 record_locked and nothing changes. Another caregiver's care log, another agency's, or one more than 90 days back is 404, whatever the body holds. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Add a task I did to my care log
As the screen's Add a task I did: adds a task done off the plan (planned false, status done), with the reason it was done when sent. A task the care log already holds is set done instead, so a retried add writes nothing new. A task that is not the agency's or a system one is 422 task_definition_not_found. A care log that is not a draft answers 409 record_locked and nothing changes. Another caregiver's care log, another agency's, or one more than 90 days back is 404, whatever the body holds. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The task
Mark a task on my care log
As the screen's Done, Refused and Not needed buttons: SETS the task's status, reason and count; a mark that changes nothing writes nothing. A task the care log does not hold is 422 task_not_on_log (add it with POST /me/care-logs/{id}/tasks). A care log that is not a draft answers 409 record_locked and nothing changes. Another caregiver's care log, another agency's, or one more than 90 days back is 404, whatever the body holds. A caregiver whose agency has not turned care logs on is 403 care_log_not_enabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| task_id | path | yes | The task's task_definition_id, as the care log's tasks list it. |
Request body (required) application/json object
The mark
Send clocks recorded offline
Sends up to 100 clocks the app saved while offline. Each is processed on its own, and one failing never stops the others; each is recorded at its captured_at, as a clock-in or clock-out sent online would be. Only your own visits within 90 days back are reached, as the live clock reaches: any other visit fails as visit_not_found, as the live clock answers 404,. Events carrying captured_at in Unix milliseconds run oldest first among themselves; an event without one keeps its place. An id that is not a string is invalid_event, answered with a null id. Clocks only: a task_toggle event is unknown_action. An empty batch is not counted against the hourly limit. Resending an event already recorded reports it in synced and records nothing twice. More than 100 events is 422 and processes none; more than 100 batches in an hour, counted with the caregiver web app's, is 429.
Request body (required) application/json MeClockEventsInput
The events
My signed-in devices
The devices the caregiver is signed in on, most recently used first; current marks the one asking.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 20, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Sign a device out
Signs one of the caregiver's devices out, this one included, and stops its push notifications. Another caregiver's device, or one already signed out, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Open my half-month summary
As the half-month screen: the live summary of the client, you, the service and the half, or a new draft of it, re-read from the evidence grid, with the signing date, the lines signed, and the representatives who may sign the client's line in their place. Repeating it answers the same summary. A period_start that is not the 1st or the 16th is 422 validation_failed; so is a service_type left out on a half with care for more than one service, and one left out on a half with no care recorded and no summary yet (nothing to sign). The read is recorded on the PHI access log. A client you have neither an assignment with nor a care log for in the half, another caregiver's summary, or another agency's is 404, whatever the body holds.
Request body (required) application/json object
The half
The client can't sign my half-month summary
As the half-month screen's "Client can't sign": records why the client could not sign, and your signed line then completes the half and stores its true copy. The same reason again answers the summary unchanged. Refusals: 409 caregiver_not_signed (your line is not signed yet), 409 record_locked (the client's or a representative's line is signed, or the half is already complete), 409 voided, 422 validation_failed (a reason that is not one of the list). A client you have neither an assignment with nor a care log for in the half, another caregiver's summary, or another agency's is 404, whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
Why
Sign my half-month summary
As the half-month screen's pads: signs a line on your phone (channel app). Your line first; then the client's, or a representative's in their place: one the summary lists (signer_relation_id), or someone else by name (signer_name). The first signature freezes the half. The same signature again answers the summary unchanged. Refusals: 422 signature_period_not_reached (before the 15th for a first half, the 20th for a second), 409 content_changed (the half changed since it was read), 409 role_already_signed (a different signature holds the line), 409 record_locked (every line is signed), 409 voided, 422 invalid_image, 422 validation_failed (a signer_relation_id that is not one of the client's representatives). A client you have neither an assignment with nor a care log for in the half, another caregiver's summary, or another agency's is 404, whatever the body holds.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The signature
My notifications
The caregiver's notifications, newest first, without dismissed ones unless dismissed=true.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 20, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| type | query | no | Only notifications of this type. |
| dismissed | query | no | true to include dismissed notifications. |
Mark every notification read
Dismiss a notification
Dismisses it, which also marks it read.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Mark a notification read
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change my PIN
Changes the caregiver's PIN. A wrong current_pin answers 422 invalid_current_pin and counts as one failed sign-in; repeated failures answer 429 rate_limited with a Retry-After header. A new PIN that is not six digits, or is repeated or sequential, answers 422 validation_failed naming new_pin and counts nothing. On success this device stays signed in, and every other device and web app session of the caregiver is signed out.
Request body (required) application/json MePinChange
The PINs
Register this device for push
Registers this device's push token: an APNs device token (platform ios) or an FCM registration token (platform android). 201 the first time, 200 when this device registers again (the same token, or a new one replacing it). The same token registered from an earlier sign-in stops there.
Request body (required) application/json object
The token
Stop push to this device
Stops native push to this device; signing out does the same.
My refused clocks
Your clocks the server kept in the last 30 days that a cancelled, completed or verified visit refused, which the server kept and passed to the office (US-98.14): the clock-in or clock-out answered 422 visit_not_clockable. Newest first; reviewed_at is set once the office has handled it. On visits not deleted.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 20, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
My visits
The signed-in caregiver's visits with a service date from date_from to date_to (date_from defaults to date_to, else today in Colorado; date_to defaults to date_from), not cancelled, in date order, then scheduled start. At most 31 days at once, starting no more than 90 days before today.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| date_from | query | no | First service date (YYYY-MM-DD). |
| date_to | query | no | Last service date (YYYY-MM-DD). |
One of my visits
A visit of the signed-in caregiver, with the client's address and geofence and its clock-in and clock-out once recorded. A cancelled or deleted visit is still returned, with its status and deleted_at, so an app holding its id learns what became of it. Another caregiver's visit, or one more than 90 days back, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Clock in
Records the clock-in with the device's location. Whatever the device sends is recorded, with warnings, never refused: no_gps, low_accuracy, moderate_accuracy, suspicious_accuracy, outside_geofence, invalid_coordinates, unknown_accuracy, invalid_captured_at, captured_at_out_of_range, late_sync, manual, outside_schedule, before_clock_in. A captured_at that is not Unix milliseconds, ahead of now, or before the visit existed is recorded at the server's time. A second clock-in answers 200 with the first. A visit not scheduled or in progress takes no clock: 422 visit_not_clockable, nothing recorded on the visit; the clock is kept for the office (US-98.14), and the message says so; when it could not be kept the code is visit_not_clockable_not_kept, so keep the clock and retry.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body application/json MeClockInput
Where and when
Clock out
Records the clock-out, as clock-in does, and sets the visit's actual_end_time. A visit not clocked in is 422 clock_in_required; one timed at or before the clock-in is recorded with before_clock_in and bills no hours. A closed visit answers as clock-in does: 422 visit_not_clockable with the clock kept for the office, or visit_not_clockable_not_kept, so keep the clock and retry.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body application/json MeClockInput
Where and when
Capture a signature on my visit
Keeps the client's or your signature (or initials) on one of your visits, as a PNG; a client signature marks the visit client-signed. A visit holds one signature per signer: sending one it already holds, without replace, answers 200 with it whatever the visit's status since, so a retry is safe. A first signature is kept on any visit not cancelled, a late offline sync included; replace: true replaces the held one only while the visit is scheduled, in progress or completed (else 422 visit_not_signable), answering 200, and a replacement identical to the one held answers it unchanged. A cancelled visit takes no first signature (422 visit_not_signable). captured_at is believed as a clock's is (not ahead of now, not before the visit existed, else the server's time). The input is judged first: an image that is not base64, not a PNG, or larger than 51200 bytes is 422 invalid_image, a signer_name over 255 characters 422 invalid_signer_name, a replace that is not a boolean 422 invalid_replace. Another caregiver's visit, a deleted one, or one more than 90 days back is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The signature
A signature's image
The PNG of a signature on one of your visits, never cached. Any other visit or signature is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| signature_id | path | yes | The signature's id. |
Reset a caregiver's app PIN
As the caregiver page's Reset PIN does: a new PIN replaces the old one and the caregiver's app sessions end. The new PIN is never returned (PRD 5.8); set one with PUT, or reset it on the caregiver page to see it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Set a caregiver's app PIN
As the caregiver page's Set PIN does: the caregiver signs in to the app with it. A PIN the rules refuse (length, digits, a trivial sequence) is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The PIN
Complete a potential caregiver's onboarding
US-123.5: as the caregiver page's Complete onboarding does, the caregiver becomes active with the employee ID given (trimmed). A caregiver no longer potential is 422 not_potential in the page's words. File checklist items still open, or a blank employee ID, are said in warnings; the onboarding is still saved. Needs caregivers.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The employee ID
Get a caregiver's compliance record
The Compliance tab's credentials, dates and custom items; data is null when none is recorded yet.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a caregiver's compliance record
As the Compliance tab's Save does: sets the fields sent, and the custom items by key. Send the lock_version it was read with; a newer one is 409.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Record a caregiver's compliance record
As the Compliance tab's first Save does. A caregiver has one: one already recorded is 422 already_recorded with its id in details.compliance_id; change it with PATCH. An expiry before its date is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The record
List a caregiver's app devices
US-123.5: the devices a caregiver is signed in to the caregiver app on, the most recently seen first, as the caregiver page's Mobile access tab lists them. Needs caregivers.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Revoke a caregiver's app devices
US-123.5: as the Mobile access tab's Revoke and Revoke all do. device_token_id revokes that device; without it every device is revoked. A device that is not this caregiver's signed-in one is 404 "Device token not found.". Needs caregivers.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The device, or none for all
List a caregiver's evaluations
The caregiver's evaluations, newest first. A caregiver of another agency, or a deleted one, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Record a caregiver's evaluation
Records one evaluation. One already on file is 422 already_recorded with its id in details.evaluation_id. A caregiver of another agency, or a deleted one, is 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json CaregiverEvaluationInput
The evaluation
Get a caregiver's Employee File checklist
The Employee File tab's checklist: the agency's active items, each done or not with its date and notes, and when it was last reviewed. Created on first read, as the tab does.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Set items of a caregiver's Employee File checklist
As ticking a box or entering a date or note on the tab does, for several items at once, all or none: items maps an item key to the fields to set (completed, date, notes; a blank date or note clears it). A key the agency has hidden is 422 hidden_item, any other unknown key 422 unknown_item. A concurrent change is merged per field and retried once; still stale is 409.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The items
Mark a caregiver's Employee File checklist reviewed
As the tab's Mark reviewed does, by the caller. Send the lock_version the checklist was read with to review what was read: one changed since is 409.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The version reviewed
List a caregiver's OIG exclusion checks
Newest first, as the caregiver page's OIG history lists them.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Record a caregiver's OIG exclusion check
As the caregiver page's Record check does: an attestation of a manual LEIE lookup, clear or excluded, appended to the caregiver's history. A date in the future, or more than a year old, is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The check
List a caregiver's pay rates
Newest first, as the Pay Rates tab's history lists them, current and ended.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Add a caregiver's pay rate
As the Pay Rates tab's Add does: the new rate starts on effective_date and ends the caregiver's current rate of its type.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The rate
Generate a caregiver's telephony PIN
As the caregiver page's Generate PIN does: a new unique PIN replaces any the caregiver had. The PIN itself is never returned (PRD 5.8); the caregiver page shows it.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List a caregiver's training records
The caregiver's training records, newest year first, then by course. A caregiver of another agency, or a deleted one, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Record a caregiver's training record
Records one training record. One already on file is 422 already_recorded with its id in details.training_id. A caregiver of another agency, or a deleted one, is 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json CaregiverTrainingCreate
The training record
List a caregiver's vaccination records
The caregiver's vaccination records, newest year first. A caregiver of another agency, or a deleted one, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Record a caregiver's vaccination record
Records the vaccination for year and vaccination_type: 201 when none was recorded, 200 when it updates the one already recorded. A caregiver of another agency, or a deleted one, is 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json CaregiverVaccinationInput
The vaccination record
Mark a caregiver's W-4 change sent to payroll
US-102.35: as the Payroll Summary's "Sent to payroll" does, records that the payroll processor was sent the caregiver's changed W-4 filing status or dependents, and clears the change. A caregiver with none waiting answers 422 no_w4_change. With w4_changed_at, a change other than the one waiting now (the W-4 changed again since it was read) answers 409 stale_record and is kept; a w4_changed_at that is not a timestamp answers 400 bad_request. The W-4 values are never returned. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The change as it was read
Update a evaluation
Sets only the fields sent; a body that changes nothing is 422 nothing_to_change. Another agency's record is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json CaregiverEvaluationInput
The fields to change
Record a clear OIG check for every active caregiver
As the compliance dashboard's monthly sweep does: one clear attestation dated checked_on for each active caregiver. Clear only, as on the dashboard: an exclusion match is recorded on that caregiver. Needs caregivers.manage (403 forbidden otherwise). A date in the future, or more than a year old, is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The sweep
Give every active caregiver without one a telephony PIN
As the caregiver list's Assign PINs does. The PINs are never returned (PRD 5.8); the caregiver list exports them. When a draw fails part way, the PINs already assigned stay and incomplete names why; run it again for the rest.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Set annual training complete for every active caregiver
As the compliance dashboard's bulk annual training does, for completed_date's year: by default only courses not yet recorded; replace true also moves dates already recorded. Needs caregivers.manage (403 forbidden otherwise). A year outside 2000 to next year is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The completion
Update a training record
Sets only the fields sent; a body that changes nothing is 422 nothing_to_change. Another agency's record is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json CaregiverTrainingInput
The fields to change
Update many caregivers' flu vaccinations for a year
As the bulk vaccination page's Save all does: one status per caregiver for the year, all or none. An unknown caregiver is 404 naming it; an invalid entry is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The updates
List the caregiver CSV sync runs of the last 30 days
US-123.5: the Import / Export screen's sync history, newest first: who applied each run, when, how many rows it changed and how many of those were reverted. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 30, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Revert a caregiver CSV sync run
US-123.5: as the screen's Revert, each caregiver the run changed gets its earlier values back unless it changed again since, which is skipped and named. A run already reverted is 404 "Sync run not found or already reverted."; an id naming no run of this agency is 404 not_found. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List what one caregiver CSV sync run changed
US-123.5: the run page: each caregiver the run changed, with every field before and after, sensitive values masked. field keeps the rows that changed a field whose name contains it. A run this agency has none of is 404. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| field | query | no | Part of a changed field's name, case-insensitive. |
| limit | query | no | Rows per page (default 25, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
List caregivers
The agency's caregivers in name order, deleted ones left out unless include_deleted=true. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| search | query | no | Every word must match a returned name or identifier, case-insensitively. At most 100 characters and 8 words. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
| include_deleted | query | no | true also lists deleted records, with deleted_at set, so a sync learns of deletions. |
| text_status | query | no | Only caregivers whose text_status is this value; cannot_text is every value but can_text. |
Create a caregiver
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json CaregiverInput
The caregiver's fields
Caregivers' planned hours for a month
As the Planned Hours page shows them: each active caregiver's Work Orders in force in the month with their planned weeks, the sum, the minutes past 40 a week, and HCPF's caregiver limits passed by the plan and by what they worked. A limit passed is a warning; nothing is held by it. month is YYYY-MM, this month by default; caregiver_id reads one caregiver (404 for another agency's).
| Parameter | In | Required | Description |
|---|---|---|---|
| month | query | no | The month, YYYY-MM. |
| caregiver_id | query | no | One caregiver. |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
One week of the caregivers' schedule
As the Caregivers Schedule grid: each caregiver, in name order, paged, with the Work Orders they work that week, each with its client, service type and the dates worked. week_start may be any date; the week is the agency's week holding it, this week when left out. search filters by caregiver or client name; service_type by service, and one that is not a service is 400.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| week_start | query | no | |
| search | query | no | |
| service_type | query | no |
Set one status on several caregivers
US-109.7: sets status on up to 200 of the agency's caregivers, as the caregivers list's bulk Set status does. Each caregiver saves on its own, with its own audit row against the credential, so one refused never undoes another: it is listed in failed with the reason in words. An id that is not this agency's caregiver is failed with name null. A caregiver already at the status counts as updated and writes no audit row. Caregivers carry a lock_version, but a bulk change takes none: each is set as it is when the change reaches it. One caregiver sent twice, in either letter case, is set and counted once. An unknown status or one that is not a string, no ids, more than 200, or an id that is not a string is refused with 422 validation_failed and nothing is written.
Request body (required) application/json CaregiverStatusesUpdate
The caregivers and the status
Update caregivers on file from a CSV
US-123.5: the caregivers Import / Export screen's safe-update sync. Each row matches one caregiver on employee_id (else ssn, else first_name, last_name and date_of_birth); a blank field is filled from the row and a field already holding a different value is skipped unless overrides or override_columns name it. dry_run true answers the preview and writes nothing. Where the screen asks to type APPLY (more than 25 matched rows, any override, a sensitive field changing) the apply needs confirm APPLY, else 422 confirmation_required. A field the sync does not update is 400, by name. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The CSV and its overrides
Get a caregiver
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a caregiver
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json CaregiverInput
The fields to change
Lift a caregiver's open-shift pause
US-122.15, as the coordinator's Restore access does: clears the caregiver's open-shift pause and voids every strike they hold, in one transaction, so the count starts again from zero; one audit row names how many were voided. A caregiver with no pause running and no unvoided strike is left as they are, answered with lifted false and nothing audited. The pause blocks responding to open shifts only; sign-in, clock-in and EVV never stopped. Another agency's caregiver answers 404. Needs open_shifts.administer.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Create a batch from approved timesheets
Bills the approved timesheets among timesheet_ids as one batch, as Billing > Generate batch does: each is mapped to its claims (PAR numbers found), the claims are priced, and the batch validates in the background; it is never submitted automatically. left_out names every selected timesheet not in it, in the order sent, and why (not approved, already billed, no hours, missing billing data); warnings says when charges could not be calculated, and carries every warning Billing > Generate batch shows for the selection (code, message, record_type, record_id, and the dismiss_key of one the agency may dismiss there), less the ones the agency already dismissed on the page, over /api/v1 or over MCP; findings carries the same warnings as findings (rule_id, message, subject_type, subject_id, subject_date, fingerprint, context, dismissible), each one dismissible with POST /api/v1/finding-dismissals as sent; none of them blocks the batch. Refused, creating nothing: 422 critical_issues with the issues when the selection breaks a blocking rule (a missing Medicaid ID or billing code, a strict modifier rule), as the page refuses; 422 nothing_billable with left_out when no selected timesheet has a claim; 409 timesheets_already_exported or stale_record when a selected timesheet was billed or changed meanwhile, or the client, assignment, work order or service authorization its claims bill from changed; 403 submission_blocked when the agency may not submit. 422 timesheet_ids_required when timesheet_ids is not a list of 1 to 500 UUIDs (an id that is not a UUID refuses the whole request). Ids are answered in lower case. Another agency's ids are left out as not approved, and nothing of theirs is read or written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The timesheets
Delete a batch not yet sent
Deletes the batch and its claims, returning its returned timesheets to approved so they can be billed again, as the batch page does. A batch already sent to HCPF, or being sent, answers 422 already_submitted or submission_in_progress; one being validated or generated now 422 not_eligible; the batch of a recurring run already sent 422 run_submitted. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Ask HCPF where a batch's accepted claims stand
Asks HCPF where every accepted claim of the batch stands, as the batch page does. Claims already waiting, remitted, or missing a detail HCPF needs are skipped and counted, with a warning. 422 disabled while inquiries with HCPF are switched off (a demo agency is answered in-app whatever the switch says); 422 tenant_inactive when the agency's subscription does not allow it. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Build a batch's 837 without sending it
Builds the batch's 837 claim file in the background, as the batch page's Generate does; follow it with GET /batches/{id}/job-status and read the file at GET /batches/{id}/837. Sending it is POST /batches/{id}/submit's. A batch not ready answers 422 batch_not_generatable and nothing is started; a view-only subscription 422 access_level. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Release every refused claim's timesheet in a batch
Releases the returned timesheet of every claim in the batch that can be resubmitted, as the batch page's Prepare all control does, and answers how many timesheets went back to Approved and the claims prepared. Needs billing.manage (403 forbidden otherwise). A batch with none eligible answers 422 no_resubmittable_claims; one whose every eligible claim is blocked by an active claim holding its patient account number 409 all_pan_blocked. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List a batch's revenue warnings
Every revenue warning on the batch's claims, in row order, each saying whether a member dismissed it. A warning blocks nothing. The batch's claims are read to the upload's row ceiling, and the warnings paged from them. Another agency's batch is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Mark every claim a check paid reconciled
Marks every unreconciled claim of the agency's paid by the check reconciled, as the payment report's bulk action does, and answers how many it marked (0 when none was left).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| number | path | yes |
List claim status requests and HCPF's answers
The claim status requests sent to HCPF (production only), newest first, with their state and answer.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| claim_id | query | no | Only this claim's requests. |
| batch_id | query | no | Only requests about this batch's claims. |
| inquiry_ids | query | no | Only these requests, ids separated by commas (at most 100). |
List claims
Claims are created by uploading a file to /api/v1/batches. The agency's claims in batch order, and row order within each batch. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| batch_id | query | no | Only claims of this batch. |
| member | query | no | Only claims whose Medicaid ID or patient name contains this text, case-insensitively. At most 64 characters. |
| service_date_from | query | no | Only claims whose service period reaches this date or later (YYYY-MM-DD); a period straddling the bound is included. |
| service_date_to | query | no | Only claims whose service period starts on or before this date (YYYY-MM-DD). |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Get a claim
Claims are created by uploading a file to /api/v1/batches.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Correct an uploaded claim
Changes the fields sent on a rejected or denied claim from an uploaded file and validates it again, as the batch page's correction form does. A reason is required. Needs billing.manage (403 forbidden otherwise), as the page does. A claim built from a returned timesheet answers 422 timesheet_derived; one HCPF holds as paid 422 held_as_paid; any other status 422 not_editable. validation_errors names what is still wrong; the correction is saved either way. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The changes and the reason
Ask HCPF where a claim stands
Asks HCPF where the claim stands, as the batch page does. A claim already waiting on HCPF's answer, already remitted, or missing a member ID, date of birth, service date or billed amount is skipped, with a warning; the answer arrives later at GET /claim-status-inquiries. 422 disabled while inquiries with HCPF are switched off (a demo agency is answered in-app whatever the switch says); 422 tenant_inactive when the agency's subscription does not allow it. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Undo a claim's EVV unit correction
Restores the units and charge the claim billed before its EVV unit correction and validates it again, as the batch drawer's Undo does. A claim with no correction to undo answers 422 no_correction; one whose units or charge changed since the correction 409 changed_since. A claim already sent to HCPF, or whose batch is being sent, answers 422 already_sent; one whose batch is being checked, has its 837 built, or failed or was cancelled, but never went to HCPF, 422 batch_not_open; one not compared with EVV visits (a spreadsheet claim, a live-in caregiver, a code with no unit rule, no verified visits in its dates) 422 not_checkable; one whose verified visits add up to 0 units 422 no_evv_units; a batch being changed right now 409 busy. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
See what using a claim's EVV units would change
The claim's billed units beside the units its verified EVV visits add up to, the counted visits, its charge now and at the EVV units, as the batch drawer's Use EVV units shows them. refusal is null when POST would succeed now, and otherwise the code and message it would answer; correction is the live correction, which DELETE undoes. Nothing changes. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Bill a claim's EVV units
Sets an unsent claim's units to what its verified EVV visits add up to and its charge to the same price per unit, validates it again and keeps the change on its audit trail, as the batch drawer's Bill {evv} units does. The claim's status, its timesheet and its visits do not change. Send the billed_units GET answered: a claim billing anything else, or already corrected, answers 409 changed_since; one already billing its EVV units 422 no_difference. A claim already sent to HCPF, or whose batch is being sent, answers 422 already_sent; one whose batch is being checked, has its 837 built, or failed or was cancelled, but never went to HCPF, 422 batch_not_open; one not compared with EVV visits (a spreadsheet claim, a live-in caregiver, a code with no unit rule, no verified visits in its dates) 422 not_checkable; one whose verified visits add up to 0 units 422 no_evv_units; a batch being changed right now 409 busy. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The units you saw
Override a claim's EVV warning
Overrides the claim's EVV warning with a reason, kept on its audit trail, as the batch page does. The reason must be at least 10 characters (422 override_reason_too_short); a claim without an EVV warning answers 422 not_warning_status. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Why the warning is overridden
Open a follow-up for a denied claim
Opens the follow-up for the claim's client in the month of its first service date, as the denials page's Follow-up control does. One already open for that client and month answers 409 follow_up_exists; a claim naming no client 422 no_client. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Change a denial's investigation status
Sets investigation_status and resolution_notes on a denied claim, as the denials page does. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The status and notes
Release a refused claim's timesheet for resubmission
Returns the claim's returned timesheet to Approved so it can be corrected and exported again, as the batch page's Release control does, and marks the claim prepared. Needs billing.manage (403 forbidden otherwise), as the page does. A claim already prepared answers 422 already_prepared. A claim that is not rejected or denied answers 422 not_resubmittable; one uploaded from a spreadsheet 422 no_timesheet; one whose returned timesheet another claim already released, whose sibling is still processing or was paid, or whose timesheet is no longer exported 409 already_released_by_sibling, siblings_still_processing, paid_sibling_exists or timesheet_not_exported; one HCPF holds as paid 422 held_as_paid; one a correction replaces 409 already_replaced; one whose patient account number an active claim holds 409 pan_blocked. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Mark a claim reconciled
Marks the claim reconciled with its payment, as the payment report does. A claim already reconciled keeps its mark. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Create a replacement claim
Creates a corrected copy of the claim in a batch of its own, sent to HCPF as a replacement (or an adjustment of a claim HCPF holds as paid), as the batch page does. A reason is required. Needs billing.manage (403 forbidden otherwise). A claim that already has one answers 409 already_replaced; one whose timesheet can simply be released for resubmission 422 release_available. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The changes and the reason
Remove a claim's reconciled mark
As the payment report's toggle does. Another agency's batch or claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Void a claim HCPF paid in error
Creates a void of the claim in a batch of its own, unsent, as the batch page's Void does; POST /batches/{id}/submit sends it. A reason is required. A claim HCPF does not hold as paid answers 422 not_paid; one with no ICN 422 no_icn; one already voided or replaced 422 already_replaced. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The reason
List denials
A denial is a claim the remittance did not pay. The agency's denials in payment date, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| member | query | no | Only claims whose Medicaid ID or patient name contains this text, case-insensitively. At most 64 characters. |
| payment_date_from | query | no | Denials whose payment date is on or between these days. on or after this date (YYYY-MM-DD, Colorado). |
| payment_date_to | query | no | Denials whose payment date is on or between these days. on or before this date (YYYY-MM-DD, Colorado). |
List eligibility requests and HCPF's answers
The eligibility requests sent to HCPF (production only), newest first, with their state and answer, for the clients the caller reaches.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| client_id | query | no | Only this client's requests. |
| month | query | no | Only requests for this month, YYYY-MM. |
| inquiry_ids | query | no | Only these requests, ids separated by commas (at most 100). |
Ask HCPF whether clients are eligible in a month
Asks HCPF whether the clients are covered in the month, as the client's eligibility page and the billing page do. Clients already asked for that month, or with no Medicaid ID, are skipped and counted, with a warning; the answers arrive later at GET /eligibility-inquiries. 422 invalid_month for a month that is not YYYY-MM. 422 disabled while inquiries with HCPF are switched off (a demo agency is answered in-app whatever the switch says); 422 tenant_inactive when the agency's subscription does not allow it. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The clients and the month
Dismiss a warning
Dismisses any warning by its rule, subject and fingerprint: it is listed as dismissed until its figures change. Dismissing one already dismissed at the same figures answers that dismissal. A fingerprint that is not the subject's current one for the rule (its figures changed since it was listed, or the record is not this agency's) is 409 stale_finding. A rule no warning has is 422 unknown_rule; a warning that refuses (unsendable, or made strict by the agency) or that its rule never lets be dismissed is 422 not_dismissible; a rule that asks why, with no reason of 3 to 500 characters, is 422 reason_required. A credential that may not write is 403. Nothing is written on any refusal.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The warning to dismiss
Show a dismissed warning again
Ends the dismissal, so the warning is listed again; the dismissal is kept, with when it was shown again. Another agency's dismissal, or one already shown again, is 404. A credential that may not write is 403.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List resubmission deadlines
Denied and unpaid claims, the soonest resubmit-by date first, each with the date and what it counts from. A line whose date passed more than 30 days ago is no longer listed. Dismissed lines are left out unless include_dismissed is true.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| within_days | query | no | Only lines due on or before today plus this many days (passed ones included). |
| include_dismissed | query | no | true to list dismissed lines too, each with dismissed: true. |
Show a dismissed revenue warning again
As the batch page's Show again button: ends the dismissal, so the warning is listed as not dismissed; the dismissal is kept as history. No dismissal of that warning in this agency is 404.
Request body (required) application/json object
The warning to show again
Dismiss a revenue warning
As the batch page's Dismiss button: the warning is listed as dismissed until its figures change. Dismissing one already dismissed answers the existing dismissal. A kind no warning has is 422 unknown_kind. A fingerprint that is not the warning's current one (its figures changed since it was listed) is 409 stale_finding, and nothing is written. Another agency's claim answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The warning to dismiss
List the open payments that match no claim
The open payments HCPF sent on an 835 that match no claim on file, as the unattributed payments page lists them. With recent=true, also the attributions DELETE /unattributed-payments/attributions/{id} can reverse.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| recent | query | no | true also lists the attributions made. |
Clear an unattributed payment without posting it
Clears the open payment with a reason, as the page's Acknowledge does; reason other needs a note (422 note_required). A payment already resolved answers 422 already_resolved. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The payment and the reason
Post an unattributed payment to its claim
Posts the open payment to one of its candidate claims, as the unattributed payments page's Attribute does. A payment already resolved answers 422 already_resolved; a claim not among its candidates 422 invalid_claim_for_payment; one already paid 422 claim_already_posted. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The payment and the claim
Reverse an attribution
Restores the claim's money as it was before the attribution and re-opens the payment, as the page's Undo does. A resolution that is not an attribution answers 422 not_attributed; a claim that changed since it was posted 422 claim_changed; an answer a later 835 already settled 422 answer_decided_later_remittances. Another agency's record answers 404 and nothing is written or sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List underpaid claims
Paid claims HCPF paid less than its published rate for the dates of service says, after the adjustments that lawfully explain short pay, the largest gap first, then the newest paid. Paid dates default to the last 90 days; a range over 366 days is 400. Dismissed rows are left out unless include_dismissed is true. Nothing here blocks a claim.
| Parameter | In | Required | Description |
|---|---|---|---|
| paid_from | query | no | First paid date (YYYY-MM-DD). Default 90 days before paid_to. |
| paid_to | query | no | Last paid date (YYYY-MM-DD). Default today. |
| include_dismissed | query | no | true also lists dismissed rows, with dismissed true. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Undo a change to a calendar event
As the Today page's Undo does: puts the event back to the status and due date it had, upcoming or overdue, and clears any completion. A done or dismissed status is 422; use complete or dismiss for those. One changed by another write while this request ran answers 409 stale_record, and nothing is saved.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The state to restore
Delete a certification period
Removes it, as the Certifications tab does; the audit trail keeps what it was.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a certification period
Send only what changes. An overlap with another period answers 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ClientCertificationInput
What to change
Delete a client's other service
Removes it, as the client page does; the audit trail keeps what it was.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a client's other service
Send only what changes; days replaces the list, and times replaces the map. A refused value answers 422 naming the field.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ClientOtherServiceInput
What to change
Read a client's contact's history
As the People section's History does: the contact's edits, newest first, each with when it was saved, who saved it ("System" when no member is recorded) and the names of the fields it changed; never an old or new value. The contact must hold a relation to the client, current or ended; one that does not answers 404. Needs clients.view; a client outside the caller's reach answers 403 forbidden.
| Parameter | In | Required | Description |
|---|---|---|---|
| client_id | path | yes | The client. |
| contact_id | path | yes | The contact. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List a client's calendar events
As the client's Calendar tab lists them: every event, done and dismissed included, earliest due first (by time of day within a date, untimed last). `open=upcoming` keeps the open events due today or later, `open=overdue` the open ones whose date has passed; any other value is 400. Close one with `POST /api/v1/reminders/{id}/complete` or `/dismiss`, whatever its date.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| open | query | no | upcoming or overdue; every event when left out. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Add an event to a client's calendar
As the client's Calendar tab's Add Event does: a custom event, upcoming until it is done or dismissed (`POST /api/v1/reminders/{id}/complete` and `/dismiss` close it). With one of communication_note_id, certification_id or supervisory_visit_id, the event that record's page files instead: a note's follow-up (its date not in the past, else 400), a certification's recertification reminder, or the next supervisory visit. A record that already has an open one is 422 already_open with its id in details.existing_event_id; a record of another client is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The event
List a client's certification periods
Newest first, as the client's Certifications tab lists them.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Record a client's certification period
As the Certifications tab does. A period overlapping another of the client's answers 422 naming effective_date.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientCertificationInput
The period
Read a page of a client's chart
As the /clients/:id/chart page: every record the agency holds for the client, newest first (by occurred_on, then when it was made), with each signed record's state, signers, open signature lines, true copy, signed addenda and void; each document's scan status; each care log's source and attestation. A draft is not an entry, except a care log. Another agency's client answers 404; a filter it cannot read answers 400 naming it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| types | query | no | Record kinds, comma-separated (supervisory_visit, plan_of_care, monthly_client_report, complaint, critical_incident, consent_notice, emergency_information, care_log, half_month_summary, document, legacy_scan); every kind when left out. |
| service_type | query | no | Only entries of this service (personal_care, homemaker, hma); a kind with no service leaves the page while it is set. |
| caregiver_id | query | no | Only entries of this caregiver; a kind with no caregiver leaves the page while it is set. |
| from | query | no | The first date, YYYY-MM-DD, inclusive. |
| to | query | no | The last date, YYYY-MM-DD, inclusive. |
List a client's intake notices
Newest first, the disclosure notices and rights acknowledgements alike.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 25, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Start a client's intake notice
Starts a draft stamped with the agency's current wording, each disclosure item prefilled with its first option (Agency). The client's open draft of that type, when there is one, is returned instead. Another agency's client is 404, before the body is judged.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The notice
List a client's emergency information revisions
Newest first; the first is the current sheet. Each save is a new revision.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Save a client's emergency information
Saves a new revision, as the Emergency information page does; answers to questions not sent keep their current value. An answer the form refuses answers 422 naming the question.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The answers
Delete a client's health summary
As the Medical tab's Delete does; the audit trail keeps it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a client's health summary
The AI-written summary on the client's Medical tab. None yet is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Edit a client's health summary
As the Medical tab's Edit does: replaces the summary's text. Send the lock_version it was read with; a newer one answers 409.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The new text
Write or rewrite a client's health summary
As the Medical tab's Generate and Regenerate do: the AI summarises the client's conditions, allergies, medications and surgeries, replacing any summary there was. A client whose medical record lists none of them, and who has no summary yet, is 422 no_conditions. The AI being unavailable is 503 ai_unavailable.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Record a client's hospital stay
As the client page's Hospital stays card does. A discharge before the admission answers 422 in the form's words.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The stay
Update a client's information sheet
Writes the fields sent, as the Information Sheet page's Save does, the client, medical and case manager parts in one transaction; null or blank clears a field, except first_name, last_name and ssn, where it is 422 null_not_allowed. The answer names the fields written; the SSN is never returned.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to write
Read a client's medical information
The doctor, conditions, allergies, medications, field staff instructions and functional limitations the client page's Medical tab shows; every field null when none were ever saved. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a client's medical information
Writes the fields sent, as the Medical tab's Save does, creating the record on the first write; a blank or null clears a field. 422 nothing_to_change for a body with none of these fields. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to write
Undo a Next Actions snooze
As the page's Undo does: the suggestion is back on the caller's Next Actions for that client. A suggestion that was not snoozed answers the same.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| suggestion_id | query | yes | The suggestion to bring back. |
Snooze a client's Next Actions suggestion
As the client page's Snooze does: the suggestion leaves the caller's Next Actions for that client until the snooze ends. Snoozing it again moves the end.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The suggestion
List a client's other services
The outside providers serving the client (adult day care, a CNA, an RN, PT, another), oldest first, as the client page lists them.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Record a client's other service
As the client page does. No kind, an unknown day or a field past its length answers 422 naming the field.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientOtherServiceInput
The other service
Store scans in a client's paper archive
As the paper archive's upload: 1 to 20 old paper scans (PDF, JPEG or PNG), each stored as its own legacy_paper document with its form type and date, and scanned for viruses before it can be downloaded. The whole body can be up to 3 MB (413 over it; send a larger batch as several requests). A file that is not base64 or is over 1.7 MB is 400 and nothing is stored; otherwise each file is stored on its own and one refused file leaves the others stored. Another agency's client is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The scans
Get a client's PAR unit check
The client page's PAR panel: the current PAR's units by our arithmetic beside the units on the case manager's letter. A client with no current plan carrying a PAR is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Save a client's PAR unit check
As the PAR panel's Save does: writes the figures sent onto the PAR's plans of care, all or none. Send a service's figures under its name; each goes to the current PAR that has a plan for that service (the check or one of other_pars). A figure left out keeps its value, and null or blank clears it. A service no current PAR has a plan for is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The figures
List a client's people
The client's relations, current and ended, each with its contact, ordered by kind, then rank, then start date, as the client page's People section lists them. kind narrows to one kind. Needs clients.view; a client outside the caller's reach answers 403 forbidden.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| kind | query | no | Only this kind of relation. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Relate a person to a client
As the People section's Add does: names an existing contact by contact_id or creates one from contact. A current relation of the same single-current kind, or of the same kind and rank, is ended on the new one's start date and kept as history. Replacing a single-current kind (responsible_party, representative, case_manager, case_manager_supervisor, cma_office) must name the relation it replaces in replaces; without it, or naming one no longer current or at an old lock_version, it answers 409 stale_record and saves nothing. An unknown kind, or a contact with every field blank, answers 422 validation_failed naming the field. warnings lists what the agency may want to check (a possible duplicate person, a representative who is also the client's caregiver); they never stop the save. Needs clients.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientRelationInput
The relation
End a client's relation
As the People section's End does: the relation stays as history with ends_on set, today (Mountain) when the body sends none. A relation already ended answers 200 with it unchanged. A relation that is not this client's answers 404. Needs clients.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes | |
| relation_id | path | yes | The relation. |
Request body application/json object
When it ends
Move a client's relation one place up
US-123.5: as the People section's Move up does, the relation trades ranks with the current relation of its kind above it, so any emergency contact can become contact 1. Only kinds that hold several (emergency_contact, physician, pharmacy, key_holder) move. A lock_version no longer current, an ended relation or a kind that holds one answers 409 and nothing changes. Answers the client's current relations of that kind in their new ranks. Needs clients.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes | |
| relation_id | path | yes | The relation. |
Request body (required) application/json object
The relation as read
List a client's satisfaction surveys
Newest first, drafts and completed, as the client's Surveys tab lists them.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Start a satisfaction survey
A draft, as the Surveys tab's New does; survey_date is required.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json SatisfactionSurveyInput
The survey
Get an intake notice
Its answers, state and signatures.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Answer an intake notice
Saves answers on a draft notice, as its page does. A signed notice answers 409 record_locked; it is corrected with an addendum or voided. A stale lock_version answers 409. Another agency's notice is 404, before the body is judged.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The answers
Record that the client declined an intake notice
US-123.5: as the notice page's declined form does, records on a draft disclosure notice why the client declined to sign, or clears it with a blank declined_reason. It signs nothing; once a reason is saved the office signs that the notice was conveyed verbally (POST /consent-forms/{id}/signatures). A signed notice answers 409 record_locked. Another agency's notice is 404, before the body is judged.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The reason
Sign an intake notice
Records agency staff's signature, typed as the credential's user: on a rights acknowledgement it documents that the notice was given; on a disclosure notice only with declined_reason, which records that the client declined and the notice was conveyed verbally. The first signature locks the notice. A line already signed answers 422 already_signed, one the notice does not take 422 role_not_allowed, a voided notice 409 voided. Another agency's notice is 404, before the body is judged. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
Find contacts
Contacts whose first name, last name or organization match every word of search, ordered by name, among those related (now or before) to a client the caller may open. A search over 8 words answers 400 bad_request. Needs clients.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| search | query | no | Words a name or organization must all match. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Get a contact
One contact. One related only to clients outside the caller's reach answers 403 forbidden. Needs clients.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a contact
As the People section's Edit does: the change reaches every client the contact serves, each of which must be in the caller's reach. Send the lock_version it was read with; one changed since answers 409 stale_record and saves nothing. A refused value answers 422 naming the field. Needs clients.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ContactInput
What to change
Merge contacts that are the same person
US-120.13: the contacts loser_ids names are the same person as the one in the path. Every relation of each one, current and ended, moves to the path's contact, whose own fields are kept; a relation that would list the person twice on a client is kept as deleted history; each one named is deleted; one audit row records the merge. Every client of every contact named must be in the credential's reach. An empty loser_ids, more than 50, or the path's own id among them is 422 invalid; a contact that is not this agency's or is already deleted (so repeating a finished merge) is 404 not_found; a credential without clients.manage is 403; a merge another write got to first is 409 stale. Nothing is written on any refusal.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ContactMerge
The contacts to merge
Set a paper archive scan's form type and date
As the paper archive's Edit: a legacy_paper scan's form type and date on the paper; a null date files it Undated. The file is never replaced. A document that is not one of the agency's archive scans is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The index
Delete an emergency information revision
Deletes a draft revision, as the page's history does; the audit trail keeps it. A signed, amended or voided revision answers 409 record_locked and nothing is deleted. Another agency's revision is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Sign an emergency information revision
Records agency staff's signature, typed as the credential's user (US-101.32). The revision is complete once the client or their authorized representative has also signed, drawn on the device in the app; that line answers 422 drawn_required here. The first signature locks the revision: it is never deleted or changed, and a later save adds the next revision as a draft. A line already signed answers 422 already_signed, a voided revision 409 voided, one another request changed while this one ran 409 stale_record. Another agency's revision is 404, before the body is judged. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
List hospital stays, one client's or a month's
client_id: that client's stays, the latest admission first, as the client page lists them. month (YYYY-MM): every stay with a hospital day in the month, as the Hospital Stays report shows them, with its days in the month and the care recorded on them. One of the two is required (400).
| Parameter | In | Required | Description |
|---|---|---|---|
| client_id | query | no | One client's stays. |
| month | query | no | The month, YYYY-MM. |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Delete a client's hospital stay
One entered in error, as the card's Delete does; the audit trail keeps it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| client_id | query | no | The client the stay is of; a stay of another client is 404. |
Correct a client's hospital stay
Send only what changes; a change that changes nothing writes nothing. A refused value answers 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Change a satisfaction survey
Send only what changes, with the lock_version read; a stale one answers 409.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json SatisfactionSurveyInput
What to change
Complete a satisfaction survey
Saves any final answers and marks it completed, as the Surveys tab's Complete does. Send the lock_version read.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json SatisfactionSurveyInput
Final answers
List the client CSV sync runs of the last 30 days
US-123.5: the Import / Export screen's sync history, newest first: who applied each run, when, how many rows it changed and how many of those were reverted. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 30, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Revert a client CSV sync run
US-123.5: as the screen's Revert, each client the run changed gets its earlier values back unless it changed again since, which is skipped and named. A run already reverted is 404 "Sync run not found or already reverted."; an id naming no run of this agency is 404 not_found. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List what one client CSV sync run changed
US-123.5: the run page: each client the run changed, with every field before and after, sensitive values masked. field keeps the rows that changed a field whose name contains it. A run this agency has none of is 404. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| field | query | no | Part of a changed field's name, case-insensitive. |
| limit | query | no | Rows per page (default 25, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
List clients
The agency's clients in name order, deleted ones left out unless include_deleted=true. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| search | query | no | Every word must match a returned name or identifier, case-insensitively. At most 100 characters and 8 words. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
| include_deleted | query | no | true also lists deleted records, with deleted_at set, so a sync learns of deletions. |
Create a client
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json ClientInput
The client's fields
Update clients on file from a CSV
US-123.5: the clients Import / Export screen's safe-update sync. Each row matches one client on medicaid_id (else first_name, last_name and date_of_birth); a blank field is filled from the row and a field already holding a different value is skipped unless overrides or override_columns name it. dry_run true answers the preview and writes nothing. Where the screen asks to type APPLY (more than 25 matched rows, any override, a sensitive field changing) the apply needs confirm APPLY, else 422 confirmation_required. A field the sync does not update is 400, by name. Needs imports.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The CSV and its overrides
Get a client
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a client
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ClientInput
The fields to change
Mark a client ACP-protected, or remove the mark
US-74.1: a client in Colorado's Address Confidentiality Program (PM 20-007) has its real address, phones and every call location withheld from Sandata; the ACP substitute address and phone sent here go in their place (the address whole or not at all, else 422). Removing the mark needs a reason (422 reason_required or reason_too_short). A request that changes nothing changes nothing and needs no reason. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientAcpProtection
The mark
Set or clear a client's Agency services only flag
US-102.34: true says the client has no outside providers (Access's MHS ONLY), as the client page's Other services section sets it. The body carries the lock_version the client was read with; a client changed since answers 409 stale_record. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientAgencyServicesOnly
The flag
Save a client's IHSS PAR figures
US-123.5: as the client page's IHSS PAR panel does, the code, the weeks and the units on the PAR. The body carries the lock_version the client was read with; a client changed since answers 409 stale_record. A refused figure answers 422 in the panel's words. Needs clients.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The figures
Restore a client's dismissed missing-intake warning
US-123.5: as the client page's Restore does, the warning shows again while a form is missing. A client with no standing dismissal answers 404 "That dismissal was already restored."; another agency's client is 404 not_found. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Dismiss a client's missing-intake warning
As the client page's Dismiss on its missing-intake warning (US-101.42): stores who dismissed it, when, the optional reason and the forms missing now (intake_missing). The warning shows again only when a form outside that list goes missing. 201 for the client's first dismissal, 200 when it replaces one. It blocks nothing. Another agency's client is 404, before the body is judged, and nothing is written. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The dismissal
Set or clear a client's planned supervisory visit slots
US-102.35, #2606: for each quarter N, the month of that quarter (planned_supervisory_qN_offset, 1-3) and the day of that month (planned_supervisory_qN_day) the client's supervisory visit is planned on, as the client page's Supervisory slots set them. Both null leaves a quarter unplanned; a day needs a month (422 validation_failed, in the page's words). planned_supervisory_offset / planned_supervisory_day set all four quarters alike when no per-quarter field is sent. Refused with 409 stale_record when the client changed since lock_version was read. Audited against the credential.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientSupervisoryPlan
The slot
Update a caregiver note
Sets only the fields sent; a field sent as null is cleared, and a required one is refused. A body that changes nothing is 422 nothing_to_change. Notes carry no lock_version: the row is locked and re-read for the change.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json CaregiverNoteInput
The fields to change
List a caregiver note's attachments
Oldest first, as the note page shows them, each with its scan status.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Attach a file to a caregiver note
Attaches a file as the note page's upload does: image/png, image/jpeg, image/gif, image/webp, application/pdf, up to 10 MB, at most 50 on a note, its extension matching its type and its bytes matching both. A refused file writes nothing and answers 422 naming the rule. The file is virus-scanned after it is saved and cannot be downloaded until its scan_status is clean.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) multipart/form-data object
The file
List a caregiver's notes
The caregiver's communication log, newest first. With updated_since the order is change order, for a sync that pages with after_id. A caregiver of another agency, or a deleted one, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
| contact_type | query | no | Only notes of this contact type. |
Add a note to a caregiver's log
Files one note against the caregiver. manager_initials defaults to the API key's user's initials. A caregiver of another agency, or a deleted one, is 404 and nothing is written. Attachments are not accepted here.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json CaregiverNoteInput
The note
Update a client note
Sets only the fields sent; a field sent as null is cleared, and a required one is refused. A body that changes nothing is 422 nothing_to_change. Notes carry no lock_version: the row is locked and re-read for the change.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ClientNoteInput
The fields to change
List a client note's attachments
Oldest first, as the note page shows them, each with its scan status.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Attach a file to a client note
Attaches a file as the note page's upload does: image/png, image/jpeg, image/gif, image/webp, application/pdf, up to 10 MB, at most 50 on a note, its extension matching its type and its bytes matching both. A refused file writes nothing and answers 422 naming the rule. The file is virus-scanned after it is saved and cannot be downloaded until its scan_status is clean.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) multipart/form-data object
The file
List a client's notes
The client's communication log, newest first. With updated_since the order is change order, for a sync that pages with after_id. A client of another agency, or a deleted one, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
| contact_type | query | no | Only notes with this party among their contact_types. |
| caregiver_id | query | no | Only notes linked to this caregiver. |
Add a note to a client's log
Files one note against the client. manager_initials defaults to the API key's user's initials. A client of another agency, or a deleted one, is 404 and nothing is written. Attachments are not accepted here.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json ClientNoteCreateInput
The note
Delete a note attachment
Removes it as the note page's Delete does, for a member holding Clients → Manage (a client note) or Caregivers → Manage (a caregiver note); for anyone else it is 403 or 404, as on the web. The audit trail keeps it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Download a note attachment
The file itself, as the note page's Download serves it, and recorded as a download. A file whose virus scan is not clean is 404, as on the web.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List company documents
The agency's documents, as Agency Compliance > Company Documents lists them.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | |
| offset | query | no |
Upload a company document
Stores the file (multipart field file, or JSON file_base64 with file_name and content_type) with name, description and expires_at, as Company documents > Upload does: its size, type, extension, the agency's quota and its first bytes are checked, then it is scanned for viruses. scan_status is pending until the scan marks it clean; only then can its file be read. A multipart upload takes a file up to 50 MB, the page's limit; a JSON body takes at most 1 MB, file_base64 included. A JSON client with a larger file, up to 50 MB, asks POST /api/v1/company-documents/uploads for a slot and PUTs the bytes to it.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file and its details
Request a slot to upload a large company document
For a file larger than a JSON body carries (1 MB), up to 50 MB, the page's limit: answers upload_url, single-use, bound to this credential and this agency, and valid for 30 minutes (expires_at). PUT the file's bytes to it (PUT /api/v1/company-documents/uploads/{token}) with the same credential; the answer is the stored document. The details are checked now, as Company documents > Upload checks them (type, extension, name, expiry), and the size, the agency's quota and the file's first bytes when the bytes arrive. content_type is optional, else the one file_name's extension names; name defaults to file_name.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The document's details
Upload a company document's bytes to its slot
The body is the file's bytes, nothing else (any content type but JSON, form or multipart, which answer 415), up to 50 MB; over it answers 413 file_too_large. Sent with the credential that requested the slot: another credential's or another agency's slot answers 404, as an unknown one does. A slot stores one document: a slot already used answers 409 upload_slot_used with the document's id in details, one another PUT is still storing 409 upload_slot_in_progress, and one past expires_at 410 upload_slot_expired. A file the upload refuses (422) leaves the slot usable until it expires. The answer is the document, scan_status pending until its virus scan marks it clean.
| Parameter | In | Required | Description |
|---|---|---|---|
| token | path | yes | The slot's token, from its upload_url. |
Request body (required) application/octet-stream string
The file's bytes
Delete a company document
As the page deletes one, at the lock_version it was read with (400 missing, 409 stale_record changed since). The screen report of an OIG attestation is kept with it for seven years: 422 retained. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
A company document
Its details and scan_status; the file is GET .../file. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a company document's details
name, description and expires_at, as the page's Edit does, with the lock_version the document was read with: missing answers 400, a document changed since 409 stale_record. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The details
Read a company document's file
The file once its virus scan marked it clean, as Download serves it. Still scanning answers 409 scan_pending; a threat found 410 scan_infected; a scan that failed 409 scan_error. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Start a data export
Starts the CSV a report page's Export button makes, in the background: export_type payment_report, authorization_utilization, authorization_expiration, authorization_over_utilization, punctuality_report, chart_packet (a client's chart as a ZIP, packet.pdf and records.json) or client_roster (every client as /clients/import-export's Download CSV; include_deleted true adds deleted clients; a roster past the file's row cap fails with the page's sentence) or caregiver_roster (every caregiver as /caregivers/import-export's Download CSV, the same include_deleted, pay columns only for payroll.view; past the agency's 3 caregiver exports a minute it answers 429 export_rate_limited), with params as the page sends them (payment_report: start_date, end_date, check_number, member, batch_id, date_basis, unreconciled, variance, view, status; authorization_expiration: days, renewed (exclude leaves out renewed authorizations); punctuality_report: start_date, end_date, grace_minutes; chart_packet: client_id, and from and to as dates, both optional; the answer's range says which dates it covers, and a packet of the client already running for another range answers 409 packet_running naming it, while one for the same range is answered again). Read GET /api/v1/exports/{id} until status is completed, then its file.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The export
An export and its status
One the credential's user started: status pending, processing, completed or failed, and file_ready.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Read an export's file
A completed export's file, as Download serves it. Still running answers 409 not_ready; failed 409 export_failed, its message the export's own reason; expired 410 expired; gone 410 file_missing.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List import configurations
As Import > Configurations lists them.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | |
| offset | query | no |
Create an import configuration
As Import > Configurations > New does.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The configuration
Delete an import configuration
As the page deletes one, at the lock_version it was read with (400 missing, 409 stale_record changed since). Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
An import configuration
Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change an import configuration
The fields sent, as the page's Edit does, with the lock_version the configuration was read with: missing answers 400, changed since 409 stale_record. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to change
List saved reports
The saved client or caregiver reports (kind) the credential's user can see: their own and the agency's shared ones. Filters are never returned (they can name a client); filter_count says how many a report has.
| Parameter | In | Required | Description |
|---|---|---|---|
| kind | query | yes | |
| limit | query | no | |
| offset | query | no |
Save a report
A saved client or caregiver report (kind), with its columns and filters, as Save on the report page does.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The report
Delete a saved report
One the credential's user may edit, as above. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| kind | query | yes |
Change a saved report
The fields sent, on a report the credential's user may edit: their own, or another member's with clients.manage (client reports) or caregivers.manage (caregiver reports), as the pages allow. Another's answers 404. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| kind | query | yes |
Request body (required) application/json object
The fields to change
List complaints
Each with its answers by the agency's question key. A complaint stays on record: there is no delete, as there is none on the web. The status moves only along the complaint's phases. The agency's complaints in complaint date order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| client_id | query | no | Only this client's complaints. |
| caregiver_id | query | no | Only complaints about this caregiver. |
| complaint_date_from | query | no | Complaints received on or between these days. on or after this date (YYYY-MM-DD, Colorado). |
| complaint_date_to | query | no | Complaints received on or between these days. on or before this date (YYYY-MM-DD, Colorado). |
Create a complaint
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json ComplaintCreate
The complaint's fields
Get a complaint
Each with its answers by the agency's question key. A complaint stays on record: there is no delete, as there is none on the web. The status moves only along the complaint's phases.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a complaint
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ComplaintInput
The fields to change
Sign a complaint
Records the office investigator's signature, typed as the credential's user. The first signature locks the complaint: after it only its status moves, and a PATCH sending any other field answers 409 record_locked; it is corrected with an addendum, or voided. The complainant's line is drawn on the device in the app, so client and representative answer 422 drawn_required. A line already signed answers 422 already_signed; a complaint whose text cannot be read answers 422 content_unreadable; one another request changed while this one ran answers 409 stale_record; a voided one 409 voided. Another agency's complaint is 404, before the body is judged. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
Get the agency's audit readiness
The summary's counts and a page (limit, offset) of the clients and caregivers with a gap, most missing first, as audit_readiness_summary returns it.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Get a caregiver's compliance
Training by course, vaccinations by year, the annual evaluation and the credential dates, what needs attention and the latest OIG check, as caregiver_compliance_status returns them. Another agency's caregiver, or a deleted one, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a caregiver's file completeness
Each item of the caregiver's employee file, as caregiver_file_completeness returns it. Another agency's caregiver is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a client's file completeness
Each item of the client's file with its status, what is wrong and its expiry, as client_file_completeness returns it. Another agency's client is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List caregivers with a compliance problem
The agency's active caregivers with one kind of problem (alert_type), or with any of them when alert_type is left out, as compliance_alerts returns them; each row's alert_types names every problem it has.
| Parameter | In | Required | Description |
|---|---|---|---|
| alert_type | query | no | criminal_background: criminal background check expired or expiring; dora: DORA check expired or expiring; caps: CAPS check expired or expiring; driver_license: driver's license expired or expiring; main_training: main training expired or expiring; training: annual training missing, expired or expiring; evaluation: no current annual evaluation |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List each caregiver's latest OIG check
Each caregiver, whether the monthly screen covers them, and their latest exclusion check, as oig_screening_status returns them.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the agency's OIG exclusion screens
Monthly screens, newest first, with each one's still-open review count, as list_oig_screens returns them; include_single=true adds new-hire and single-caregiver screens.
| Parameter | In | Required | Description |
|---|---|---|---|
| include_single | query | no | Include new-hire and single-caregiver screens. Default false. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Queue a roster OIG screen
Queues a screen of the agency's roster, as the OIG Screening Log's button and run_oig_screen do: 202 with status queued, or already_queued when a screen is already waiting, running or retrying. The screen's row exists once the worker starts. A demo agency, or the Sandata certification tenant, is 422 demo_agency and nothing is queued.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
List provider revalidations
The Medicaid revalidation due date for an NPI the agency bills under, as the Provider Web Portal shows it. Reading one needs compliance.view; adding, changing and deleting one needs compliance.manage (403 forbidden otherwise). The agency's provider revalidations in due date order, the nearest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Create a provider revalidation
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json ProviderRevalidationInput
The provider revalidation's fields
Delete a provider revalidation
Removes the date and its reminders. Needs compliance.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a provider revalidation
Sets only the fields sent; a changed due date is reminded again at 90, 60 and 30 days. Needs compliance.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ProviderRevalidationInput
The fields to change
List critical incidents
A report stays on record: there is no delete, as there is none on the web. The status moves only along the incident's transitions. The agency's critical incidents in incident date order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| incident_type | query | no | Only incidents of this kind. |
| client_id | query | no | Only this client's incidents. |
| incident_date_from | query | no | Incidents on or between these days. on or after this date (YYYY-MM-DD, Colorado). |
| incident_date_to | query | no | Incidents on or between these days. on or before this date (YYYY-MM-DD, Colorado). |
Create a critical incident
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json CriticalIncidentCreate
The critical incident's fields
Get a critical incident
A report stays on record: there is no delete, as there is none on the web. The status moves only along the incident's transitions.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a critical incident
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json CriticalIncidentInput
The fields to change
Sign a critical incident
Records one signature line, typed as the credential's user: office (reported by) or supervisor (supervisor review); one member may sign both. The first signature locks the incident: after it only its status moves, and a PATCH sending any other field answers 409 record_locked; it is corrected with an addendum, or voided. A line already signed answers 422 already_signed; an incident whose text cannot be read answers 422 content_unreadable; one another request changed while this one ran answers 409 stale_record; a voided one 409 voided. Another agency's incident is 404, before the body is judged. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
Delete a caregiver communication note
Soft-deletes the note and its attachments, as the caregiver's communication log does. Notes carry no lock_version.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Delete a caregiver
Soft-deletes the caregiver, as the caregiver list does: it leaves the default list and is listed with include_deleted=true. A caregiver with active client assignments answers 422 has_active_assignments; one already deleted 422 already_deleted.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
Restore a deleted caregiver
Restores a deleted caregiver, as the caregiver list's Restore does. While the caregiver was deleted their telephony PIN may have gone to someone else: meta.pin_resolution says what happened (noop: kept; regenerated: a new PIN, in meta.new_pin; cleared: none could be issued, assign one). meta.new_pin appears in this response only, once; it is never logged, and no later read returns it.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The lock_version read
Delete a client communication note
Soft-deletes the note and its attachments, as the client's communication log does. Notes carry no lock_version.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Delete a client
Soft-deletes the client, as the client list does: it leaves the default list and is listed with include_deleted=true, the web's Show archived. A client with active caregiver assignments or active service authorizations answers 422 has_active_references; one already deleted 422 already_deleted. A client changed since it was read answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
Restore a deleted client
Restores a deleted client to the default list, as the client list's Restore does. A client that is not deleted answers 422 not_deleted.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The lock_version read
Delete a caregiver's evaluation
Deletes the evaluation, as the caregiver's Evaluations tab does; the audit trail keeps what it was. Evaluations carry no lock_version.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Delete a Plan of Care entered in error
Soft-deletes the plan, as the client's Plans of Care tab does: it leaves every list, print, Work Order, Shift Plan and calculator read, and the audit trail keeps it. A draft or a voided plan can be deleted; a signed plan answers 422 plan_signed (void it first, with POST /plans-of-care/{id}/revise or on its page), and one already deleted 422 already_deleted. Deleting a current plan leaves its service with no current plan; no earlier plan takes its place. Work Orders, standing Work Orders and PARs that reference the plan keep their own copies and do not stop the delete. Plans carry no lock_version.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Delete a satisfaction survey
Soft-deletes the survey, as the client's surveys list does. The answer is the survey's id and deleted_at. A survey changed since it was read answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
Delete a supervisory visit
Soft-deletes the visit, as the client's visit list does: the same care_plans.manage for a draft or a finalized visit (403 forbidden otherwise). A visit changed since it was read answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
Delete a caregiver's training record
Deletes the record, as the caregiver's Training tab does; the audit trail keeps what it was. Training records carry no lock_version.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Disconnect DocuSign
As the page's Disconnect does: the agency's tokens and Connect HMAC key are cleared and an audit row written. Envelopes already sent stay at DocuSign. Nothing to disconnect answers the same body and writes nothing. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Read the DocuSign settings
As Settings > DocuSign shows them: the agency's connection, the account a send goes through, and whether a Connect HMAC key is stored. No token and no key is ever shown. Needs agency_settings.manage (403 forbidden otherwise).
Remove the DocuSign Connect HMAC key
Removes the stored key, so Connect deliveries are no longer checked against one. Nothing stored answers the same body and writes nothing. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Store the DocuSign Connect HMAC key
Stores, or replaces, the HMAC key of the agency's DocuSign Connect configuration. From then on a Connect delivery for the agency's envelopes is accepted only when a signature matches it. The key is never shown again. With no current connection it answers 422 not_connected; a key that breaks the rule answers 422 validation_failed. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Request body (required) application/json object
The key
Remove the agency's own DocuSign key
Removes the stored key, so Connect and token refreshes run under the app-wide key again, and marks an active connection as needing a reconnect. Nothing stored answers the same body and writes nothing. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Store the agency's own DocuSign key
Stores, or replaces, the integration key and secret of a Private custom integration the agency made in its own DocuSign account. Connect and every token refresh then run under it instead of HomeCareBilling's app-wide key, and the agency must register the redirect URI of Settings > DocuSign on it. The pair is stored encrypted and never shown again, and the agency's active connection, which was issued under the old key, must be connected again. A pair that breaks a rule answers 422 validation_failed, naming the rule and never the value. The pair is not checked with DocuSign until Connect. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Request body (required) application/json object
The key and secret
List a record's DocuSign envelopes
Newest first, as the record page's DocuSign panel shows the latest: each envelope's status, its signers' names, roles and emails, when it was sent and completed, and the account it went through.
| Parameter | In | Required | Description |
|---|---|---|---|
| record_type | path | yes | The record's type: client_consent_form, client_emergency_info, monthly_client_report, plan_of_care or supervisor_visit. |
| id | path | yes | |
| limit | query | no | Rows per page (default 20, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Send a draft record for signature with DocuSign
As the record page's Send with DocuSign does: DocuSign emails each signer a link, and their signatures land on the record when they have signed. The envelope is created in the background, so it answers 202 with the envelope sending. Through HomeCareBilling's account the price is held on the agency's prepaid credit first, and too little credit answers 402 insufficient_credit with nothing written. A record that is not a draft, one already out for signature, no account to send through, or a signer the record does not take answers 422 with its code; an Idempotency-Key replay answers the first send.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| record_type | path | yes | The record's type: client_consent_form, client_emergency_info, monthly_client_report, plan_of_care or supervisor_visit. |
| id | path | yes |
Request body application/json object
Who signs
Dismiss a DocuSign envelope's mismatch warning
As the record page's DocuSign panel's Dismiss does: the warning on a completed envelope whose record changed after it was signed, or was replaced by a newer copy, is hidden for everyone in the agency until the mismatch changes. Answers the envelope, with warning_dismissed. Dismissing again, or an envelope with no mismatch, writes nothing. Needs the record's .manage: clients.manage for an intake notice or emergency sheet, care_plans.manage for a Plan of Care or supervisory visit, work_orders.manage for a Monthly Client Report (403 forbidden otherwise). An envelope of another record or agency is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| record_type | path | yes | The record's type: client_consent_form, client_emergency_info, monthly_client_report, plan_of_care or supervisor_visit. |
| id | path | yes | |
| envelope_id | path | yes | The envelope's id. |
The OpenAPI document
This document. No credential is needed.
List a caregiver's documents
Newest first, as the caregiver page's Documents tab lists them, each with its scan status. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Upload a document to a caregiver's file
Stores a file on the person's file as the Documents tab's upload does (multipart field file, or JSON file_base64 with file_name and content_type): application/pdf, image/jpeg, image/png, image/gif, image/webp, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain, its extension matching its type and its first bytes matching both. A multipart file may be up to 50 MB; a JSON body takes at most 1 MB, file_base64 included. document_type defaults to other. A refused file writes nothing and answers 422 naming the rule. It is virus-scanned after it is saved and cannot be downloaded until its scan_status is clean.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The file and its details
List a client's documents
Newest first, as the client page's Documents tab lists them, legacy paper scans included, each with its scan status. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| document_type | query | no | Only documents of this type; legacy_paper is the paper archive. |
| form_type | query | no | Only legacy_paper scans of this form type. |
| from | query | no | Only documents whose record_date is on or after this day (YYYY-MM-DD). |
| to | query | no | Only documents whose record_date is on or before this day (YYYY-MM-DD). |
| undated | query | no | true: only legacy_paper scans with no record_date, as the paper archive's Undated count names them (US-123.10). Any paper filter (form_type, from, to, undated) lists the paper archive as its page does: newest record date first, undated last. |
Upload a document to a client's file
Stores a file on the person's file as the Documents tab's upload does (multipart field file, or JSON file_base64 with file_name and content_type): application/pdf, image/jpeg, image/png, image/gif, image/webp, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, text/plain, its extension matching its type and its first bytes matching both. A multipart file may be up to 50 MB; a JSON body takes at most 1 MB, file_base64 included. document_type defaults to other. A refused file writes nothing and answers 422 naming the rule. It is virus-scanned after it is saved and cannot be downloaded until its scan_status is clean.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The file and its details
Delete a document
Removes it as the Documents tab's Delete does; the audit trail keeps it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a document
One document on a client's or caregiver's file, with its scan status. The read is recorded on the PHI access log.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a document's type, notes or expiry
As the Documents tab's Edit does. 422 nothing_to_change for a body with none of these fields.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to change
Download a document
The file itself, as the Documents tab's Download serves it, and recorded as a download. A file whose virus scan is not clean is 404 not_scanned_clean, as the web refuses it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List the EVV issue log
The agency's EVV issues, newest report first, as the EVV issue log page lists them, each with its client's and caregiver's names. Filter by caregiver_id, client_id and status (open or resolved).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| caregiver_id | query | no | Only issues about this caregiver. |
| client_id | query | no | Only issues about this client. |
| status | query | no | open or resolved. |
Log an EVV issue
As the EVV issue log page's form: reported_on and issue are required; the rest may be left out, so an issue about the phone line and nobody in particular saves. A client or caregiver that is not this agency's is 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The issue
Delete an EVV issue
As the log page's Delete: the issue leaves the log. Send the lock_version you read.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| lock_version | query | yes | The lock_version the record was read with: missing answers 400, changed since 409 stale_record. |
Correct or resolve an EVV issue
Only the fields sent change; a field sent as null is cleared. Send the lock_version you read: a changed issue is 409 stale_record. Setting resolved_on marks it resolved.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to change
List the records Sandata parked
The EVV records Sandata refused so many times that the sync stopped sending them, newest first, as the Sandata settings page lists them. Needs the settings page's permission, agency_settings.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Send a parked record to Sandata again
As the settings page's Unpark: the record's refusal count starts over and the next sync sends it. A record of this agency that is no longer parked is 422 not_parked; an id naming none of its records is 404. Nothing changes either way.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List Sandata submissions
The agency's submissions to Sandata, newest first, as the Sandata Submissions page lists them, never their payloads. Filter by record_type, status, and date_from and date_to (the Colorado day it was sent).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| record_type | query | no | Only submissions of this kind. |
| status | query | no | Only submissions in this status. |
| date_from | query | no | Sent on or after this Colorado day (YYYY-MM-DD). |
| date_to | query | no | Sent on or before this Colorado day (YYYY-MM-DD). |
Send everything out of sync to Sandata now
As the Sandata Submissions page's Submit now: queues one sync of every client, employee and visit out of sync with Sandata, and answers how many of each were out of sync at the last check. At most 3 an hour (422 rate_limited); Sandata not set up is 422 not_configured, and while the administrator has Sandata paused platform-wide, 422 globally_disabled.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
List the telephony call log
Every clock-in and clock-out a caregiver made by phone that was recorded on a visit, newest first, as the Telephony Log page lists them. Filter by date_from and date_to (Colorado days) and caregiver_id. Calls that matched no visit are GET /api/v1/unmatched-calls.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| date_from | query | no | Calls on or after this Colorado day (YYYY-MM-DD). |
| date_to | query | no | Calls on or before this Colorado day (YYYY-MM-DD). |
| caregiver_id | query | no | Only calls this caregiver made. |
Log a client's monthly follow-up
As the Log form of Operations > Follow-Ups: completes the client's open monthly follow-up with how they were reached, the day, and optional notes. A client has at most one open. One with nothing open (not due yet, or logged already) is 422 no_open_follow_up and nothing changes. Another agency's client is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json MonthlyFollowUpLogInput
The contact
Undo a logged monthly follow-up
As Undo on Operations > Follow-Ups (US-123.10): clears the logged contact and puts the follow-up back to pending, with one audit row that says it was undone. One still pending is 422 not_logged and nothing changes; another agency's is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List HCB University videos
The narrated training videos of jobs in the app, in the order /university shows them: by section, then by title. The same for every agency.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Get an HCB University video
One video with the pages it shows, its chapters, and for each rendered language the video, captions and poster as storage URLs signed for 6 hours. A URL that could not be signed is null. 404 for a slug the catalog does not list.
| Parameter | In | Required | Description |
|---|---|---|---|
| slug | path | yes | The video's slug. |
Import caregiver-to-client assignments from a CSV file
Reads the file as Import Assignments does: each row names its client and caregiver as the agency has them on file (a row naming either one not found fails with the reason), a service type and start date. column_map says which header holds which field (field to header) when the headers are not the screen's; a field that is not an assignment field, or a header the file does not have, is 422 invalid_column_map. A row already on file is skipped; a closing row (status closed, an end date) closes the matching active assignment when no open Work Order holds the pair. Needs imports.manage and scheduling.manage. The file is csv (text) or csv_base64, header row first, at most 5,000 rows, in a body of at most 1 MB (the MCP tool takes a larger one). dry_run true runs the same import and rolls it all back, so the counts are the ones the real import would answer and nothing is written: no record, audit row or import history. Sending the same file again writes nothing twice: its rows are skipped with the reason already_on_file, also when two sends run at once. Refusals: 403 forbidden naming the missing permission; 422 file_required (no csv or csv_base64, or base64 that does not decode), empty_file, too_many_rows, csv_parse_error, invalid_dry_run; none writes anything.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file
Import PARs from InMyTeam's Authorization export
Reads InMyTeam's Authorization export as Import PARs does (format inmyteam_authorizations): each row one PAR service line, its PatientName matched to exactly one of the agency's clients, its Total read in 15-minute units. Needs imports.manage and authorizations.manage. A row whose client is not found, or found twice, fails with the reason. Any other file is 422 not_an_authorization_export. The file is csv (text) or csv_base64, header row first, at most 5,000 rows, in a body of at most 1 MB (the MCP tool takes a larger one). dry_run true runs the same import and rolls it all back, so the counts are the ones the real import would answer and nothing is written: no record, audit row or import history. Sending the same file again writes nothing twice: its rows are skipped with the reason already_on_file, also when two sends run at once. Refusals: 403 forbidden naming the missing permission; 422 file_required (no csv or csv_base64, or base64 that does not decode), empty_file, too_many_rows, csv_parse_error, invalid_dry_run; none writes anything.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file
Import caregivers from a CSV file
Reads the file as Import Caregivers does: HCB's caregiver columns, or InMyTeam's Caregivers export (format inmyteam_caregivers), whose office roles are skipped as office_staff. Needs imports.manage. A key whose member lacks payroll.manage imports each caregiver without the row's pay rates, W-4 and ADP fields, lists the row under reasons.pay_rates_skipped and answers pay_withheld with the count and the words for it. The file is csv (text) or csv_base64, header row first, at most 5,000 rows, in a body of at most 1 MB (the MCP tool takes a larger one). dry_run true runs the same import and rolls it all back, so the counts are the ones the real import would answer and nothing is written: no record, audit row or import history. Sending the same file again writes nothing twice: its rows are skipped with the reason already_on_file, also when two sends run at once. Refusals: 403 forbidden naming the missing permission; 422 file_required (no csv or csv_base64, or base64 that does not decode), empty_file, too_many_rows, csv_parse_error, invalid_dry_run; none writes anything.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file
Import clients from a CSV file
Reads the file as Import Clients does: HCB's client columns, or InMyTeam's Patients export as it comes out of InMyTeam (format inmyteam_patients). Needs imports.manage. A row matching a client on file by Medicaid ID fills in only what that client left blank (updated); one matching by name and date of birth is skipped. The file is csv (text) or csv_base64, header row first, at most 5,000 rows, in a body of at most 1 MB (the MCP tool takes a larger one). dry_run true runs the same import and rolls it all back, so the counts are the ones the real import would answer and nothing is written: no record, audit row or import history. Sending the same file again writes nothing twice: its rows are skipped with the reason already_on_file, also when two sends run at once. Refusals: 403 forbidden naming the missing permission; 422 file_required (no csv or csv_base64, or base64 that does not decode), empty_file, too_many_rows, csv_parse_error, invalid_dry_run; none writes anything.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file
Import communication notes from a CSV file
Reads the file as Import Communication Notes does (US-123.10): Date, Note, Manager, Employee, Contact Type, Time and the client's name (Client First Name and Client Last Name, or Client Name as Last, First), or the legacy Access Communication table's columns. Each row's client is matched by name to one of the agency's clients; a row whose client is not found, or found twice, fails with the reason and the other rows import. Needs imports.manage and clients.manage. A note already on file is skipped. The file is csv (text) or csv_base64, header row first, at most 5,000 rows, in a body of at most 1 MB (the MCP tool takes a larger one). dry_run true runs the same import and rolls it all back, so the counts are the ones the real import would answer and nothing is written: no record, audit row or import history. Sending the same file again writes nothing twice: its rows are skipped with the reason already_on_file, also when two sends run at once. Refusals: 403 forbidden naming the missing permission; 422 file_required (no csv or csv_base64, or base64 that does not decode), empty_file, too_many_rows, csv_parse_error, invalid_dry_run; none writes anything.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file
Read the phone receptionist
The agency's phone receptionist, as Settings › Phone Receptionist shows it, with the instructions built from it. 409 unavailable while it is not open to the agency. Needs agency_settings.view (403 forbidden otherwise).
Save the phone receptionist
As the page's Save does. Fields left out keep their saved values; answers, sent, replaces the list. 409 consent_required until the phone_receptionist consent is accepted (POST /consents/phone_receptionist); 409 unavailable while it is not open to the agency; 422 names each refused field. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
What to change
Go back to HomeCareBilling's accounts
As choosing HomeCareBilling's accounts in the Accounts section: the agent is deleted in the agency's own ElevenLabs account and built on HomeCareBilling's, then the four saved keys are deleted. Answers as GET /settings/phone-receptionist. Already on HomeCareBilling's accounts, nothing changes, number or none. 409 release_number_first while the receptionist is on the agency's own accounts and holds a number; 409 no_receptionist before the first save. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it.
Choose the phone receptionist's accounts
As the Accounts section of Settings › Phone Receptionist: mode own runs the receptionist on the agency's own ElevenLabs and Twilio accounts, mode platform on HomeCareBilling's. For own, the ElevenLabs key and the Twilio pair are tested with their services first (10 seconds each) and nothing is stored when one is refused (422 elevenlabs_key_refused, twilio_key_refused) or does not answer (503 elevenlabs_no_answer, twilio_no_answer); the four keys are then stored encrypted and never answered, only as set with their last four characters. The agent is deleted in the old account and built in the new one: read GET /settings/phone-receptionist for status live. In own mode HomeCareBilling charges no credits; ElevenLabs and Twilio bill the agency. 409 release_number_first when choosing own accounts while the receptionist holds a number; already in own mode, the ElevenLabs key, the webhook secret and the Twilio auth token may be replaced with a number held, but a new Twilio account SID answers 409 twilio_account_number_held; 422 account_keys_required; 409 consent_required; 409 unavailable; 409 no_receptionist before the first save. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it.
Request body (required) application/json object
The accounts
Release the phone receptionist's number
As the page's Release: releases the number at the phone service, in a job; callers forwarded to it then hear that it is not in service. Answers with number status releasing; read GET /settings/phone-receptionist for the result (no number once released; the number with an error when the release failed and it was kept). 409 no_number; 409 number_busy while it is being bought or released. Needs agency_settings.manage (403 forbidden otherwise).
Buy the phone receptionist's number
As the page's Confirm under the number search: buys the number and attaches it to the receptionist, in a job. It costs money: the answer states the monthly and per-minute prices it was bought at; state them to the member before calling. Answers with number status provisioning; read GET /settings/phone-receptionist for the result (number.status attached, unattached for bought but not yet answering, or none with an error such as a number just taken). 409 not_live until the receptionist is live; 409 number_held while it has a number; 409 consent_required; 409 unavailable; 422 invalid_number. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The number
Attach the phone receptionist's number again
As the page's Try again on a number bought but not yet answering (US-123.72): attaches the number the agency holds again, in a job, without buying another. Answers with number status provisioning; read GET /settings/phone-receptionist for the result (attached, or unattached with an error). 409 no_number; 409 number_busy unless the number is unattached; 409 consent_required; 409 unavailable. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Search numbers for the phone receptionist
As the page's number search: up to 10 local numbers the phone service offers in a three-digit area code, with the monthly and per-minute prices a number costs. Buys nothing. An empty list means none in that area code right now. 422 invalid_area_code; 429 too_many_number_searches past the agency's hourly number searches (shared with the page and MCP); 503 number_service_unreachable when the phone service did not answer in 5 seconds; 409 unavailable while the phone receptionist is not open to the agency. Needs agency_settings.view (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| area_code | query | yes | Three digits, like 720. |
Pause the phone receptionist
As the page's Pause does (US-123.72): the voice service stops answering the agency's calls and the status is paused; settings, number and messages stay. POST .../sync resumes it. Allowed without the consent or the platform flag, since stopping is always safe. 409 no_receptionist before the first save. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
List the agency's open phone receptionist setup requests
The agency's Set it up for me requests that are not resolved or closed, newest first: reference, status, pledged amount and when it was sent. 409 unavailable while the phone receptionist is not open to the agency. Needs agency_settings.view (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 20, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Ask HomeCareBilling to set up the phone receptionist
As the page's Send request under Set it up for me: files a support ticket of category phone_receptionist_setup holding what the agency wants, how to reach the member and the amount it pledges in whole US dollars (1 to 100,000). No payment is taken; HomeCareBilling confirms a price by email before any work. The consent is not needed. Sending the same client_request_id again answers with the first ticket. 409 unavailable while the phone receptionist is not open to the agency; 422 names each refused field. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The request
Build the phone receptionist again
As the page's Try again and Resume do: sets status to building and queues one build of the agent at the voice service from the saved settings; a build already waiting or running is not doubled. Read GET /settings/phone-receptionist for the result (status live, or failed with last_error). 409 consent_required until the consent is accepted; 409 no_receptionist before the first save; 409 unavailable while it is not open to the agency. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Read the phone receptionist's usage and cost
As the Usage and cost section of Settings › Phone Receptionist: for a month (default this month, in the agency's time zone) the calls, their seconds, the minutes billed (each call rounded up to the whole minute), the calls recovered a day late, what was charged to the agency's credits and what the credits could not cover (unbilled, charged first when credits are added), with the per-minute and monthly prices; then the same figures for the five months before. 422 invalid_month; 409 unavailable while the phone receptionist is not open to the agency. Needs agency_settings.view (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| month | query | no | The month as YYYY-MM, like 2026-11. Default: this month. |
Read the Sandata settings
As Settings > Sandata shows them; the username and password say only whether each is saved. Needs agency_settings.manage (403 forbidden otherwise).
Save the Sandata settings
As the tab's Save does, in one transaction with an audit row; send only what changes. A blank username or password keeps the saved one, and a value the tab refuses answers 422 naming the field. Needs agency_settings.manage (403 forbidden otherwise). An API key or AI connection that sends a new or changed credential (an account, username, password, token, number or service address) is refused 403 web_only, naming the Settings tab where a signed-in admin does it; the other settings still save.
Request body (required) application/json object
What to change
Read the Sandata certification page
As Settings > Sandata > Certification shows it: the checklist, progress, why each action is refused, and where each sample client and employee stands with Sandata. Needs agency_settings.manage (403 forbidden otherwise).
Send one Sandata certification test case
The page's Send on one test case, with its audit row. Live, it makes a round 2 case's change and queues the case's records for Sandata, nothing else. In a dry run it writes the records to the server log and keeps nothing, a round 2 change included. The platform switch never pauses the certification tenant, so both go while it is off; elsewhere a paused Sandata answers 409 sandata_paused. 404 not_found for an unknown case; 422 no_records when there are no sample records for it; 409 not_ready while Sandata has not accepted what the case needs; 409 nothing_to_send when Sandata holds or is answering for every record of it; 500 case_incomplete when its change failed, which changed nothing. Needs agency_settings.manage (403 forbidden otherwise). Refused outside the Sandata certification tenant (422 not_certification_tenant).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| case | path | yes | The case's id, as the page read lists it under cases. |
Turn the certification dry run on or off
The page's dry-run switch, with its audit row. On, sending a test case writes its records to the server log and nothing goes to Sandata; off, a test case goes to Sandata's test environment. The switch itself sends nothing. Allowed while Sandata is paused. Refused outside the Sandata certification tenant (422 not_certification_tenant). Answers the whole page. Needs agency_settings.manage (403 forbidden otherwise).
Request body (required) application/json object
The switch
Remove the certification sample records
The page's Remove Sample Data, with its audit row. Refused outside the Sandata certification tenant (422 not_certification_tenant). Needs agency_settings.manage (403 forbidden otherwise).
Create the certification sample records
The page's Create Sample Records, with its audit row: sample clients, employees and visits in the certification tenant. Refused once Sandata submission is off in Sandata settings (422 not_opted_in) and while sample records exist (409 test_data_exists). Needs agency_settings.manage (403 forbidden otherwise). Refused outside the certification tenant (422 not_certification_tenant).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Send the sample employees and clients to Sandata
The Employees test case and the Clients one, each sent on its own (POST /settings/sandata/certification/cases/{id}), so one refused does not stop the other: a refused case carries refused. Live, they are queued for Sandata; in a dry run they are written to the server log and nothing is sent. When neither went, the error says why, as for one case. Needs agency_settings.manage (403 forbidden otherwise). Refused while Sandata is paused for the agency (409 sandata_paused), which the platform switch never does to the certification tenant. Refused outside the certification tenant (422 not_certification_tenant).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Send the next sample visit test case to Sandata
Sends the first visit test case whose visits Sandata does not hold yet (POST /settings/sandata/certification/cases/{id}), one case per call. 409 not_ready until Sandata has accepted that case's clients and employees; 422 no_sample_visits when no visit is left to send; 409 dry_run while the dry run is on (a case's own operation dry-runs it). Needs agency_settings.manage (403 forbidden otherwise). Refused while Sandata is paused for the agency (409 sandata_paused), which the platform switch never does to the certification tenant. Refused outside the certification tenant (422 not_certification_tenant).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Change a certification checklist step
As the page's checkbox and notes do, with the same audit row: completed marks the step done today or not done, keeping its notes; notes replaces them (trimmed, 500 characters at most; null or blank empties them). Answers the whole page. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| key | path | yes | The step's key, as the page read lists it. |
Request body (required) application/json object
What to change
Check the sample records' data format
The page's Check Data Format: every sample record through the Sandata mappers; nothing is sent or saved. Refused while Sandata is paused for the agency (409 sandata_paused), which the platform switch never does to the certification tenant. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Test the Sandata connection
The tab's Test Connection, with the saved settings or the values sent in their place; nothing is saved. A failure answers 422 connection_failed with the reason. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body application/json object
Values to test instead of the saved ones
Clear the telephony settings
Back to the shared system number, as the tab's Clear does: the number's webhook is reset first, then every key is removed. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it.
Read the telephony settings
As Settings > Telephony shows them: the Account SID masked, the Auth Token as whether it is saved. Needs agency_settings.manage (403 forbidden otherwise).
Save the telephony settings
The tab's Test then Save in one call: changed credentials or a new number are tested with Twilio (the account must own the number) and saved only on a pass, then the number's webhook is set. Blank credentials keep the saved ones; all three blank clears the configuration. Moving a number while telephony visits are open goes through with a warning. A failed test answers 422 test_failed. Needs agency_settings.manage (403 forbidden otherwise). An API key or AI connection that sends a new or changed credential (an account, username, password, token, number or service address) is refused 403 web_only, naming the Settings tab where a signed-in admin does it; the other settings still save.
Request body (required) application/json object
What to change
Test the telephony settings
The tab's Test Configuration: the credentials authenticate and the account owns the number. Values sent replace the saved ones; nothing is saved. 20 tests a minute per agency (429 rate_limited). Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body application/json object
Values to test instead of the saved ones
Reveal a saved credential
One saved credential, as the tab's eye icon shows it, with the same audit row; when the audit row cannot be written nothing is returned. null when none is saved. An unknown tab or key answers 404 not_found. Needs agency_settings.manage (403 forbidden otherwise). Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it.
| Parameter | In | Required | Description |
|---|---|---|---|
| tab | path | yes | sandata or telephony. |
| key | path | yes | sandata_username or sandata_password (sandata); twilio_account_sid or twilio_auth_token (telephony). |
List meeting minutes
Minutes are a draft until finalized (POST .../finalize); finalized minutes answer 422 not_draft to a change. A search matches the location, who called the meeting, the notes and old business. The agency's meeting minutes in meeting date order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| search | query | no | Every word must match a returned name or identifier, case-insensitively. At most 100 characters and 8 words. |
| meeting_type | query | no | Only meetings of this kind. |
| meeting_date_from | query | no | Meetings held on or between these days. on or after this date (YYYY-MM-DD, Colorado). |
| meeting_date_to | query | no | Meetings held on or between these days. on or before this date (YYYY-MM-DD, Colorado). |
Create a meeting minutes
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json MeetingMinutesInput
The meeting minutes's fields
Delete meeting minutes
As the minutes page's Delete does, a draft or finalized: they leave every list and read, and the deletion is kept on the audit trail.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a meeting minutes
Minutes are a draft until finalized (POST .../finalize); finalized minutes answer 422 not_draft to a change. A search matches the location, who called the meeting, the notes and old business.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a meeting minutes
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json MeetingMinutesInput
The fields to change
Finalize meeting minutes
As the minutes page's Finalize does; finalized minutes are never changed again. Minutes already finalized answer 422 not_draft; minutes another request changed while this one ran answer 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List a client's monthly reports
A client's monthly reports, newest first, each with its questions and answers. client_id is required; a client of another agency is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| client_id | query | yes | The client. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Get a Work Order month's monthly report
The report the Work Order month holds, as the report page shows it: answers, how it was taken, and its signing state. A Work Order with no report yet, or of another agency, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Save a Work Order month's monthly report
Creates the month's report (201) or updates the one it holds (200): answers, comments and how it was taken. A signed report is 409 record_locked: it is corrected with an addendum, or voided and started again as a new draft. A report the client signed before the electronic record is 422 client_signed. A Work Order of another agency is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json MonthlyClientReportInput
What to save
Correct a Work Order month's signed monthly report
As the report page's Correct does: the signed report is voided with the reason given and kept, with its signatures and true copy, and its answers, comments, how it was taken and its questions are copied into a new draft for the same Work Order, which is the answer. Nothing is signed here. Needs work_orders.manage (403 forbidden otherwise). Without a reason of 3 to 1000 characters it answers 422 reason_required; a draft 422 not_signed; a report signed before the electronic record 409 legacy_signed. A Work Order with no report, or of another agency, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Why it is corrected
Sign a Work Order month's monthly report
Records the office attestation of the month's saved report, typed as the credential's user: the staff member who conducted a phone or video check-in. The first signature locks the report. A line already signed answers 422 already_signed; a report another request changed while this one ran answers 409 stale_record; a voided one 409 voided. A Work Order with no report, or of another agency, is 404. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
List OIG attestations
A screen the agency ran outside the app, attested monthly. company_document_id names a company document the agency already holds; another agency's or a deleted one answers 422 company_document_not_found and nothing is recorded. The agency's OIG attestations in review month order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Create a OIG attestation
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json OigAttestationInput
The OIG attestation's fields
Get a OIG attestation
A screen the agency ran outside the app, attested monthly. company_document_id names a company document the agency already holds; another agency's or a deleted one answers 422 company_document_not_found and nothing is recorded.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List clients' birthdays
As the Birthdays page: active and potential clients with a date of birth, by month from January and by day, optionally one month. Paged, with the count.
| Parameter | In | Required | Description |
|---|---|---|---|
| month | query | no | 1 to 12; left out, the whole year. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Read the punctuality report
As the Punctuality page: the agency's on-time, late and missed clock-ins of a period, counted with its missed clock-in grace minutes, and a page of caregivers best first, with their count. from and to default to the last 30 days; caregiver_id narrows it to one caregiver.
| Parameter | In | Required | Description |
|---|---|---|---|
| from | query | no | The period's first day, YYYY-MM-DD. |
| to | query | no | The period's last day, YYYY-MM-DD (today when left out). |
| caregiver_id | query | no | One caregiver only. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the agency's open shifts
The open shifts the caller may see, soonest first, undated last, as the open shifts screen lists them. filter: active (open or assigned, the default), assigned, completed, cancelled, all, with_responses (at least one live response) or no_responses (none); client_id narrows to one client. A caseload member sees their clients' shifts only. Needs open_shifts.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| filter | query | no | Which shifts; active by default. |
| client_id | query | no | Only this client's shifts. |
| limit | query | no | Rows per page (default 25, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Post an open shift
As the Post open shift screen's Publish does. An ongoing shift fills a Shift Plan slot and takes its days and times from the plan: a client with no Shift Plan holding the slot answers 422 no_shift_plan (details.shift_plan_path), an exact date the slot does not run on 422 not_a_run_day, and a slot already posted 409 slot_already_posted (details.open_shift_id). A note that looks like client information answers 422 client_info_found with details.finding; send it again with acknowledged: [details.finding.fingerprint] to post it anyway. An agency with open shifts off answers 409 open_shifts_off. A start sooner than the agency's post lead hours posts it with a warning. Another agency's client answers 404. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The shift
Suggest an open shift's cross streets
Two nearby major streets for the client's stored point, as the Post open shift screen's Find cross streets does; the answer is a suggestion and nothing is saved. A client in the Address Confidentiality Program, one with no point, a lookup that fails or takes over 12 seconds, or no crossing nearby answers 422 cross_streets_not_found: type two nearby major streets. Another agency's client answers 404. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The client
Read the open-shifts dashboard
As the open shifts dashboard shows it. With no section: counts (open, open_no_responses, assigned_upcoming, paused) and coverage by area (open, no_responses, within_reach per area). With section: one list's page and total: not_responding (people alerted at least the agency's not_responding_alerts times in not_responding_days days who did not respond), onboarding (candidates and potential caregivers waiting for onboarding), pauses (caregivers paused from open shifts or holding unvoided strikes inside the agency's strike_window_days: each row's strikes, last_strike_kind, last_strike_at, and paused_until, null when not paused), activity (open-shift audit rows of the not_responding_days window, pay values redacted) or alerts_sent (every alert of a shift the caller may see; status narrows it). A caseload member reads only their clients' shifts, and no area, lead or caregiver rows. Another section answers 422 invalid_section, another status 422 invalid_status. Needs open_shifts.administer.
| Parameter | In | Required | Description |
|---|---|---|---|
| section | query | no | Which list; the counts and coverage when left out. |
| status | query | no | alerts_sent only: the alerts of this status. |
| limit | query | no | Rows per page (default 25, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Read an open shift
One shift as the list answers it. Another agency's shift, or one of a client off a caseload member's clients, answers 404. Needs open_shifts.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change an open shift
As the Edit screen's Save does: the fields sent change, the rest keep their values; lock_version is required. A lock_version other than the shift's answers 409 stale_record; a shift whose start has passed, or that is completed or cancelled, 409 open_shift_closed; a kind or slot change on an assigned ongoing shift 409 open_shift_assigned; a move onto a slot already posted 409 slot_already_posted. The note and the Shift Plan are judged as on create. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields that change
Assign a caregiver to an open shift
As the responder row's Assign does: the caregiver takes the shift, and an ongoing shift's caregiver is also picked on the client's Shift Plan slot (nothing is generated). A caregiver who did not respond is accepted when the agency's api_may_assign_non_responder is on; when it is off, 422 not_a_responder. An inactive or deleted caregiver answers 422 caregiver_not_active; a shift already assigned 409 open_shift_assigned ("Already assigned to <name>"); a completed or cancelled one 409 open_shift_closed; a client with no Shift Plan 422 no_shift_plan (details.shift_plan_path), with the whole assign rolled back. A schedule clash, a posted rate that differs from the caregiver's pay rate, or a start that has passed is answered as a warning (open_shifts.schedule_clash, open_shifts.rate_differs, open_shifts.start_passed) and the shift is still assigned. Another agency's shift or caregiver answers 404. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The caregiver
Cancel an open shift
As the card's Cancel shift does. A shift already completed or cancelled answers 409 open_shift_closed ("This shift is already cancelled"). Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Close an assigned open shift as completed
As the card's Completed does: the shift moves to completed with outcome completed, and its Shift Plan pick and Visit stay as they are. Before the shift's start it answers 409 not_started while the agency's complete_before_start is off. A shift that is not assigned, a second complete included, answers 409 not_assigned. Another agency's shift, or one off a caseload member's clients, answers 404. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Mark an assigned open shift a no-show
As the card's No-show does, once the shift's start has passed: the assignment is undone as an unassign does it (a scheduled Visit is cancelled, reason caregiver_call_off; one under way is left for the office and answered as an open_shifts.needs_attention warning), the shift is cancelled with outcome no_show, its responders and the assignee are told it is cancelled, and the assignee is struck once. When the strikes in the agency's window reach its strikes_before_pause, the caregiver is paused from responding to open shifts. Before the start it answers 409 not_started ("No-show can be marked once the shift has started"); a shift that is not assigned, a second no-show included, 409 not_assigned; a shift assigned to someone else while the call ran 409 stale_record. Another agency's shift, or one off a caseload member's clients, answers 404. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List who responded to an open shift
The shift's live responses (a withdrawn one is not listed), as the coordinator's card lists them: active caregivers first, then nearest to the shift's service area, then by when they responded. limit defaults to 50 (at most 100). home_area is answered only to a holder of open_shifts.administer. Another agency's shift, or one off a caseload member's clients, answers 404. Needs open_shifts.manage: a view-only credential answers 403.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Remove the caregiver from an open shift
As the card's Remove assignment does: the shift is open again and its live responders, other than the caregiver who left, are told. A one-time cover's scheduled Visit is cancelled (reason schedule_change) and the temporary Assignment it made is closed; an ongoing shift's Shift Plan pick is cleared and the slot's Work Order archived while its start has not passed. A Visit already under way, or an ongoing shift whose start passed, is left for the office and answered as a warning (open_shifts.needs_attention). A shift that is not assigned answers 409 open_shift_not_assigned. Another agency's shift answers 404. Needs open_shifts.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List the agency's service areas
The areas open shifts are posted at, by their place in the list, as the areas page lists them; include_archived adds the archived ones after the rest, by name. Needs open_shifts.view.
| Parameter | In | Required | Description |
|---|---|---|---|
| include_archived | query | no | Add the archived areas. |
| limit | query | no | Rows per page (default 100, at most 500; a larger value is served as 500). |
| offset | query | no | Rows to skip. |
Add a service area
As the areas page's Add does: last in the list, or at position, the others moving to make room. A name the agency already holds, archived included, answers 422 validation_failed naming name. Needs agency_settings.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The area
Add the Denver-metro starter areas
Adds each area of the starter list whose name the agency does not hold, archived included, after its last area, as the areas page's Use the starter list does. A second call adds none and answers inserted 0. Needs agency_settings.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Change a service area
Renames it, moves it (position, clamped to the list), changes its county or point, archives it (archived true, closing the gap it leaves) or restores it (archived false, last unless a position is sent). A field left out keeps its value. Another agency's area answers 404. Needs agency_settings.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields that change
A record's latest paper update
The newest paper update to the record not undone, the data of its "From paper" badge, or data null; undoable says whether the badge offers Undo. Open without the paper-capture consent. 422 invalid_target_kind or invalid_id for a parameter it cannot read.
| Parameter | In | Required | Description |
|---|---|---|---|
| target_kind | query | yes | |
| target_id | query | yes |
Undo a paper update
Undo, as the record page's "From paper" badge does: every value the update wrote and nobody changed since is restored, rows it added are deleted, and lines names each field left alone; the form can then be applied again. Open without the paper-capture consent. Already undone answers 409 already_reverted; a record that is not editable 422 not_editable; an update that created its record (undoable false) 422 created_from_paper; answers the record now refuses (a question form) 422 invalid_answers with field_ids and errors, as apply does. Undo writes the record its apply wrote, so it needs what applying did: besides clients.manage, a Work Order work_orders.manage, a timesheet timesheets.manage, a Plan of Care or supervisory visit care_plans.manage, and a Time and Services Card timesheets.manage too; without it 403 forbidden names the permission and nothing is restored. Another agency's update answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List paper forms
The Paper inbox's forms, newest first, each with its state, form type, target record, the sentence the inbox shows for a failure, the actions it offers (read, discard, choose_target, find_target for a form that matched no record of a kind it never creates, choose_client, choose_form_type with form_type_choices, review, view for an applied form), review_url (the page Review or View opens), unprinted (read from a layout HCB never printed), the scan it was read from (scan_id) and total_count. status narrows them (422 invalid_status for another); scan_id narrows them to one upload's forms, which appear once the scan is prepared. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| status | query | no | |
| scan_id | query | no | Only the forms read from this scan, the id an upload answered (422 invalid_id for another value). |
Discard a paper form
Discard, as the inbox does; an applied form cannot be discarded. A form whose state does not offer the action answers 422 with the inbox's sentence. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
A paper form, as its review shows it
The inbox's fields with the review's: mode, its rows (each field's current and read values, state, attention, the check's sentence, the decision it starts with, blank_allowed: false on a row naming who the client is, and kept, the sentence on a row the apply never writes, such as a stored Medicaid ID), notes (in review the unprinted-layout warning and the checks; once applied what the save said), the summary line (once applied, when and by whom), applied_rows once applied (each value written from paper as after_text beside the value it replaced as before_text, as the applied review shows them), its pages (images are GET /api/v1/paper-capture/pages/{id}/image), the records Choose record offers, and the draft a revised plan was replaced by. A Plan of Care or supervisory visit whose record is signed, revised or not editable says so in notes, and actions add revise_plan for a member with care_plans.manage (POST /api/v1/plans-of-care/{id}/revise on target.id), reopen_visit for a member with care_plans.manage (POST /api/v1/supervisory-visits/{id}/reopen with a reason, on target.id) or retarget_to_draft, as the review offers them; paper revises a signed record, never changes it in place. A PHI view. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Apply a paper form to its record
Apply, as the review does, with one decision per row: accept, keep_current, blank or value. A row left out of decisions is not written, a New row included (the review screen preselects accept for one; this endpoint does not), and an apply that writes nothing puts no From paper on the record. A record changed since get answers 409 stale with the rows as they are now; a needs-attention row left undecided 422 needs_attention naming its field_ids; values the record refuses 422 validation_failed; any other refusal 422 with the review's sentence. A Work Order's Time and Services Card also writes each day as a paper_scan care log; care_log_warnings lists the office draft care logs that took the paper's values, the days the caregiver or an import already logged (kept as they are), the paper days no longer drafts, and each day's differences from the plan; for either card, it also lists each day whose delivery another source recorded, where the paper's times were not written and the recorded times stand (kind recorded; those fields are left out of what the apply wrote). None of these refuses the apply. Besides clients.manage, applying needs the target record's own permission: a Work Order work_orders.manage, a timesheet timesheets.manage, a Plan of Care or supervisory visit care_plans.manage, and a Time and Services Card timesheets.manage too, since it writes the month's timesheet and care logs; without it 403 forbidden names the permission. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The decisions
Choose the client of an unmatched client sheet
The review's client picker for a client sheet that matched no client; until the sheet is applied, choosing another client points it there instead. A form whose state does not offer the action answers 422 with the inbox's sentence. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The client
Apply a paper form to the draft that replaced its plan or visit
For a plan of care revised, or a supervisory visit reopened for correction, since the page was printed: draft_id is get's draft_id. A form whose state does not offer the action answers 422 with the inbox's sentence. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The draft
Choose an unprinted page's form type
The form-type picker: form_key is one of form_type_choices. The page is then read again, which sends it to Anthropic and spends reading credit. A form whose state does not offer the action answers 422 with the inbox's sentence. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The form type
Join two paper forms' pages
Join with, as the inbox does: every page of from_form_id moves to this form, which waits for a Read; from_form_id is joined in and leaves the inbox. A read already done on either form is discarded, so a new Read is needed. Forms of two different form types or records answer 422 mismatch, a page both forms hold 422 duplicate_page, and a form that is being read, applied, discarded or joined already, or already holds every page, 422 not_mergeable, each with the inbox's sentence, as every inbox action refuses. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The form to join in
Read a paper form
Read, or Read again, as the inbox does: the page is sent to Anthropic and spends reading credit. A form waiting for its form type answers 422 awaiting_form_type: choose it first (POST /api/v1/paper-capture/forms/{id}/form-type). A form whose state does not offer the action answers 422 with the inbox's sentence. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Choose a paper form's record
Choose record, as the inbox does: target_id is one of get's candidates or, when actions include find_target, the id of any of the agency's records of the form's kind (a Work Order for a Time and Services Card or Monthly Client Report, a supervisory visit for a Supervisory Visit form), as the review's record search finds them. A form whose state does not offer the action answers 422 with the inbox's sentence. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's form answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The record
A paper form page's image
A URL for the page's image, valid for 300 seconds, issued once the view is recorded. An image the 30-day purge removed answers 410 image_removed; the store not answering 503 storage_unavailable. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required. Another agency's page answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Upload a paper scan
Multipart field file (.jpg, .jpeg, .png, .heic, .pdf), up to 10 MB, as the upload control takes one: the agency's prepaid reading credit is checked against the pages first (422 insufficient_credit), then it is stored and read in the background, and its forms appear in GET /api/v1/paper-capture/forms. The same file uploaded again answers the scan already on file, existing true. A larger file, up to 25 MB, goes through POST /api/v1/paper-capture/scans/uploads. More than the agency's daily uploads answers 429 daily_upload_limit; a type it does not read 422 unsupported_file; over the limit 413 file_too_large. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) multipart/form-data object
The file
Request a slot to upload a large paper scan
For a file larger than 10 MB, up to 25 MB: answers upload_url, single-use, bound to this credential and this agency, valid for 30 minutes. PUT the file's bytes to it (PUT /api/v1/paper-capture/scans/uploads/{token}) with the same credential; the answer is the scan. The name and the origin record are checked now (422 unsupported_file, 422 origin_target_not_found), the credit and the bytes when they arrive. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file's details
Upload a paper scan's bytes to its slot
The body is the file's bytes, nothing else (JSON, form or multipart answer 415), up to 25 MB; over it 413 file_too_large. Sent with the credential that requested the slot: another credential's or agency's slot answers 404, as an unknown one does. A slot stores one scan: used answers 409 upload_slot_used with the scan's id in details, one another PUT is still storing 409 upload_slot_in_progress, one past expires_at 410 upload_slot_expired. A file the upload refuses (422) leaves the slot usable until it expires. Without the agency's paper-capture consent (Settings > Data sharing) it answers 403 paper_capture_consent_required.
| Parameter | In | Required | Description |
|---|---|---|---|
| token | path | yes | The slot's token, from its upload_url. |
Request body (required) application/octet-stream string
The file's bytes
Clear a send to ADP that RUN does not have
As "I checked RUN: not there" on ADP workers does: clears the caregiver's send ADP did not answer (or one still in flight two minutes after it started), or one waiting in RUN's New Hire Wizard that was never finished, so Add to ADP is offered again. 409 hire_not_abandonable for any other (none open, or a send still in flight). 403 read_only for a read-only agency. Credentials whose member holds payroll.send_to_adp only (403 forbidden otherwise); 404 for a caregiver this agency does not have, before anything else; 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Add a caregiver to ADP as a new hire
As Add to ADP on ADP workers does: sends the caregiver to RUN as a new hire (worker.hire) with the legal first and last name, address, hire date and SSN, each left out when missing (RUN's New Hire Wizard asks for it); an ADP user finishes the hire there. Sent once, never retried. Answers what the caregiver's row shows: sent (ADP named the worker; it is now linked), pending_in_adp (linked by the next sync once the hire is finished), or unconfirmed (ADP did not answer: check RUN's new hires before sending again, then DELETE this to clear it). At full access only: 403 submission_blocked while the agency's HomeCareBilling billing blocks submission, 403 read_only for a read-only agency. 409 hire_push_off unless the connection is RUN with allow_hire_push on; 409 already_linked for a caregiver with an ADP worker or an open send; 422 hire_refused when ADP refused the hire; 502 adp_unreachable when the request never reached ADP (nothing sent). Credentials whose member holds payroll.send_to_adp only (403 forbidden otherwise); 404 for a caregiver this agency does not have, before anything else; 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List the agency's cash advances
US-102.37: as the Cash advances page lists them, newest first, filtered by status, search (the caregiver's name) and deduct_in_month (YYYY-MM, the payroll month an advance is deducted in; absent is every month, where the page starts at the current one). totals sums amount and remaining_balance over every advance the filters match, not this page.
| Parameter | In | Required | Description |
|---|---|---|---|
| status | query | no | One of outstanding, partially_repaid, fully_repaid, written_off. |
| search | query | no | Part of the caregiver's name (at most 100 characters). |
| deduct_in_month | query | no | YYYY-MM: the payroll month the advances are deducted in. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Advance cash to a caregiver
Records a cash advance to one of the agency's caregivers, as Cash advances does; payroll recovers it. A caregiver of another agency answers 422.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The advance
Record a repayment of an advance
Lowers the advance's remaining balance by amount, as Cash advances does. A repaid or written-off advance answers 422. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The repayment
Write off what remains of an advance
As Cash advances does, with written_off_reason. A repaid or written-off advance answers 422. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Why
Start a payroll export for a pay period
A pending export for billing_period_start to billing_period_end, with the agency's ADP company code, as Payroll does before it generates the file.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The pay period
Check a payroll export before sending it to ADP
As Payroll exports > Check lists them: every line ADP would refuse and why, with the page where each is fixed, sorted unsendable, refusal, warning, then by caregiver last name. Changes nothing; any member at every access level, no Idempotency-Key. An id naming none of the agency's exports answers 404 not_found, whatever else holds; then 409 payroll_integration_off while the ADP payroll integration is off for the agency.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Download a payroll export's ADP file
The generated CSV, as Payroll exports > Download serves it. A pending export answers 409 not_generated; a file that is gone 410 file_missing. With format adp_import, the file ADP imports as it is, built from the timesheets and cash advances the export was generated from, as Download for ADP builds it: RUN's Time Sheet Import (file Monthly-03012026-03312026.csv and the like) or the Workforce Now paydata file (PR{co}EPI.csv), every line ADP would refuse left out (POST /payroll-exports/{id}/check names them). With entry_sheet, the RUN sheet the office types from, as Entry sheet (to type from) builds it. A format answers 409 payroll_integration_off while the ADP payroll integration is off for the agency, and adp_import answers 422 with the check's unsendable code (product_unknown, no_company_code) and message when no line can be written. Any member at every access level. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| format | query | no | adp_import or entry_sheet builds that file (US-111.6); leave it out for the stored file. |
Generate a payroll export's ADP file
Builds the ADP CSV (format adp for Workforce Now, adp_run for RUN) from the period's approved timesheets, overtime included, as Payroll does, and answers the export and its warnings. A generated export can be generated again; an exported one answers 422 export_already_finalized; no approved timesheets 422 no_approved_timesheets; no ADP company code 422 adp_settings_missing. 1099 contractors are left out of the file (a warning counts them and their hours); a period whose every caregiver is a contractor answers 422 all_caregivers_contractors. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes | |
| format | query | yes |
Mark a payroll export sent to ADP
As Payroll exports does once the file is uploaded to ADP. With record_repayments true, the cash advances the payroll deducts are then repaid in one transaction, and cash_advance_repayments_recorded counts them; if that fails, none is recorded, the export stays marked exported, and warnings says so. A caregiver the file deducted more from than was still owed is named in warnings, as the repayment is capped at the balance. Marking it again records no second repayment. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
Options
Send a payroll export to ADP
As Payroll exports > Send to ADP does: checks the generated export, then queues one line per caregiver to post to ADP and answers the submission at once; poll GET /payroll-exports/{id}/submissions/{submission_id} for each line's result. A caregiver the check refuses, or with no linked ADP worker, is a refused line and the rest go. A press while a send of the export is a standing send answers that send; one ADP already has answers the last send with unchanged true. With resend true, as Fix and resend does: reads what ADP holds for the period, then replaces each line ADP accepted before by its item ids and adds the rest, superseding the earlier send. 409 needs_choice (details.lines, both figures per caregiver) when a line's hours in ADP are not what was sent; send again with choices. 409 resend_required when the hours changed after a send ADP holds lines of (use resend), 409 awaiting_confirmation while an earlier send is unconfirmed, 409 export_exported for an export marked downloaded, 502 read_back_failed when ADP did not answer the read-back. On an SFTP drop connection the send uploads the export's Workforce Now paydata file to the agency's ADP folder once: every caregiver in the file is a sent line, and the export is not marked exported; once ADP holds the file, resend answers 409 not_replaceable. 422 unsendable (with the findings' messages) when the check finds an export ADP cannot take, 422 not_sendable_status for an export that is not generated. Any member at full access, with a key or a grant holding hcb.submit; 403 submission_blocked while the agency's HomeCareBilling billing blocks submission (Download for ADP still works), 403 read_only for a read-only agency or key, 403 insufficient_scope for a grant without hcb.submit; 404 for an export or submission this agency does not have; 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
Nothing to send; resend and choices for Fix and resend
Read a send to ADP and its lines
As Payroll exports shows a send's results: the submission's status and, per caregiver, the line's status, label and ADP's error, never the hours or rates posted. Changes nothing: any member at every access level. 404 for an export or submission this agency does not have; 409 payroll_integration_off while the agency's ADP API connection is off.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| submission_id | path | yes | The submission's id. |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Read the Payroll Summary of a month or one of its pay periods
US-102.37: each caregiver's hours, rates, pay and cash advance, as the Payroll Summary page computes them, sorted by name and paged; totals are over every row. period is "month" (or absent) for the whole month or a pay period's index (pay_periods lists them, from the agency's pay period frequency); anything else is the whole month, and period_start and period_end say which was read. A cash advance another payroll file holds is in the row's cash_advance_held, worded as the page words it, and is not in cash_advance or the totals.
| Parameter | In | Required | Description |
|---|---|---|---|
| year | query | yes | The payroll month's year. |
| month | query | yes | The payroll month, 1 to 12. |
| period | query | no | "month" for the whole month, or a pay period's index (0, 1, ...). |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Read the ADP payroll connection
As Settings > Payroll shows it: which ADP the agency runs, how payroll reaches it, the methods offered, the file settings, and whether each secret is set (never its value). An agency with no connection yet gets one, sent as a file to an unknown ADP. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the ADP payroll integration is off for the agency.
Change the ADP payroll connection
As Settings > Payroll's Save and switch do, through the same checks; send only what changes. A RUN company code that is not 1 to 10 letters and numbers answers 422 naming run_company_code; a method not offered for the product stores file, and notice says so. A body turning enabled on is taken while the integration is off for the agency, when the platform and its plan allow it. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the ADP payroll integration is off for the agency.
Request body (required) application/json object
What to change
Get an ADP Marketplace connect code
As Settings > Payroll's Connect in ADP Marketplace does: a new single-use code to paste into the ADP Marketplace checkout form when buying HomeCareBilling's connector, and when it expires (7 days). A new code replaces the old one, and the connection waits for its ADP Marketplace order. The code is answered once and never stored. Issued only where the tab offers one: 409 marketplace_not_offered unless the connection's ADP product is RUN and HomeCareBilling's ADP Marketplace listing is set; 409 already_connected while the connection is connected through ADP Marketplace, waiting for its ADP administrator's consent, or needs attention (a new code would stop its sending); nothing changes either way. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while connecting through ADP Marketplace is off for the agency. Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Save the ADP API Central credentials
As Settings > Payroll's credentials do: the client ID and secret API Central issued and the certificate it signed for the request from POST /payroll/connection/csr; send only what changes. A certificate that is not one, fits neither HomeCareBilling's request nor its current key, or has expired answers 422 invalid_certificate with the tab's sentence, and nothing is saved. Answers the connection, never a secret. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while sending with the agency's own API credentials is off for it. Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Request body (required) application/json object
What API Central issued
Make the ADP API Central certificate request
As Settings > Payroll's Create certificate request does: makes a new key pair, keeps its private key in HomeCareBilling, and answers the request to give API Central to sign. A live connection keeps its current key until the certificate signed for this request is saved. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while sending with the agency's own API credentials is off for it. Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Save the ADP SFTP drop's settings and key
As Settings > Payroll's SFTP form does: the host, port, user and folder ADP gave the agency for its Automated Paydata Integration, and the private key file; send only what changes. A key that is not an OpenSSH or PEM private key without a passphrase answers 422 invalid_private_key with the tab's sentence, a port that is not a whole number from 1 to 65535 answers 422 invalid_port, and nothing is saved. A new host or port forgets the trusted host key. Answers the connection: the key only as secrets_set.sftp_private_key and sftp_key_fingerprint, never its value. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the SFTP drop is off for the agency. Done signed in to the web app only: an API key or AI connection is refused 403 web_only, naming the Settings tab where a signed-in admin does it, before the body is read.
Request body (required) application/json object
The SFTP drop's settings
Test the ADP connection
As Settings > Payroll's Test connection does, for the connection's method. With the agency's own API Central credentials: one read at ADP with the saved credentials, recording the answer on the connection (active on success, needs_attention with the reason on a failure); connected false with the tab's sentence when ADP refused, did not answer, or a credential is missing. With the SFTP drop: signs in with the saved key and lists the folder, answering "Connected. {folder} holds {count} files." or which step failed; the first success trusts the server's host key; nothing is written to the server. 409 not_api_connection, recording nothing, while the connection sends payroll by file. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the connection's method is off for the agency.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
List the ADP earning mappings
As /payroll/earnings shows them: all twelve slots, every hour kind for employees then contractors, each the saved code or else HomeCareBilling's proposal (saved false). A fixed set, so not paged. Credentials whose member holds payroll.view or agency_settings.view only (403 forbidden otherwise); 409 payroll_integration_off while the ADP payroll integration is off for the agency.
Save one ADP earning mapping
As a row's Save on /payroll/earnings does: sets the slot hour_kind and worker_type name, or clears it with a null or blank earning_code. A refused field answers 422 naming it. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the ADP payroll integration is off for the agency.
Request body (required) application/json object
The slot and its codes
Sync ADP's earning codes now
As /payroll/earnings' Sync from ADP does: queues a read of the agency's ADP earning codes, rate codes and pay cycles, which proposes the regular and overtime mappings ADP holds and lets Payroll exports > Check compare exports with them. One sync per agency waits at a time. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
List the caregivers whose W-4 change payroll has not been sent
US-102.37: the Payroll Summary's W-4 panel, longest waiting first: each caregiver whose filing status or dependents changed since POST /caregivers/{id}/w4-sent-to-payroll last cleared it, with the values now on file.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
List the ADP workers and their caregivers
As /payroll/workers lists them, by ADP name: each ADP worker of the agency's API connection with the caregiver it is linked to, how, and the row's warning. filter=no_adp_worker lists instead the caregivers no ADP worker is linked to. Credentials whose member holds payroll.view or agency_settings.view only (403 forbidden otherwise); 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| filter | query | no | all (default), needs_person (no caregiver yet), linked, or no_adp_worker (caregivers no ADP worker is linked to). |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Sync the ADP workers now
As /payroll/workers' Sync from ADP does: queues a read of every ADP worker, which updates the rows and links the ones the evidence leaves no doubt about. One sync per agency waits at a time. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Unlink an ADP worker
As a /payroll/workers row's Unlink does: the worker needs a person again, and no sync links it on its own. The caregiver's ADP number is left as it is. A worker with no caregiver answers itself. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Link an ADP worker to a caregiver
As a /payroll/workers row's Link does: pairs the worker with the caregiver, and writes the worker's ADP number to the caregiver when the caregiver has none and no other caregiver holds it. 409 already_linked when the worker already has a caregiver; 409 caregiver_already_linked when the caregiver is on another worker; 404 for a worker or caregiver not the agency's. Credentials whose member holds agency_settings.manage only (403 forbidden otherwise); 409 payroll_integration_off while the agency's ADP API connection is off; 409 not_api_connection while it sends payroll by file or SFTP.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The caregiver
Import the agency's rates from a CSV file
Reads the file as Service rates > Import reads it (at most 5,000 rows; columns matched by name), with effective_date for its rows (today when absent). A rate cell with more than two places is rounded half-up to cents rather than refused. preview true answers the first rows checked and writes nothing: each row's rate_per_unit as it would be stored (null for a cell that is no rate, refused in errors) and its notes, which name any rounding ("6.9575 rounded to 6.96"); otherwise every new rate is created and duplicates skipped, and the counts answered.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The file
Choose the fee schedule the agency bills against
use_system_fee_schedule true bills against the system's published schedule, false against the agency's own rates, as the service rates page's switch sets it. Nothing stored is changed; the setting changes which rate is used. Sending the current value changes nothing.
Request body (required) application/json object
The choice
Delete one of the agency's own rates
As the service rates page deletes one. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a rate from a date
Closes the rate the day before effective_date and opens its successor at rate_per_unit from that day, as the rate list's Change Rate does. Only rate_per_unit and effective_date are read: the successor keeps the rate's code, modifiers and description. A closed rate answers 422 rate_already_closed, before any date is looked at, so a retried transition never opens a second successor. An effective_date that is missing or not YYYY-MM-DD answers 422 missing_effective_date; one not after the current one 422 effective_date_must_be_after_current; either one carries any other refused field's error in details. A rate_per_unit that is not a number, or a start date another rate of the same code and modifiers already has, answers 422 with the field's error in details. Another agency's record answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The new rate and its first day
List phone messages
The messages the agency's phone receptionist took, newest first, as Phone Messages lists them, without summary or transcript. filter is open (the default: not handled, not a wrong number), handled, wrong_number or all. Every field the caller supplied is their unchecked words. Needs clients.view (403 forbidden otherwise). 409 unavailable while the phone receptionist is not open to the agency and it holds no message.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 25, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
| filter | query | no | open (default), handled, wrong_number or all. |
Read a phone message
One message in full, the vendor's summary and the transcript included. Records a PHI view. Another agency's id is 404. Needs clients.view. 409 unavailable while the phone receptionist is not open to the agency and it holds no message.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Mark a phone message handled
As Mark handled on Phone Messages does: the message moves to handled, by this member, now. A message another member already handled is 409 already_handled naming them, and nothing changes; one this member handled answers it unchanged. Needs clients.manage. 409 unavailable while the phone receptionist is not open to the agency and it holds no message.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Reopen a phone message
As Reopen on Phone Messages does (US-123.72): a handled message moves back to Open; an open one answers unchanged. Needs clients.manage. 409 unavailable while the phone receptionist is not open to the agency and it holds no message.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List prospects
Someone the agency is following up as a possible client or caregiver, from the Pipeline pages. A status moves only along the pipeline; converting one is POST /api/v1/prospects/{id}/convert. The agency's prospects in newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| search | query | no | Every word must match a returned name or identifier, case-insensitively. At most 100 characters and 8 words. |
| prospect_type | query | no | Only potential clients or employees. |
Create a prospect
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json ProspectCreate
The prospect's fields
Delete a prospect
Deletes the prospect, as the Pipeline page does. A converted prospect answers 422 cannot_delete_converted: its client or caregiver points back to it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a prospect
Someone the agency is following up as a possible client or caregiver, from the Pipeline pages. A status moves only along the pipeline; converting one is POST /api/v1/prospects/{id}/convert.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a prospect
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ProspectInput
The fields to change
Convert a prospect to a client or caregiver
Makes the client (for a potential client) or the caregiver (for a potential employee) from the prospect and marks it converted, as the Pipeline page's Convert does. A potential client's type follows its insurance (private makes a private-insurance client, anything else a Medicaid one), and its Medicaid ID, contact person and address are carried over; a Medicaid ID another client already holds is left off and named in warnings. The person is looked for first, as a create is: a client already on file with the same Medicaid ID and name is linked rather than made twice (converted_to_id is that client), and namesakes on file are counted; both are named in warnings, never refused. Only a prospect at onboarding converts; any other answers 422 invalid_status_for_conversion. A prospect carries no date of birth, so when the agency already has a client or caregiver of the same name that nothing tells apart, nothing is written and the answer is 409 possible_match, whose details list the matches; send the request again with same_person_id (one of the matches, which is linked) or create_new (a new record is made): the list of the matches' ids passes over only those (and, with hidden_seen, as many on cards the caller cannot open as the 409 counted in hidden), so a namesake filed meanwhile is asked about, and true passes over every namesake on file, seen or not. Warn, never block: either answer converts.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The answer to a possible match (empty on the first call)
Make a new client from a CFC calculator and import it
As the import page's "New client from a calculator": the card makes the client, and the calculator is imported for it as POST /api/v1/clients/{id}/cfc-calculator does. When the card's Medicaid ID (or, with none, its name) is already on file for the same person, no client is made and the import is for that client (outcome existing). When the Medicaid ID is on file under another name, nothing is written (outcome conflict, 200, import null): correct the ID, or import for that client with POST /api/v1/clients/{id}/cfc-calculator. A card the client form would refuse (no name, a malformed Medicaid ID) is 422. A file over max_file_size (5 MB) answers 422 file_too_large, and a body over the upload cap, which holds a 10 MB file, 413. What the file holds is judged by the job: a file the parser cannot read ends it failed, unreadable_calculator, and a scan (a PDF with no text, PNG or JPG) ends it failed, paper_capture_consent_required, unless the agency has accepted the paper_capture consent (POST /api/v1/consents/paper_capture).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) multipart/form-data object
A multipart form: the calculator in the field `file` (.xlsx, .pdf, .png, .jpg or .jpeg, at most 5 MB), the client's card read from it (last_name and first_name, and medicaid_id, address and phone when the calculator has them; address as one line, "street, city, ST 12345"), and optionally task_names[] naming the tasks to import when not all of them.
Read a CFC calculator job
A preview or import job: queued or running until its worker ends it, then succeeded with its rows or plans, or failed with its error.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Import a CFC calculator into a client's Plans of Care
Starts an import as the CFC import page does: one current Plan of Care per service on the sheet, each making that service's current plan past, every task or the task_names sent (422 invalid_task_names for any other value). Answers 202 with the job; when it succeeds it carries the new plans and warnings. A file over max_file_size (5 MB) answers 422 file_too_large, and a body over the upload cap, which holds a 10 MB file, 413. What the file holds is judged by the job: a file the parser cannot read ends it failed, unreadable_calculator, and a scan (a PDF with no text, PNG or JPG) ends it failed, paper_capture_consent_required, unless the agency has accepted the paper_capture consent (POST /api/v1/consents/paper_capture).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) multipart/form-data object
A multipart form with the calculator in the field `file`: .xlsx, .pdf, .png, .jpg or .jpeg, at most 5 MB; for an import, optionally task_names[] fields naming the tasks to import when not all of them.
Preview a CFC calculator import
Starts a preview: when it succeeds the job carries each task with the per-day minutes an import would write for this client, or over_cap, and the warnings an import would carry. Changes no plan. A file over max_file_size (5 MB) answers 422 file_too_large, and a body over the upload cap, which holds a 10 MB file, 413. What the file holds is judged by the job: a file the parser cannot read ends it failed, unreadable_calculator, and a scan (a PDF with no text, PNG or JPG) ends it failed, paper_capture_consent_required, unless the agency has accepted the paper_capture consent (POST /api/v1/consents/paper_capture).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) multipart/form-data object
A multipart form with the calculator in the field `file`: .xlsx, .pdf, .png, .jpg or .jpeg, at most 5 MB; for an import, optionally task_names[] fields naming the tasks to import when not all of them.
List plans of care
A client's Plan of Care for one service, with its tasks (task, frequency, minutes). The current plan for a service is the one in force; creating a new one makes it past. The agency's plans of care in effective date, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| client_id | query | no | Only records of this client. |
Create a plan of care
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json PlanOfCareCreate
The plan of care's fields
Get a plan of care
A client's Plan of Care for one service, with its tasks (task, frequency, minutes). The current plan for a service is the one in force; creating a new one makes it past.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a plan of care
Changes the fields sent. A tasks list replaces the plan's tasks; leave it out to keep them. Plans have no lock_version and, as on the web, the last save wins. Lowering a task below what the client's Work Orders schedule is saved, with an over_authorized warning in warnings; tasks adding up to more hours a week than the plan authorizes are saved too, with a care_planning.task_hours_over_authorization warning after it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json PlanOfCareUpdate
The fields to change
Revise a signed Plan of Care
As the plan page's Revise does: the signed current plan is voided with the reason given and kept as signed, and a copy becomes the client's current plan as a new draft, which is the answer (its replaces_id names the original). Needs care_plans.manage (403 forbidden otherwise). Without a reason it answers 422 reason_required; a draft 422 not_signed, a plan no longer current 422 not_current, a voided plan 409 voided.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Why it is revised
Sign a Plan of Care as its supervisor
Records the plan's supervisor line as a typed signature by the credential's user, as the plan page's typed office signature does. The plan's first signature keeps its consent wording with it and locks it. The client's line is signed on a device, on the plan page. A line already signed answers 422 already_signed, a voided plan 409 voided, a plan changed since its first signature 409 content_changed. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
Print a form
The form as its print page renders it for this agency: the same HTML, with the print layout, as the web prints, or that page as a PDF with format=pdf. Every other query parameter is the print route's own, by its name there: the record ids its path takes, an earlier revision's id, and a list print's filters, as the page's own Print link carries them. A parameter the form does not read answers 400 naming the ones it reads. A record of another agency, or an id that names none, answers 404. The forms, with the ids each takes: client_list (The client list; reads status, temporary, client_type, search, sort_by, show_archived); client_report (A client report; reads cols, status, client_type, search, page); client_birthdays (The client birthday list; reads month); caregiver_list (The caregiver list; reads status, search, show_archived); caregiver_report (A caregiver report; reads cols, status, search, page); caregiver_envelopes (Envelopes for every caregiver flagged for one; reads address); caregiver_envelope (An envelope addressed to a caregiver: caregiver_id; reads address); oig_screening (An OIG screening's proof: id); oig_attestation (An OIG monthly attestation: id); plan_of_care (A plan of care: plan_id; reads addenda_through); care_log (A care log's day: id; reads addenda_through); half_month_summary (A caregiver's half of a month for one client, as signed: id); client_care_plans (Every service plan of a client: client_id); phone_task_card (A client's phone task card, the codes a caregiver keys on the phone line: client_id); provider_care_plan_template (The blank provider care plan); provider_care_plan (A provider care plan: id); provider_care_plan_revision (An earlier revision of a provider care plan: id, revision_id); client_information_sheet (A client information sheet: client_id); client_information_sheet_employee (A client information sheet, the caregiver's copy: client_id); client_emergency_information (A client's emergency information: client_id; reads blank, addenda_through); client_emergency_wallet_card (A client's emergency wallet card: client_id); client_emergency_information_revision (An earlier revision of a client's emergency information: client_id, id; reads blank, addenda_through); client_envelope (An envelope addressed to a client: client_id); health_summary (A client's health summary: client_id); missed_visit (A missed visit form: client_id); attempted_visit (An attempted visit form: client_id); client_communication_report (A client's communication report: client_id; reads from, to, sort); satisfaction_survey (A satisfaction survey: client_id, id); caregiver_communication_report (A caregiver's communication notes: caregiver_id; reads from, to, contact_type, search, sort); caregiver_communication_note (One caregiver communication note: id); compliance_report (A caregiver's compliance report: caregiver_id); file_checklist (A caregiver's employee file checklist: caregiver_id); reference_check (A caregiver's reference check form: caregiver_id); caregiver_new_hire (A caregiver's new-hire sheet: caregiver_id); client_consent_form (A client's intake notice (disclosure notice or rights acknowledgement): client_id, id; reads addenda_through); complaint (A complaint: id; reads addenda_through); meeting_minutes (Meeting minutes: id); meeting_minutes_template (The blank meeting minutes); incident (A critical incident: id; reads addenda_through); supervisory_visit (A supervisory visit: id; reads blank, addenda_through); supervisory_visits_planned (A month's planned supervisory visits; reads month, page); work_order (A Work Order: id; reads month); shift_plan (A client's Shift Plan, every shift's Work Order: client_id); client_work_orders (Every Work Order of a client for a month (month=YYYY-MM): client_id; reads month); work_order_blank (The blank Work Order); work_order_blank_card (The empty Time and Services Card; reads service, half, month); work_order_report (A Work Order's monthly client report: id; reads blank, month, report, addenda_through); work_order_card (A Work Order's Time and Services Card: id; reads blank, month, half); work_order_batch (Time and Services Cards in a batch, or with form=report the Monthly Client Reports; reads month, form, blank, half, stacks, monthly_print, service_type, status, wo_type, completeness, caregiver_id, client_id, shift_number, exclude_completed, part, include_ids, page_half); work_order_month (The month-start print of every Time and Services Card; reads month, form, blank, half, stacks, monthly_print, service_type, status, wo_type, completeness, caregiver_id, client_id, shift_number, exclude_completed, part, include_ids, page_half); work_order_schedule (Every Work Order in force with its daily times and hours; reads page); timesheet (A timesheet: id; reads blank); cash_advances (A month's cash advances, or with month=all&status=owed every advance still owed; reads month, status, search); expiring_authorizations (The authorizations (PARs) ending within 30, 60 or 90 days, soonest first; reads days, renewed); evv_issues (The EVV issue log by caregiver (caregiver_id and status filter it); reads caregiver_id, status); evaluations_due (The caregivers whose annual evaluation falls due in a month (month=1..12); reads month); hospital_stays (A month's client hospital stays and the care recorded on those days (month=YYYY-MM); reads month, page).
| Parameter | In | Required | Description |
|---|---|---|---|
| form | path | yes | The printed form. |
| format | query | no | html (the default) or pdf. |
Print a form's record as a PDF
The form for one record as a PDF: {id} is the record id followed by .pdf, the id the form's route names first by id (a plan of care's plan_id, a client form's client_id, a revision form's own id), and the query carries the rest of the route's parameters, as GET /api/v1/print/{form} takes them. A parameter the form does not read answers 400 naming the ones it reads. A form that names no record (a list, a blank template, a batch) is read with format=pdf there instead.
| Parameter | In | Required | Description |
|---|---|---|---|
| form | path | yes | The printed form. |
| id | path | yes | The record id, then .pdf. |
Store a client's PCSP
Stores the PCSP as the plan form's upload does (a multipart field file, up to 50 MB); its id is the source_document_id a plan is then saved with and previewed from.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) multipart/form-data object
The PCSP
List a client's provider care plans
Newest first, as the client's Provider care plans tab lists them. Another agency's client answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| client_id | query | yes | The client whose plans to list. |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Create a provider care plan
Creates the client's plan, born current, as the plan form does. The certification period is decided as the form decides it: the PCSP's period wins where the client's active certification is silent; where both speak and disagree, the request must send certification_choice (422 certification_disagreement names both periods otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The plan
Delete a provider care plan
US-123.5: as the client page's Delete does, the plan is soft-deleted with its revisions kept, and no other plan is made current. A plan already deleted answers 200 with it as it stands; nothing is written. Needs care_plans.manage.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Read a provider care plan
The plan and its current revision's content.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Revise a provider care plan
Saves a new revision, as the plan form's Save does; earlier revisions are kept. client_id and source_document_id are a new plan's only: sending either, null included, is 422 create_only. The certification period is decided as the form decides it: the PCSP's period wins where the client's active certification is silent; where both speak and disagree, the request must send certification_choice (422 certification_disagreement names both periods otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The revision
Make a provider care plan the client's current one
As the plan page's Mark current does; the client's other current plan becomes past.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Record a reconciliation outcome
Records the rows of a reconciliation done without an apply, and whether nothing is left outstanding (which clears the not-yet-reconciled banner).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The outcome
Apply a previewed PCSP's authorisations
Applies the preview the token was minted for, with the decisions, as the reconcile page's Apply does; each row's outcome is answered, and a refused row is a result, not an error. A token already spent answers 409 already_applied, a stale one 409 expired, and another member's PCSP 422 identity_mismatch.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The token and decisions
Preview a PCSP's authorisations
Reads the plan's PCSP and proposes its authorisations, as the reconcile page does, numbering each row. When something can be applied it answers a single-use token, good for expires_in_seconds, that POST .../reconciliation/apply takes with the decisions; the preview it applies is this one. A plan with no PCSP answers 422 no_source_document; an unreadable one 422 unreadable_document.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List provider types and their modifiers
Every provider type the agency bills, with its billing code and modifiers: the agency's own set where it changed one, the system default otherwise.
Set a provider type's modifiers
Sets the modifiers a provider type bills and the rule the batch validation checks, together, as Settings does. It writes the agency's offering for that set and makes no copy of a system template (agency_owned stays as it was). expected_modifiers is the set the caller read: a set changed since answers 409 stale_modifiers and writes nothing. A value that is not a two-character modifier, more than four, or two programs answers 422 validation_failed; a well-formed modifier no fee schedule prices is saved and named in warnings. Needs billing.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| code | path | yes | The provider type's code. |
Request body (required) application/json object
The new set and the one read
What Make recurring would create from a batch
As the batch page's Make recurring dialog proposes it: the cadence and period 1 read from the claims' service dates, the default name and send settings (auto, 09:00 Mountain, on the weekday the batch was sent), and one page of the batch's claims, each with the warnings it would carry (lines_total counts them all). Computed on every call and never stored. Refused: 422 not_upload_source for a batch not made from an uploaded file, 422 not_proposable when the claims cannot repeat as one week, two weeks or a month (the message says why), 403 submission_blocked or insufficient_scope as Submit refuses. Another agency's batch answers 404 not_found.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Hold a recurring run
As the run banner's Hold: a created run is held, so it is not sent until someone submits its batch (POST /api/v1/batches/{id}/submit). A run already held answers it unchanged; a run in any other state 409 run_status, with the banner's words. Needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Re-run a recurring period
As the schedule page's Send again: a cancelled, failed or skipped run's period gets a fresh batch from the schedule's current lines, and the run is created again with a new notice and send time. Its old batch is cancelled first: 422 batch_in_progress while it is still being prepared (changed within the hour). Refused, writing nothing: 409 run_status for a run that has not left (created, held or submitted); 422 schedule_ended; 422 nothing_to_bill when every line is already billed by another batch; 422 no_submission_access when the schedule's owner may not submit; 422 patient_limit_exceeded over the plan's client limit; 422 too_many_claims when the period has more claims than HCPF accepts in one batch, so the schedule must be split. Needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List recurring schedules
The agency's recurring schedules, newest first, as the schedule list shows them, each with next_period.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Make a batch recurring
As Make recurring's confirm: a schedule from the proposal, with any of name, submit_mode, submit_weekday, submit_time and end_date over it, and one line per claim copied field for field (a line whose claim HCPF denied starts paused). 409 schedule_exists, naming it, when the batch already has a live schedule; 422 not_upload_source and 422 not_proposable as the proposal refuses; 404 not_found for a batch this agency does not have; 400 bad_request without batch_id. Line warnings (not paid last period, an EVV visit each week, a PAR ending, more hours a week than the PAR allows) never stop the write: warnings lists each with its line_id. Every write needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The batch and settings
Get a recurring schedule
As the schedule page shows it: the schedule, next_period (the run Skip acts on), one page of its lines (limit and offset page them, lines_total counts them) each with its warnings, and its newest 20 runs with runs_total. Another agency's schedule answers 404 not_found.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 50, at most 100; a larger value is served as 100). |
| offset | query | no | Rows to skip. |
Change a recurring schedule
As the schedule page's settings form and its Pause, Resume and End: the settings sent are saved (with the lock_version read; 409 stale_record when it changed since, 400 bad_request without one), then status moves the schedule. A switch to approval clears the scheduled send of the schedule's runs not yet sent; a send-setting change moves their send time. 422 schedule_ended for an ended schedule; 422 invalid_status for a status that is none. Line warnings (not paid last period, an EVV visit each week, a PAR ending, more hours a week than the PAR allows) never stop the write: warnings lists each with its line_id. Every write needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's schedule, line or run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Add a line to a recurring schedule
As the schedule page's Add line: a line billed from the runs not yet sent on (each batch is rebuilt at the same send time; a line another batch already bills for that period stays out, recorded as a duplicate), after the last. 422 validation_failed names a missing member_id, procedure_code, units or charge_amount; 422 schedule_ended for an ended schedule; 422 batch_in_progress while a run's batch is still being prepared, writing nothing. Line warnings (not paid last period, an EVV visit each week, a PAR ending, more hours a week than the PAR allows) never stop the write: warnings lists each with its line_id. Every write needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's schedule, line or run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The line
Delete a recurring line
As the schedule page's Delete: the line is removed, and the runs not yet sent drop its claims; claims already sent keep their data. 422 schedule_ended for an ended schedule; 422 batch_in_progress while a run's batch is still being prepared, writing nothing. Every write needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's schedule, line or run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| line_id | path | yes | The line's id. |
Change, pause or resume a recurring line
As the schedule page's line editor and its Pause and Resume: the fields sent are saved, then status pauses or resumes the line; the runs not yet sent are rebuilt with the line as it now stands, at the same send time, and runs already sent keep their claims. 422 schedule_ended for an ended schedule; 422 batch_in_progress while a run's batch is still being prepared, writing nothing. Line warnings (not paid last period, an EVV visit each week, a PAR ending, more hours a week than the PAR allows) never stop the write: warnings lists each with its line_id. Every write needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's schedule, line or run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| line_id | path | yes | The line's id. |
Request body (required) application/json object
What to change
Skip a recurring schedule's next run
As Skip next week: the period next_period names is skipped, its run (made already or not) recorded skipped with no batch sent. period_start must be that period's start: any other answers 409 period_moved with the next_period as it stands now, so a retried skip never reaches a second period (a repeated Idempotency-Key replays the first answer). 409 run_status when that period's run has already left (sent, skipped or cancelled); 409 already_delivered when its batch was already handed to HCPF; 422 schedule_ended when the schedule has no next period; 400 bad_request without period_start. Every write needs a credential holding hcb.submit and an agency at full access, as Submit does: 403 insufficient_scope for a credential without hcb.write or hcb.submit, 403 read_only for a read-only agency, 403 submission_blocked while the agency's billing blocks submission; nothing is written. Another agency's schedule, line or run answers 404 not_found and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The period seen
List refused clocks
The clocks a cancelled, completed or verified visit refused, which the server kept for the office: nothing on the visit records them, so the office enters the time itself, then marks each reviewed. Only those not yet reviewed, on visits not deleted, newest first; total counts what remains under the same after. An unknown after id is 400.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| after | query | no | The id of the last clock you read: the page starts after it, so clocks you reviewed meanwhile never make you skip any. Use it instead of offset to work through the list. |
Mark a refused clock reviewed
Marks an open refused clock reviewed by the credential's user, with an audit row, once the office has acted on it; it leaves the list. Idempotent: one already reviewed answers as it is, with no second audit row. One on a deleted visit, or not this agency's, is 404; 500 review_failed means nothing was saved, so retry.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Add a reminder to Today
As Today's Add reminder: a title, a day, an optional time (none is a reminder for the whole day) and notes, about one client (client_id) or, left out, the whole agency. It shows on Today and in the Follow-Ups list until it is done or dismissed.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The reminder
Move a reminder to another day
As Today's Reschedule: an open reminder's new day and, optionally, time; it is upcoming again. A reminder already done or dismissed is 422 not_open and unchanged; another agency's is 404. One changed by another write while this request ran answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The new day
Snooze a reminder
As Today's Snooze: puts an open reminder off by days (7 when left out), counted from its due day or, when it is overdue, from today, and makes it upcoming again. A reminder already done or dismissed is 422 not_open and unchanged; another agency's is 404. One changed by another write while this request ran answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
How long
List remittances
HCPF's 835 remittances: what it paid, denied and reversed. The agency's remittances in receipt order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Get a remittance
What HCPF paid, denied and reversed on one remittance, claim by claim, with each reason in plain English. lines is paged by limit and offset; lines_total counts them all, and a client wanting every line reads until offset reaches it.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| limit | query | no | Rows per page (default 500, at most 1000; a larger value is served as 1000). |
| offset | query | no | Rows to skip. |
Edit a report question
Its wording and its type's settings, as the page's Edit does. Past reports keep the old wording. Needs agency_settings.manage (403 forbidden otherwise). A change the page confirms first answers 409 confirmation_required unless confirm is true.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Hide a report question
New reports stop asking it; past reports keep it. Needs agency_settings.manage (403 forbidden otherwise). A change the page confirms first answers 409 confirmation_required unless confirm is true.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
Confirmation
Set a report question's flag
translated, required_to_sign or printed, to the value sent, as the page's toggles set them. Setting a flag to what it already is changes nothing. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The flag and its value
Move a report question up or down
One place, as the page's arrows do; answers the template's questions in their new order. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Which way
Show a hidden report question
As the page's Restore does. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Read a report template
The report type's questions, hidden ones included, in order, and its printed form settings, as Settings > Report templates shows them. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| report_type | path | yes | The report type. |
Apply a shipped preset to a report template
Replaces the questions with the preset's, as the page's presets do; every question stays editable. An unknown preset answers 422 unknown_preset. Needs agency_settings.manage (403 forbidden otherwise). A change the page confirms first answers 409 confirmation_required unless confirm is true.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| report_type | path | yes | The report type. |
Request body (required) application/json object
The preset
Save a report template's printed form
Its title (null, blank or left out prints the default) and orientation, written whole. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| report_type | path | yes | The report type. |
Request body (required) application/json object
The form
Add a question to a report template
At the end, as the page's Add does; its key is made from the English text and never changes. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| report_type | path | yes | The report type. |
Request body (required) application/json object
The question
Count the agency's records
The aggregate the AI assistant and the query_data tool answer: a count (the default query_type), a per-status breakdown, a count within a date range, or the records missing required fields, for one kind of record. Answers counts only, never a record. An entity and query_type pair the assistant cannot answer is 422 unsupported_query; a malformed date or an unknown status is 422 invalid_filters. Stores nothing, so it needs no Idempotency-Key and is allowed with a read-only key.
Request body (required) application/json object
The question
Read the EVV compliance report
As the EVV Compliance page: the compliance metrics for the range, the trend by day, week or month, and pages of compliance by caregiver and by service type, each with its total. A range longer than 366 days, or date_from after date_to, is 400.
| Parameter | In | Required | Description |
|---|---|---|---|
| date_from | query | no | The first Colorado day of the range (YYYY-MM-DD); the first of this month. |
| date_to | query | no | The last Colorado day of the range (YYYY-MM-DD); today. |
| granularity | query | no | The trend's step; weekly when left out. |
| caregiver_limit | query | no | Rows per page of by_caregiver (default 20, at most 100). |
| caregiver_offset | query | no | Rows of by_caregiver to skip. |
| service_type_limit | query | no | Rows per page of by_service_type (default 20, at most 100). |
| service_type_offset | query | no | Rows of by_service_type to skip. |
Read the visit exception analytics
As the Exception Analytics page: the exception rates for the range, the counts by exception type, resolution times, the rate trend by day, week or month, and a page of exceptions by caregiver with its total. A range longer than 366 days, or date_from after date_to, is 400.
| Parameter | In | Required | Description |
|---|---|---|---|
| date_from | query | no | The first Colorado day of the range (YYYY-MM-DD); the first of this month. |
| date_to | query | no | The last Colorado day of the range (YYYY-MM-DD); today. |
| granularity | query | no | The trend's step; weekly when left out. |
| caregiver_limit | query | no | Rows per page of by_caregiver (default 20, at most 100). |
| caregiver_offset | query | no | Rows of by_caregiver to skip. |
List responses
The files HCPF sent back: acknowledgments of the agency's batches, and remittances. The agency's responses in receipt order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| response_type | query | no | Only responses of this kind: ta1 acknowledges an interchange, x999 a file, era835 is a remittance; the remaining value is a claim-level acknowledgment HCPF does not send in practice. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Get a response
The files HCPF sent back: acknowledgments of the agency's batches, and remittances.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List service rates
What the agency is paid per unit for a billing code and modifiers. The agency's service rates in billing-code order, newest rate first per code. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Create a service rate
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json ServiceRateCreate
The service rate's fields
Get a service rate
What the agency is paid per unit for a billing code and modifiers.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a service rate
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json ServiceRateUpdate
The fields to change
List the CFC programs and their tasks
Every category, offered or not, each with its tasks in order, as Settings > CFC programs shows them. Needs agency_settings.manage (403 forbidden otherwise).
Offer or stop offering a CFC program
As the page's toggle does. Turning off the last active category answers 422 last_active_category. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| category | path | yes | A CFC program category. |
Request body (required) application/json object
Whether it is offered
Add a task to a CFC program
At the end of the category, as the page's Add does. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| category | path | yes | A CFC program category. |
Request body (required) application/json object
The task
Change a CFC task
Its name, minutes or times a week; send only what changes. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Hide a CFC task
The last active task of a category answers 422 last_active_task. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Move a CFC task up or down
One place within its category, as the page's arrows do; answers the category's tasks. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Which way
Show a hidden CFC task
As the page's Show does. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Rename a checklist item
Its key, and caregivers' records under it, stay. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The label
Hide a checklist item
Hides it from caregivers' checklists; saved records stay. The last visible item answers 422 last_active. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Move a checklist item up or down
One place, as the page's arrows do; answers the checklist in its new order. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
Which way
Show a hidden checklist item
As the page's Show does. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List a checklist's items
Every item of the employee-file or compliance checklist, hidden ones included, in order, as Settings > Checklists shows them. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| checklist | path | yes | employee_file or compliance. |
Add a checklist item
Adds an item at the end, as the page's Add does; its key is made from the label. A compliance item is a date-expiry item unless item_type is checkbox. A label that keys an existing item answers 422 validation_failed. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| checklist | path | yes | employee_file or compliance. |
Request body (required) application/json object
The item
List the EVV exception rules
The rules that raise visit exceptions, as Settings > EVV rules shows them; the defaults are set up on first read. Needs agency_settings.manage (403 forbidden otherwise).
Reset the EVV exception rules to the defaults
Replaces every rule with the default set, as the page's Reset does; answers the rules. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Change an EVV exception rule
Its severity, threshold, description or whether it is on; send only what changes. A value the rule refuses answers 422 naming the field. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
What to change
Turn an EVV exception rule on or off
Flips it, as the page's switch does. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List the end-of-service reasons
As Settings > End of Service Reasons: the reasons the client form's Reason for End of Service offers, sorted. Until an admin first changes the list it is the defaults, each with a null id. Paged, with the count.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Add an end-of-service reason
As the page's Add: the defaults are copied in first, so the new reason joins them. A name already on the list, in any case, answers 422 validation_failed; a list of 200 answers 422 list_full.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json object
The reason
Remove an end-of-service reason
As the page's Remove: the client form stops offering it, and every client already closed with it keeps it. Another agency's id, or one already removed, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
A client's Shift Plan
What the Shift Plan screen shows: the plan's settings (made with the agency's defaults on the first read), each service's week against its calculator, one card per shift with its Work Order, its day columns and its rows of day cells (marks and minutes), the task table, the warnings and the checks before a print. Another agency's client answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Change a Shift Plan's settings
Saves the settings sent, as the screen saves each field: days and shifts_per_day by service, shift_settings by shift and key, the others whole. A malformed value answers 422 naming its field and nothing is saved. The generated Work Orders follow at once, with no Generate: each takes the new lines and Time In and Time Out, and the Work Order of a shift the change removes, or leaves with no visits, is archived and named in archived. A shift the change adds gets its Work Order at Generate. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body application/json object
The settings that change
Set a Shift Plan card's Care Instructions
Keeps the text as the shift's Care Instructions, as the card's box does; they are that shift's Work Order notes: Generate writes them, and a change rewrites the notes of a Work Order already generated for the shift (audited as a relayed setting). The Work Order's print shows them under Care Instructions. Blank or null removes them. A shift id no plan has answers 404, a text longer than a Work Order's notes hold 422 too_long. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| shift_id | path | yes |
Request body (required) application/json object
The Care Instructions
Pick the caregiver for a Shift Plan shift
Saves the caregiver picked for the shift, as the screen's caregiver select does, before Generate or after; null lets go of the pick. The pick takes effect at Generate. Any caregiver of the agency on file may be picked: one no longer active comes back as a warning and Generate skips its shift. A caregiver id the agency has no caregiver of on file, or a shift that is no shift, answers 404 and nothing is saved. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| shift_id | path | yes | The shift. |
Request body (required) application/json object
The caregiver
Set one day cell of a Shift Plan card
Keeps count marks on day in the row of the shift as the office's own change, as the screen's cell select does, before Generate or after: every later change to the settings or the task table lays the week out again under it. On a generated shift the row's line on its Work Order is written too, then every shift is timed again. The count the automatic layout gives that cell lets go of the change. A shift the plan does not have, or a row on no Work Order task of the plan, answers 404. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The cell
Set one day's Time In on a Shift Plan shift
Saves the shift's Time In for one day (0 Saturday ... 6 Friday), as the card's time box does: the shift's other days keep theirs, read under the plan's lock. A blank or null time lets go of the day's own start. On a generated shift its Work Order's visit moves too, and what that writes comes back as warnings. A time that is not HH:MM is 400; a shift that is no shift 422 not_in_plan. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| shift_id | path | yes | The shift. |
Request body (required) application/json object
The day and its time
A Shift Plan as an Excel workbook
The screen's Download Excel: the Calculator sheet and one sheet per generated Work Order, named "POC <Last> <First>.xlsx". The checks the screen shows first are GET /clients/{id}/shift-plan's print_problems; they never stop the file. Audited as an export of the client's information before it is sent.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Generate a Shift Plan's Work Orders
Lays out the client's week and writes one standing Work Order per shift, as the screen's Generate does: a new one for a shift that has none, the plan in force of the one it has (a backup kept), and an archive for a shift the plan no longer has. Each shift's caregiver is its saved pick unless caregivers names it. Nothing is refused for the layout: a shift with no visits or no active caregiver is skipped and named, a day past midnight is written with no Time Out, and each is a warning.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
The caregivers chosen
Change a figure of a Shift Plan's task table
Saves one task-table figure on the Shift Plan, never on the Plan of Care, as the screen's task table does, and lays the task out again on the generated Work Orders. times divides the same week into that many visits; min_task or min_week recomputes Times / week. A value that is not above 0 (or not whole, for times) answers 422 invalid_figure, one past a week 422 too_large; a task the plan does not hold 404. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The figure
Add a task to a Shift Plan's task table
Puts a task of the state form in the task table, as the screen's Add task does: on the Shift Plan, never on the Plan of Care. A task the Plan of Care lacks starts at 15 min × 1 = 15 min a week; one taken out earlier comes back with the calculator's figures. It is laid out and reaches the generated Work Orders. A task already in the table changes nothing; a name the form does not list for the service answers 422 unknown_task. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The task
Take a task out of a Shift Plan's task table
Takes the task out of the task table and the layout, as the screen's × does, with the changed cells of its row: on the Shift Plan, never on the Plan of Care, and it returns to the tasks Add task offers. Its line on the generated Work Orders is laid out again without it. A task the table does not hold answers 404. Answers the Shift Plan as the screen shows it next.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | |
| service | path | yes | The task's service. |
| task | path | yes | The task, as the task table names it (Bathing), URL-encoded: Meal Prep/Menu Planning is Meal%20Prep%2FMenu%20Planning. |
Undo the changes to a Shift Plan's cells
Lets go of every cell change, as the screen's Undo my changes does, and returns every row of every generated Work Order that differs from the layout to it; the settings and the task table are kept. Answers the Shift Plan and the shifts written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Add an addendum to a signed record
As the record page's Add addendum does: the addendum is created and signed, as a typed signature by the credential's user, in one step, and the record reads amended; the signed record, its signatures and its true copy never change, and the addendum gets a true copy of its own. The same body and reason sent again by the same user within 60 seconds answers the addendum already made. A draft answers 422 not_signed, a voided record 409 voided, a missing body or reason 422 validation_failed, an unknown record_type 404 not_found. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| record_type | path | yes | The record's type: supervisor_visit, plan_of_care, monthly_client_report, complaint, critical_incident, client_consent_form, client_emergency_info, care_log or half_month_summary; half_month_summary takes no addendum. |
| id | path | yes |
Request body (required) application/json object
The addendum
Read a signed record's history
The record's events, oldest first, as its page lists them: each signature (live or voided), each signature voided, its true copy stored, each signed addendum in full, the record voided, and the record it replaces or that replaced it.
| Parameter | In | Required | Description |
|---|---|---|---|
| record_type | path | yes | The record's type: supervisor_visit, plan_of_care, monthly_client_report, complaint, critical_incident, client_consent_form, client_emergency_info, care_log or half_month_summary; half_month_summary takes no addendum. |
| id | path | yes | |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Correct a signed record as a new draft
As the record page's Correct (new draft) does: the signed record is voided with the reason given and kept, with its signatures and true copy, and its content is copied into a new draft, which is the answer (replaces_id names the voided record). The draft is signed again as any draft is; nothing is signed here. record_type is client_consent_form, client_emergency_info, complaint or critical_incident; another type answers 404 not_found. Needs signed_records.void, and clients.manage for an intake notice or emergency sheet, compliance.manage for a complaint or incident (403 forbidden otherwise). Without a reason of 3 to 1000 characters it answers 422 reason_required; a draft 422 not_signed, a voided record 409 voided, an intake notice whose type already has an open draft 409 draft_exists.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| record_type | path | yes | The record's type: client_consent_form, client_emergency_info, complaint or critical_incident. |
| id | path | yes |
Request body (required) application/json object
Why it is corrected
Void a signed record
As the record page's Void does: the record is marked voided with the reason given and kept as signed, with its signatures and true copy; it takes no further signatures or addenda. A voided Plan of Care that was the client's current plan becomes past; Work Orders made from it are not changed. Needs signed_records.void (403 forbidden otherwise). Without a reason it answers 422 reason_required; a draft 422 not_signed, a voided record 409 voided.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| record_type | path | yes | The record's type: supervisor_visit, plan_of_care, monthly_client_report, complaint, critical_incident, client_consent_form, client_emergency_info, care_log or half_month_summary; half_month_summary takes no addendum. |
| id | path | yes |
Request body (required) application/json object
Why it is voided
List supervisory visits
Each with its checklist questions and answers. A draft is edited here; a completed or signed visit, or a draft already carrying a signature, is changed only on the visit page. The agency's supervisory visits in visit date order, newest first. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| client_id | query | no | Only this client's visits. |
| caregiver_id | query | no | Only visits observing this caregiver. |
| visit_date_from | query | no | Visits on or between these days. on or after this date (YYYY-MM-DD, Colorado). |
| visit_date_to | query | no | Visits on or between these days. on or before this date (YYYY-MM-DD, Colorado). |
Create a supervisory visit
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json SupervisoryVisitCreate
The supervisory visit's fields
List the clients a supervisory visit is due for
The agency's clients by how urgent their next supervisory visit is, most urgent first, with the last visit's date and planned day. With planned_for (US-102.37), only the clients whose planned supervisory month of the quarter is that month, by planned day, as the planned supervisory list shows them; due_status is the same rolling-cadence status either way.
| Parameter | In | Required | Description |
|---|---|---|---|
| planned_for | query | no | YYYY-MM: the month whose planned supervisory visits to list (January, April, July and October are month 1 of their quarter). |
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
Get a supervisory visit
Each with its checklist questions and answers. A draft is edited here; a completed or signed visit, or a draft already carrying a signature, is changed only on the visit page.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a supervisory visit
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json SupervisoryVisitInput
The fields to change
Complete a supervisory visit
Marks it completed and schedules the next visit when the client has a cadence, as the visit page's Complete does. Needs care_plans.manage (403 forbidden otherwise). Unanswered required questions answer 422 naming them; a later step that failed (the next visit, the completing user's reminder cadence) answers 500 internal_error, nothing saved. A visit another request changed while this one ran answers 409 stale_record; send it again.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Set a supervisory visit's date
As the visit page's date field does; a blank or null date clears it. Every change is recorded with the old and new value. A visit another request changed while this one ran answers 409 stale_record; send it again.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The date
Reopen a supervisory visit for correction
As the visit page's Reopen does. A visit with a signature recorded since signatures became records (record_state signed or amended) is voided with the reason given and copied into a new draft, which is the answer (its replaces_id names the original); without a reason it answers 422 reason_required, and a voided visit 409 voided. Any other completed or signed visit has its signatures cleared and returns to draft in place. Reopening needs care_plans.manage (403 forbidden otherwise); a draft with nothing to undo answers 422 already_draft. A visit another request changed while this one ran answers 409 stale_record; send it again.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
Why it is reopened
Sign a supervisory visit
Records one signature line, as the visit page does: supervisor (signed as the credential's user, under name or the visit's supervisor), client and pcp (by name, required), caregiver (the visit's caregiver). A line already signed answers 422 already_signed; unanswered required questions answer 422 naming them. A visit another request changed while this one ran answers 409 stale_record; send it again. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The signature
List your support tickets
The support tickets the API key's user raised, newest first, with where each has got to. Tickets other members raised are not listed.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only tickets in this state. |
| priority | query | no | Only tickets at this priority. |
Open a support ticket
Sends a request to the HomeCareBilling support team. Send it ONCE per problem: a second call files a second ticket. A bug report the server cannot complete from the user's recent activity is 422 needs_more_info and files nothing: its details carry the questions (missing, questions) and a follow_up_id; ask the user, then send the request again with the answers and that follow_up_id, which files it once however often it is sent. The description needs at least 20 characters; a field that is missing, too long or not one of its values is 422 naming it. A screenshot is not accepted. Requests share the in-app assistant's ceiling: past it the answer is 429 support_ticket_limit. Support replies by email, quoting the reference.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json SupportTicketInput
The request
Get one of your support tickets
One ticket the API key's user raised. A ticket another member raised, or another agency's, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
List task set templates
A reusable set of tasks with default minutes and visits a week, from Settings > Task templates. Creating, changing and deleting one is an admin's (403 forbidden otherwise). The agency's task set templates in the default template first, then name order. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| service_type | query | no | Only templates for this service. |
Create a task set template
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json TaskSetTemplateInput
The task set template's fields
Delete a task set template
Deletes it, as the settings page does; Work Orders made from it keep their tasks. The agency's default template answers 422 cannot_delete_default. Needs agency_settings.manage (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a task set template
A reusable set of tasks with default minutes and visits a week, from Settings > Task templates. Creating, changing and deleting one is an admin's (403 forbidden otherwise).
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Update a task set template
Sets only the fields sent. lock_version is required: send the value you read, and a record changed since answers 409 stale_record.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json TaskSetTemplateInput
The fields to change
Create a month's timesheet from an assignment
Makes the client and caregiver's timesheet for year and month from the assignment, with a blank entry per day, as Timesheets > New does. A month outside the assignment, an inactive assignment or one the Work Order already generated answers 422 or 409. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The month
Change a time entry
Changes the fields sent, as the entries page does, and recalculates the hours. A timesheet that is not a draft answers 422 not_editable.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to change
Pull an entry's EVV clock times from its matched visit
Copies the clock-in and clock-out of the EVV visit matching the entry's client, caregiver and date onto the entry and links the visit, as the entries page's Pull EVV does. The visit is matched by the server, never named by the client. A flagged visit (an EVV exception, or one not verified) answers 422 evv_flagged naming the flag; no matching visit 422 no_evv_match; a timesheet that is not a draft 422 not_editable. An entry of another agency's timesheet answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Change a task
Changes the fields sent, as the entries page marks a task done or not.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Request body (required) application/json object
The fields to change
List timesheets
The hours worked for one client and caregiver in one billing period. The agency's timesheets in billing-period order, newest first, deleted ones left out unless include_deleted=true. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| client_id | query | no | Only records of this client. |
| caregiver_id | query | no | Only records of this caregiver. |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
| include_deleted | query | no | true also lists deleted records, with deleted_at set, so a sync learns of deletions. |
Delete a draft timesheet
Deletes the timesheet, as the timesheet list does. Only a draft deletes: any other status answers 422 not_draft. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Get a timesheet
The hours worked for one client and caregiver in one billing period.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Approve a submitted timesheet
Approves it, as the returned timesheet bar does. warnings names hours stored on the timesheet that differ from what its entries add up to; the stored hours bill. A timesheet not awaiting approval answers 422 not_submitted. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
The claim lines an approved timesheet bills
Builds the claim lines from an approved timesheet, as the billing summary does, each with the fields a claim returns (the patient's date of birth, address and gender, which the 837P carries, are not returned; charge_amount only for a credential holding Billing & claims → View). Nothing is written. A timesheet that cannot bill answers 422 billing_refusal with the billing summary's reason. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Add a time entry to a draft timesheet
Adds an entry for a date in the billing period and recalculates the hours. A timesheet that is not a draft answers 422 not_editable. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The entry
Export an approved timesheet for billing
Exports it, as the returned timesheet bar's Export does; exported is final. A timesheet that is not approved answers 422 not_exportable. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Reject a submitted timesheet back to draft
Returns it to draft with the reason, clearing its signatures and voiding the half-month summaries that covered it, as the returned timesheet bar does. No reason answers 422 reason_required, a null or blank one 422 null_not_allowed; a timesheet not awaiting approval 422 not_submitted; a covering summary voided meanwhile 409 voided. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The reason
Move a released timesheet back to draft for correction
Returns an approved timesheet a denied claim sent back for correction to draft, clearing its signatures and voiding the half-month summaries that covered it, as the release panel does. Without a release it answers 422 no_release; a covering summary voided meanwhile 409 voided. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Sign one of a draft timesheet's four slots
Signing needs signed_records.sign and timesheets.view, not timesheets.manage (403 forbidden naming the permission otherwise). A caregiver slot is recorded as the caregiver's paper signature on file (the office never signs in the caregiver's name), with the credential's user as who recorded it; a client slot needs client_name matching the client's name (422 client_name_required when it is blank, 422 client_name_mismatch when it is not the client's). A signed slot answers 409 already_signed unless resign is true, which needs signed_records.void (403 forbidden otherwise). A re-sign voids the half-month summary holding the half with every signature on it, the other role's included, drafts a fresh one from the hours as they now stand, writes a paper signature on file in the other line again on it, and signs the slot on it; another timesheet of the same service that relied on the voided summary must be signed again. The same re-sign retried changes nothing. The signature is written on the half-month summary of the client, caregiver and the timesheet's service, and nothing is written on the timesheet; a half whose client line was skipped with a reason answers 409 half_complete, resign or not; a role held by the paper card of another Work Order of the client and caregiver answers 409 paper_card_on_file, resign or not. When the half's hours changed after a line was signed on its summary, a paper signature on file is redrawn onto a fresh summary of the hours as they now stand and the slot signs that one; a line someone signed for the earlier hours answers 409 signed_hours_changed, and that line is re-signed first. A half not yet ended answers 422 signature_period_not_reached. A timesheet of another agency, or a deleted one, answers 404 and nothing is written. An agency API key answers 403 signature_requires_person: a key is not a person and signs nothing; a member signs in the web app or through an AI app they connected.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The slot
Submit a draft timesheet for approval
Submits it, as the returned timesheet bar does. A half counts as signed when the pair's half-month summary for it is signed by the caregiver and the client (in the app, in the office, or on the Timesheet's own paper card) for the hours the Timesheet bills. Missing signatures answer 422 signatures_required unless acknowledge_missing_signatures is true (the page's Submit anyway); no hours answers 422 no_hours_logged. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body application/json object
Options
Add a task to an entry of a draft timesheet
Records a task done on one of the timesheet's entries, as the entries page does. task_name is one of HCPF's task names. An entry of another timesheet answers 422 entry_not_in_timesheet. A timesheet of another agency, or a deleted one, answers 404 and nothing is written.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The task
List unmatched calls
Telephony clock calls that matched no visit, newest first, each with the calling number masked to its last four digits. Filter by status and by the Colorado day the call came in.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| call_date_from | query | no | Only calls received (Colorado days) on or after this date (YYYY-MM-DD, Colorado). |
| call_date_to | query | no | Only calls received (Colorado days) on or before this date (YYYY-MM-DD, Colorado). |
| after | query | no | The id of the last call you read: the page starts after it, so calls you resolved meanwhile never make you skip any (offset would). total counts what remains after it. |
Dismiss an unmatched call
Dismisses a pending call with a reason, as the screen does; it can be undone within 24 hours. The reason is trimmed, then must be 10 to 500 characters (422 invalid_reason); a call no longer pending is 422 naming status.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The reason
Match an unmatched call to a visit
Records the call as the visit's clock-in or clock-out, as the unmatched-calls screen does. The visit must be this agency's and the call's caregiver's, in a status that takes that clock: 422 names visit_id or the rule. A call no longer pending is 422 naming status. A call kept without its caller's number (originating_phone_number empty) cannot be recorded as a phone clock: 422 no_caller_number; dismiss it and enter the time on the visit.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json object
The visit
Undo a dismissal
Returns a dismissed call to pending within 24 hours of its dismissal, as the screen does. A call not dismissed is 422 naming status; past the window, 422 undo_window_expired.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
List visit exceptions
An EVV exception: a rule a visit broke, or (sandata_raised) an exception Sandata raised on it as the office recorded it; its resolution; and its Sandata acknowledgement state. A deleted visit's exceptions are kept as they are, as the exception queue keeps them. Exceptions are not deleted; only resetting a demo agency removes its records, all of them. The agency's visit exceptions in severity order, errors first, then newest detected. With updated_since the order is change order, for a sync that pages with after_id.
| Parameter | In | Required | Description |
|---|---|---|---|
| limit | query | no | Rows per page (default 100, at most 200; a larger value is served as 200). |
| offset | query | no | Rows to skip. |
| status | query | no | Only records with this status. |
| exception_type | query | no | Only exceptions of this type. |
| severity | query | no | Only exceptions of this severity. |
| visit_id | query | no | Only exceptions on this visit. |
| client_id | query | no | Only records of this client. |
| caregiver_id | query | no | Only records of this caregiver. |
| detected_from | query | no | Only exceptions detected on or after this date (YYYY-MM-DD, Colorado). |
| detected_to | query | no | Only exceptions detected on or before this date (YYYY-MM-DD, Colorado). |
| updated_since | query | no | Only records changed at or after this instant (ISO 8601, with an offset), compared to the second. The list is then in change order: updated_at, then id. |
| after_id | query | no | With updated_since, a cursor: send the last record's updated_at as updated_since and its id as after_id to get the next page. Use this, not offset, to sync: an offset skips a record when an earlier one changes between two requests. The sync is at least once: timestamps are whole seconds and set before commit, so a record changed in the cursor's second, or committed late, can fall behind the cursor. Start each sync pass a minute before the newest updated_at you saw, and treat every record returned as current: apply it over what you hold. A record can change twice within one second, and not every change moves lock_version, so the same updated_at and lock_version do not mean the same content. |
Resolution and reason codes
The resolution codes a resolve takes, and the Colorado reason code (Addendum Appendix 3) that describes each exception type, as reference data.
Resolve visit exceptions in bulk
Acknowledges or dismisses up to 100 exceptions with one reason, each on its own, so one failing never undoes another. Only open exceptions of this agency are resolved; the rest, including one resolved elsewhere meanwhile, are skipped.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
Request body (required) application/json VisitExceptionBulkResolve
The exceptions and the resolution
Get a visit exception
An EVV exception: a rule a visit broke, or (sandata_raised) an exception Sandata raised on it as the office recorded it; its resolution; and its Sandata acknowledgement state. A deleted visit's exceptions are kept as they are, as the exception queue keeps them. Exceptions are not deleted; only resetting a demo agency removes its records, all of them.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Assign a visit exception
Assigns the exception to a user of this agency, or unassigns it with null, as the exception page does (US-94.24). The last assignment wins; it takes no lock_version. A user of another agency answers 422 assignee_not_found; an exception of another agency 404. One changed by another write while this request ran answers 409 stale_record, and nothing is saved.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json VisitExceptionAssignment
Who it is assigned to
Resolve a visit exception
Resolves an open exception. Its acknowledgement is queued to Sandata only when it carries an ACK exception code Sandata raised (15 or 21); Sandata takes none for any other. An exception that is not open is 422 naming status; dismiss without resolution_notes is 422 naming resolution_notes; correct without both adjusted times is 422; correcting one whose visit was deleted is 422 visit_deleted. One changed by another write while this request ran answers 409 stale_record, and nothing is saved.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json VisitExceptionResolve
The resolution
Withdraw the exception code recorded as raised by Sandata
Withdraws a wrong code recorded on the visit as raised by Sandata (US-98.29): the exception stays, with status withdrawn and a moved updated_at, leaves the acknowledgement queue, and the right code can then be recorded. Allowed while its acknowledgement is pending, failed or held; one already sent (submitted or accepted) is 422 already_sent. A visit with no code recorded, deleted or foreign, is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes |
Record the exception Sandata raised on a visit
Records the ACK exception Sandata raised on a visit it took (15 Unmatched Client ID / Phone or 21 No Show Exception, read off Sandata's Aggregator) as a sandata_raised exception, and queues its acknowledgement to Sandata. At most one per visit. A visit Sandata has not taken is 422 not_sent; a second record on the visit is 422 already_recorded; a deleted or foreign visit is 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| Idempotency-Key | header | yes | 1-255 printable ASCII characters, unique per intended write and scoped to the API key sending it. A retry with the same key and the same request (method, path, query string and body) replays the first answer; the same key with any other request is 422. While the first request is still running, a retry is 409: wait and retry. An answer that says nothing persisted leaves the key free, so a retry with it runs again: a 503 with Retry-After, a 500 for a failure on our side that changed nothing (a file store refusal, an audit record that could not be written), and a 410 file_missing. Keys bind for 24 hours. |
| id | path | yes |
Request body (required) application/json VisitSandataException
The exception Sandata raised
Read a client's month of visit evidence
As the /clients/:id/evidence grid: every calendar day of the month for the client and caregiver, with the day's state (none, corroborated, single_source, conflict or conflict_dismissed), each evidence source's visits and billable times, timesheet_drifts (deprecated, always empty: a Timesheet day references its care log, so the two cannot differ), the keys of the day's open conflicts, and who dismissed each dismissed one, when and why. Another agency's client or caregiver answers 404.
| Parameter | In | Required | Description |
|---|---|---|---|
| id | path | yes | The client. |
| caregiver_id | query | yes | The caregiver. |
| month | query | no | The month, YYYY-MM; this month (Mountain) when left out. |