AffinityRx Portal vs Headless API: Which Setup Fits Your Telehealth Brand?

PortalAPI

AffinityRx (affinityrx.com) is a compounding pharmacy ordering platform for clinics and telehealth brands, not a retail pharmacy, and it has an API: a headless integration that connects your own checkout and prescriber flow to AffinityRx's network of 30+ vetted pharmacies (four orderable today for new clinics) with one request (POST /v1/orders) and signed webhooks. The same network is also available through a web portal, where your operations team orders from each pharmacy with one login, and AffinityRx integrates into your telehealth platform. The right setup depends on your volume and your stack, and this page lays out how to choose.

By . Published

Three ways into AffinityRx: portal, headless API, or a platform you already use

AffinityRx offers one pharmacy network through three entry points, and all three give you one login, one invoice and one order history across every pharmacy you order from.

  • The portal. Your team signs in, sees each pharmacy's name, price and shipping options before ordering, and places the order. Nothing to build.
  • The headless API. Your product sends orders to AffinityRx programmatically. One request (POST /v1/orders) creates, signs and sends an order, and signed webhooks report each status change.
  • A platform you already use. AffinityRx is the pharmacy fulfillment layer. We integrate into your telehealth platform. AffinityRx connects to any EMR through the API.

What decides the choice: who places the order and how many orders a month

The question is whether a person or your software creates the order. If a person, the portal is enough. If your software already collects the patient, the prescription and the payment, re-keying each order into a portal is the cost to avoid.

Three factors usually settle it:

  • Volume. At a few dozen scripts a month a portal is fine. At hundreds to thousands a month, every manual order is staff time, and a headless API removes it.
  • Who owns the patient experience. Brands with their own app or storefront want the pharmacy layer invisible, which is what headless means.
  • Developer capacity. An API integration needs developer time; the portal needs none. The public docs at docs.affinityrx.com show the work before you start.

Portal vs headless API vs no-build integration: a side-by-side

Criterion Portal Headless API Your telehealth platform
Best for Clinics and ops teams placing orders by hand Telehealth brands and platforms with their own stack Brands that run on a telehealth platform
Build effort None One order request plus webhooks Integrated into the platform
First order The same day you sign up, with a card or bank account added at checkout Once your integration sends POST /v1/orders Through the platform
Volume fit Low to moderate Hundreds to thousands of scripts a month Set by the platform's own volume
Bulk ordering Orders placed by your team Up to 20 prescriptions in one order; each API key can make 25 requests per second, with bursts of 50 Through the platform
Pharmacy choice Pick the pharmacy for each order Your system names the medication, and so the pharmacy, in each order Same network
Support Enterprise clients get a dedicated account executive Same Same

How AffinityRx handles a headless integration for your developers

For a founder, the useful summary is what your developers will and will not have to do. They connect one API instead of several pharmacy integrations, and everything pharmacy-specific stays on AffinityRx's side.

  • One integration instead of many. The alternative to one API is connecting three or four national pharmacies one by one, each with its own formats and support line. See the API page and the specs.
  • One request per order. POST /v1/orders creates, signs and sends an order, and signed webhooks report each status change. The docs are public at docs.affinityrx.com.
  • Pharmacy choice without extra code. Pick the pharmacy for each order, with each pharmacy's price side by side. If a pharmacy is out of stock or rejects an order, pick another pharmacy on AffinityRx for that order.
  • AI assistants with approval. A clinic can connect ChatGPT, Claude or any other assistant that supports MCP. Every order an assistant creates waits until an admin approves it in AffinityRx before it reaches a pharmacy.
  • Safe retries. The API uses idempotency keys, so a retried request does not create a duplicate order.
  • Accounting stays simple. One invoice, with invoice and order export, replaces one statement per pharmacy.

Moving from your current pharmacy system or a direct pharmacy

Getting started is self-serve: sign up free at affinityrx.com, add a card or bank account at checkout, and send your first order the same day. No demo, sales call, deposit or test order is required. The practice is responsible for confirming the prescriber's authority.

FAQs

Does AffinityRx have an API?

Yes. AffinityRx has a headless API that sends orders from your own product to the pharmacies on AffinityRx. One request (POST /v1/orders) creates, signs and sends an order, and signed webhooks report each status change.

Should a telehealth brand use the AffinityRx portal or the API?

Use the API if your software already creates the orders and you do hundreds to thousands of scripts a month, because it removes manual re-entry. Use the AffinityRx portal if people place the orders or you are still validating volume. If your brand runs on a telehealth platform, AffinityRx integrates into that platform.

Orders already go through one pharmacy's system. Why add another integration?

A single integration is a single point of failure: when that pharmacy is out of stock or slow, every order waits. With AffinityRx the same API reaches each pharmacy you can order from, so you pick another pharmacy for that order, and you see each pharmacy's name, price and shipping options before you order. Partners save an average of 30%.

What does it cost to try the AffinityRx API?

$0 to join. No subscription to join. No minimums. Fees are included in the medication price. No deposit and no preload. Shipping is flat-rate: $15 ground or 2-day, $20 overnight, $25 cold-chain 2-day, $30 cold-chain overnight.

Does AffinityRx integrate with my EMR?

Yes. AffinityRx connects to any EMR through the API. The headless API is the route for any system that can send orders.

Get started

If your team is weighing a portal against an API, sign up free to try the portal on your own order flow, and read the API docs at docs.affinityrx.com. You can send a first order the same day. A demo is optional; ask for one on the contact page. See how bulk orders and refills work at scale.

Sources

Every compounding pharmacy in one dashboard

Sign up free to compare prices across the pharmacies live on AffinityRx.

Get started