Skip to main content
POST
E-prescribe a pending prescription to a pharmacy

Authorizations

Authorization
string
header
required

Marketplace API key

Headers

X-Organization-Id
string
required

Target clinic organization ID

Path Parameters

id
string
required

Prescription ID (rxp_…)

Body

application/json
pharmacyNcpdpId
string
required

Target pharmacy NCPDP id (7 digits)

Example:

"0000001"

idempotencyKey
string
required

Required, scoped to (app, organization), never expires. The same key and the same (prescription, pharmacy) returns the original send record and never sends again — also without a valid sessionToken, so a lost outcome can be learned after the token expired. A different prescription or pharmacy under a used key is 409 idempotency_key_reused.

Example:

"rxsend-rxp_5f1c0000000040000000000000000001-1"

Must be true in v1: the pharmacy is linked to the patient (never as default) before sending

Example:

true

sessionToken
string

The App Bridge app token of the user who pressed Send, forwarded in the same request as the click. Required to create a send record.

acknowledgeActiveErx
boolean
default:false

Send even though the same drug was released to another pharmacy within 90 days (recorded on the send)

Example:

false

Response

Success

code
string
required

Response code

Example:

"success"

data
object
required