Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.refactorbilling.com/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to the Refactor API

The Refactor API lets you programmatically trigger and retrieve results from AI-powered payer phone calls. Import claims, verify coverage, follow up on claim status, resolve denials, and check authorization status — all through a simple REST API.

Authentication

All API requests require an API key passed via the x-api-key header, along with a tenant_id query parameter.
curl -X GET "https://api.refactorbilling.com/claim-status?tenant_id=1&visit_number=V12345" \
  -H "x-api-key: your-api-key"

Key Parameters

ParameterDescription
tenant_idYour Refactor-assigned organization ID.
visit_numberYour internal identifier for the visit.

Call Status

Every endpoint that returns call information contains a status field indicating the call result:
StatusDescription
completedCall finished successfully with results
in_progressCall is currently being made
failedCall could not be completed

Data Import

Import Claims

Submit claims via JSON and automatically schedule payer calls.

Pre-Service

Verify Coverage

Confirm active coverage, plan type, and benefit details.

Verify Auth Requirements

Check whether prior authorization is required for a procedure.

Check Auth Status

Check the status of submitted prior authorization requests.

Claim Follow-Up

Check Claim Status

Get real-time updates on claim adjudication and payment details.

Check Appeal Status

Follow up on submitted appeals and get expected decision timelines.

Denial Management

Get Denial Clarification

Get denial details and recommended actions for a visit.