For developers
Every clearinghouse job is one API call.
Today Payerworks is an engine you use beside your current clearinghouse: nothing is sent to a payer until that payer’s route opens, and none is open yet. Get a test key here, try the sandbox payers, then write claims and read every payer answer from your own system.
From key to first answer
Your first claim, answered by the sandbox payer
- 01
Ask for a test key
Your work email on this page. The key comes through the link in the email, with no card and no call, and is shown once.
- 02
Check a claim
POST /v1/claims/validate answers with every reason the claim would be refused, each with a code, the field’s path and a sentence, before anything is written.
- 03
Send it to the sandbox payer
POST /v1/sandbox/claims answers with a 999, a 277CA and an 835, each explained, in the answer to the one call.
- 04
Follow the answers
Set a webhook, and every answer the 837P sandbox (POST /v1/sandbox/claims) makes is posted to your server, signed.
- 05
Ask for a live key
A signed business associate agreement comes first. Then your real claims are checked and written, and sending opens payer by payer.
The toolkit
Everything a build reaches for, at a fixed address
Generated from the same route list the API serves, so nothing here describes a route the API does not answer.
- JSON
The OpenAPI document
Every route, request, answer and error code, the contract the API answers by. Generate a client of your own from it, or read it.
- JSON
The API catalog
The standard address a tool asks first, naming the OpenAPI document, the docs and the status page, so a client finds all three by itself.
- .mjs
The JavaScript client
For Node 18 or later, on your server. One method per route, typed in JSDoc, with no dependencies to install.
- .py
The Python client
For Python 3.9 or later, the standard library only. One method per route, and the same retries as the JavaScript client.
- MCP
The MCP server
The API as tools for an AI agent: run the file over stdio, or call POST /v1/mcp with your key and download nothing.
- .txt
The docs, as one file for an agent
Every docs page as markdown in one file, for a coding agent to read before it writes a line.
- Atom
The changelog
Each change dated by the day it shipped, with a feed to follow. A published route is never removed without notice.
- Live
The status page
What our probes measured this month, counted from the outside, with every incident and its feed.
- JSON
The limits
Every rate, size and item limit, read from the code that refuses by it, as a page and as data.
- .txt
Reporting a vulnerability
Where to report one and how it is handled, in security.txt. A person reads every report and answers by email.
Principles
How it works
- 01
Run on real claims every day
The remittance reader, the claim status reading and the NPI check read live claims and remittances every day, and the 837P writer writes live Medicare secondary claims, each imported into the API, never copied. The rest, the 837I and 837D writers, the claim readers and edits, the payer directory, the eligibility and denial explainers, claim tracking, enrollment, the sandbox payers and your account, is Payerworks’ own code, written for this API.
- 02
Errors you can act on
Every refusal comes back with a stable code, the path of the field, and a sentence a person can read. A rejection from a payer comes back the same way.
- 03
Honest about sending
The API builds, checks and reads every file, and the sandbox payers answer your test files end to end. It does not yet send a file to a real payer: transmission opens one payer at a time as Payerworks’ own routes go live, and until then you send on the connection you already have.
- 04
Test it without a call
A test key comes from this page and the sandbox payer answers it right away, with no meeting and no contract. A live key needs a signed business associate agreement first, because a live file carries real patients.
- 05
Answers pushed to you
Set a webhook and every answer the 837P claims sandbox makes, and every change to an enrollment request, is posted to your server as it is made, signed under the Standard Webhooks specification, so any of its libraries checks it. An event your server did not take is tried again, and every event can be listed and sent again for 30 days. Up to ten more webhook destinations, each with its own secret and its own event types, are each tried again on their own schedule for more than three days.
What is kept, and for how long
| What | How long |
|---|---|
| A claim, a file or a remittance you send | Never stored, never logged: answered and forgotten. |
| A batch job’s file, and its result | The file until the job finishes, the result 24 hours after. |
| The webhook events queued for you | 30 days. They hold the sandbox’s invented answer and, of what you sent, only claim references and control numbers. |
| A fingerprint of a request sent with an Idempotency-Key | 24 hours. Never the request itself. |
| Enrollment providers, requests and their PDFs | A test key’s providers and requests, 30 days after their last change, and its PDFs 30 days after upload. A live key’s, until you delete them. |
Your call counts stay with your account, and your webhooks, destinations, notice address and key names until you remove them. Every detail, backups included.
One call
Check a claim before it goes
A claim is JSON in the 837P’s own structure. One call answers every reason a payer’s front end would refuse it, each with the field to fix.
curl "$PAYERWORKS_BASE_URL/v1/claims/validate" \
-H "Authorization: Bearer $PAYERWORKS_API_KEY" \
-H "Content-Type: application/json" \
-d @claim.jsonPricing
Free to build. One plan when your claims are real.
Start with a free test key and invented data. Move to a plan when you want higher limits and a live key for your own claims.
Test key
Free
- Every route, on invented data
- 60 calls a minute
- A sandbox that answers in a payer’s own file formats
- Sent to your work email, no card
Checks
For real claims$99a month
- Claim checks before a claim goes
- Plain-English explanations of 999, 277CA and 835 files
- Batch tools for remittances and denials, and the payer list
- 600 calls a minute on every key
- A live key for your real claims, once we sign a business associate agreement with you
- Cancel any time on Stripe’s billing page
No plan sends a claim to a payer yet. Sending opens payer by payer.
Docs
Every job, its own page
Each page has the request, how to read the answer, what to do when it is refused, the code lists and an example that runs. Every page is also markdown for a coding agent.
Start here
- OverviewPayerworks API docs by job: eligibility, claim status, claims, remittances, enrollment, events and keys, with quickstarts, examples and markdown for agents.
- Coding agentsPoint a coding agent at the Payerworks docs, the OpenAPI document and the MCP server, with prompts to paste and a check of what it builds against the sandbox.
Quickstarts
- A sandbox claim to its 835Send one invented claim to the Payerworks sandbox payer and read its 999, its 277CA and its 835 back, each explained, with a test key, in a few minutes.
- A first 271, explainedWrite an eligibility question as a 270, get a 271 back from the eligibility sandbox, and read the deductible, out-of-pocket and copays in plain English.
- Following an eventSet a webhook, run the claims sandbox, check each event’s signature on your server, and list or send again the events Payerworks recorded for your key.
- The enrollment sandboxCreate an invented provider, request enrollment with the sandbox payer PWSANDBOX, submit it, and advance it through its statuses one step at a time.
- A first 275Announce an attachment on a claim, then write that attachment as an X12 275 under the same control number, ready for you to send on your own connection.
By job
- EligibilityWrite eligibility questions as 270s, explain any 271 per patient, find a patient again after a no-match, put plans in order, and print an answer.
- Claim statusWrite claim status questions as 276s, explain each 277 answer with the next step and when to ask again, and follow up on your open claims.
- ClaimsCheck claims against one published edit table, write 837P, 837I and 837D files, plan corrected and void claims, and run the claims sandbox.
- AcknowledgmentsExplain every rejection in a 999 or a 277CA with what to fix in your claim data, and track each claim from the 837s, 999s, 277CAs and 835s you hold.
- Remittances and denialsExplain an 835 claim by claim, say each denial as the next step, write appeal letters, and find duplicates, deposits, recoupments and filing windows.
- AnalyticsCount your own denials and payments, check payments against your fee schedule, check a claim against your past denials, and rank open denials.
- Documents and attachmentsDraw claims on the CMS-1500, print remittances and eligibility answers, fill Medicare’s appeal forms, and write attachments as an X12 275.
- Prior authorizationWrite a prior authorization request as a 278, explain the payer’s response, run the authorization sandbox, and check Medicare’s published lists.
- Patient estimatesEstimate a patient’s share from a 271, lay out a Good Faith Estimate, find a replacement window and a poverty guideline percent, and check a charges file.
- Payer directorySearch payers and plan programs from public federal files, with a payer ID only where the payer publishes it. It is not a list Payerworks sends to.
- EnrollmentCreate providers, request transaction enrollment with a payer, answer its tasks and upload its PDFs, import many at once, and run the enrollment sandbox.
- Events and webhooksReceive signed events at your webhook or several destinations, check each signature, list every event for 30 days, and send one again.
- Keys and your accountTest and live keys, your account’s rate and usage this month, named keys, rotation that keeps the key id, your notice address, and the hosted MCP server.
- SFTP file dropMake an SFTP user under your own SSH key, drop 837P claim files in one folder, and read the answers Payerworks writes to another, where the drop is open.
- Batch jobsRun up to 1,000 calls to one route from one uploaded file, or write one 270 of up to 7,500 questions, and fetch the result for 24 hours.
- Organizations and membersMake an organization for your account, invite people with a role, sign in with an authenticator app, and manage keys as a member while keys call the API.
Reference
- Every errorEvery refusal code the Payerworks API answers, with its HTTP status and what it means, how a refusal is shaped, and which ones a client should retry.
- CompatibilityWhat may change under /v1 without notice, what counts as a breaking change, how much notice a removal gets, and how a deprecation is marked.
- ChangelogEvery dated change to the Payerworks API: what shipped, how it was before and how it is now, the sandbox support, and what it means for an integration.
Every route is under /v1. The base URL is shown with your key. The whole contract, machine-readable, is openapi.json.
Your key’s rate, its calls by day and your webhook are in the console. Open the console.
Start building
A test key now. A person when you need one.
The test key and the sandbox payers need no one’s permission. When you are ready for real claims, or want to know where a payer stands, a person at Payerworks answers by email.
Talk to us
What happens next
- 01
A person reads it, usually within a business day.
- 02
One email back with the next step.
- 03
Nothing follows unless you answer. No sales sequence.
Or write to hello@payerworks.com.