A prior authorization (PA) flow has up to four phases: submit, wait for status, answer payer questions, and resolve. The Foresight API exposes each phase as a discrete endpoint so you can plug in at any point.Documentation Index
Fetch the complete documentation index at: https://docs.have-foresight.app/llms.txt
Use this file to discover all available pages before exploring further.
Lifecycle states
| State | Meaning |
|---|---|
draft | Created but not submitted. |
submitted | Sent to the payer; awaiting first response. |
in_review | Payer is reviewing. |
questions | Payer sent clinical/coverage questions; needs answers. |
approved | Approved by the payer. |
denied | Denied by the payer; can be appealed. |
manual_review | Foresight flagged for human review (e.g. confidence too low). |
prior_auth.* webhook events to react to
state transitions instead of polling.
1. Submit
pa_... and an initial state of submitted (or draft if the
payer integration is async).
2. Track status
Either subscribe to webhooks (preferred) or poll:3. Answer payer questions
When status becomesquestions, fetch them:
4. Provider review and decision
If your team requires clinician sign-off before submission, use the provider-review endpoints:GET /v1/prior-authorizations/{id}/provider-reviewPOST /v1/prior-authorizations/{id}/provider-review/answersPOST /v1/prior-authorizations/{id}/provider-review/decision
5. Manual review and retry
If a PA entersmanual_review (low confidence, conflicting data, etc.):
POST /v1/prior-authorizations/{id}/resolve-manual-review— submit a human decision.POST /v1/prior-authorizations/{id}/retry— re-attempt automated submission after fixing input data.