SMS Copay Card Updates
Home ยป RxWare Developer Site ยป Case Updates API ยป SMS Copay Card Updates
ENDPOINT: POST /v1/patients/{patientId}/event
Endpoint Example
For the User Updates API endpoint, you will need to replace the
Example: POST /v1/patients/ha98402932/subscribe-campaign
{patientId}
variable with your patient's HA ID.Example: POST /v1/patients/ha98402932/subscribe-campaign
The notify.sms.copaycard
event lets you notify the patient of their copay savings card information by using the additionalData
field and then specifying GroupNum
and ID
:
{
"status": {
"name": "notify.sms.copaycard",
"text": "",
"additionData": [
{
"key": "GroupNum",
"value": "some value"
},
{
"key": "ID",
"value": "some id"
}
]
},
"phoneNumber": "{{test-user-phone-number}}",
"externalId": "{{test-user-external-user-id}}",
"supportProgramId": "{{partners-support-program-id}}"
}
Standard Response Codes
Status | Code | Message | Description |
---|---|---|---|
200 | N/A | Patient updated successfully | Patient updated successfully |
401 | 0 | Unauthorized | Please verify with RxWare that you are authorized to use the RxWare API. |
400 | 1006 | Patient Not Found | Patient cannot be found in the system. |
400 | 2002 | Invalid Support Program ID | This means that the supportProgramId you provided is invalid.Please check your Support Program ID. |
400 | 1005 | User Previously Unsubscribed | |
403 | 403 | Invalid Token | This means that the bearer token you supplied is not valid for this Support Program. Please verify your credentials. |