Skip to main content
Use the sandbox host and a token from Get API keys. Successful requests count toward the 2,000 / 7 day allowance. 4xx and 5xx do not.

1. Bootstrap fixtures

Save cpt_code_id, icd10_code_id, and body_part_id from the response.

2. Create a referral

This uses a tiny valid PDF as a data URL. The name parameter preserves the attachment filename. Replace the CPT id from step 1. order_form, injury_type, incident_date, and visits are required. payment_type defaults to pi if omitted. cpt_code_id infers modality, so do not send a modality string.
Create returns 200 and the referral snapshot, including id.

3. Poll the referral

Key off visits[].status. See Track referral status.

4. Fire a test webhook

Next: Testing, Errors and limits.