GET
Read the signup link for the credential's group

Authorizations

X-InStockRx-Api-Key
string
header
required

Scoped partner API key. Send the whole key, e.g. ik_live_a1b2c3…, on every request.

Headers

X-Pharmacy-Id
string<uuid>

Which pharmacy in your group you are acting as. Required whenever your group holds more than one pharmacy — omitting it is then 400 missing-pharmacy-context. With exactly one pharmacy it may be omitted, but send it anyway: the call starts failing the day a second pharmacy is added.

Response

OK

code
string
required

The group's 12-character referral code.

portalUrl
string
required

Signup URL for the pharmacy portal, carrying the code.

appUrl
string
required

Signup URL for the app, carrying the code.