Add Contact

Generates and delivers a discount coupon via URL, SMS, or email. In the standard workflow, the coupon contains pharmacy information and drug pricing from the Pricing Service. Required fields vary by delivery type — prospectValues and contactTrackingData are required when deliveryType includes EmailCoupon or SMSCoupon.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for the Add Contact endpoint. Required fields vary by delivery type — prospectValues and contactTrackingData are required when deliveryType includes EmailCoupon or SMSCoupon.

deliveryType
array of strings
required

One or more delivery methods for the coupon. PrintCoupon: generates a printable PDF URL. EmailCoupon: sends coupon via email. SMSCoupon: sends coupon via SMS. ViewCoupon: generates a view-only URL.

deliveryType*
Allowed:
string
required
length ≥ 1

Username for a contact source listed under a tenant, as returned by the Pricing Service.

string
required
length ≥ 1

Password for a contact source listed under a tenant, as returned by the Pricing Service.

prospectValues
object

Information about the user generating the coupon.

contactValues
object

UTM tracking values for marketing campaign attribution.

contactTrackingData
object

Key-value pairs containing additional coupon data. The standard fields below are used by the default coupon template. Additional custom keys are supported. Contact your RxSense Account Manager to configure.

prospectTrackingData
object | null

Additional prospect-level tracking data as key-value pairs.

Headers
string
required

Unique API key provided by RxSense, used for tracking and troubleshooting purposes.

Responses

401

Unauthorized - Invalid or expired access token

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json