Affinity documentation
Find guides for practices, platforms, and compounding pharmacies. Use the API reference for endpoint details and examples.
Get started
Start in Test mode. Move to Live mode only after Affinity approves your integration.
Build with the headless API
Keep the workflow in your product
Register clinicians and prepare, sign, and submit orders through the API. Your product authenticates the clinician and collects signing intent.
- Use one order per patient.
- Keep API keys out of browser code.
POST /v1/orders