Skip to main content
Every error is JSON in one format: an error sentence for people, a stable code for your program, and for validation errors every problem in errors. Switch on the status and the code, not on the sentence, which we may reword.
A 403 can also carry a code that says the practice’s engagement has ended or lapsed; the sentence says which.

Unexpected errors

A 500 always has this body: it never repeats what you sent and never shows internal details. It does not tell you whether anything was saved: some claims of a batch may have been. Sending claims is idempotent by claim_number, so send the same request again; a claim that was saved comes back as the same claim. If it keeps happening, write to us with the time of the request.

Validation errors

A 422 lists every problem. In a batch, each message starts with the claim’s position, counting from 0. Messages name the field and never repeat what you sent.
What a claim needs:
  • The patient’s first_name, last_name and date_of_birth.
  • claim_number (up to 128 printable characters, once per batch) and payer_claim_number (up to 128).
  • payer_name and date_of_service.
  • A billed_amount or denied_amount (positive).
  • denial_codes (up to 20) or a denial_reason.
  • Dates as YYYY-MM-DD, not in the future. plan_type, if you send it, from the documented list.
  • already_appealed, if you send it, inside claim as a JSON boolean: true or false, not "yes", "true" or 1. A form-encoded body sends text, so it is refused too.

A refused claim inside a successful response

A claim whose claim number you already used for a different patient, or for a different claim of the same patient (another date of service or procedure code), doesn’t fail the request. It comes back in claims with created: false and an error, and the others are processed:

No signed business associate agreement

Sign it in Settings → Agreements, then retry.