Skip to main content
The Prior Auth SDK is a high-level wrapper around the Simplex Prior Auth API. It resolves payer clinical question sets, fills fax PA forms, and transmits them — all without you having to know which line of business a patient’s BIN/PCN maps to.

Installation

Quick Start

The minimal fax-PA workflow is two calls: resolve the canonical drug string, then pull the payer-specific clinical question set for that drug and diagnosis.

1. Search drugs

Resolve a free-text query (e.g. "wegovy 1mg") into the canonical Brand Strength Form string expected by drug_info.medication_strength on Fill Prior Authorization. The supported catalog currently covers Wegovy, Ozempic, Zepbound, and Mounjaro (all SKUs).

2. Get clinical questions

Pass the pharmacy claim’s (bin, state, drug_name, icd_code) tuple to pin down the line of business and indication. pcn, group_id, and member_id are optional tiebreakers for shared-processor BINs (e.g. BIN 003858 / PCN A4 hosts both ESI Commercial and Humana Part D — the leading alpha prefix of member_id disambiguates). Each returned question carries a structured citation back to the underlying payer policy (URL, policy ID, section, verbatim quote), so you can show reviewers the source.

Next steps