- 19 Nov 2024
- 2 Minutes to read
- Print
- DarkLight
Onboard A Customer/Patient
- Updated on 19 Nov 2024
- 2 Minutes to read
- Print
- DarkLight
The API endpoint /cdm/client//onboard facilitates the onboarding of customers or patients while sending them a welcoming SMS. It requires an API key and client ID as header and path parameters, respectively. The body must include a JSON document detailing customer information, such as a unique identifier (ccid), names, date of birth, and address. Additional parameters include a product group ID, consent type, and notification channels, specifically for SMS. The API allows for the deactivation of previous connections and supports various input properties for customization. Responses include success messages and error codes for various issues, such as unauthorized access or conflicts. This API is designed to streamline customer onboarding and enhance communication through SMS notifications.
This API can be used to both Onboard a Customer or Patient AND send them an SMS text message with a welcoming experience.
Contains the API key needed.
Client ID
A customer onboard JSON document
If specified, the onboarded Customer or Patient will be sent the experience associated with the specifiedi trigger_id.
This object contains two properties, lb_name and lb_source, which a Client can use to identify their source system that made this REST API call.
Can be used by clients to determine the specific user if the source system in lb_source is CX portal or if it was system initiated.
Can be used by clients to determine whether the source system launching the journey was CX Portal or their own via API call.
Required field that specifies the product group Id that will be assigned to the Customer or Patient. A Customer or Patient can only be assigned to a single product group.
Specifies if previous connections (mobile numbers) should be removed.
This property contains a collection of input properties for the Journey. Input parameters are defined when the Journey is created or updated. Each input property must be prefixed with input_.
This asset id to override in the message.
This is a arbitrary passthrough property specified by the Client for reporting and tracking by the Client.
Uniquely identifies a Customer or Patient.
A second identifier representing the Customer or Patient.
Contains the first name of the Customer or Patient.
Contains the middle name of the Customer or Patient.
Contains the last name of the Customer or Patient.
Contains the date of birth of the Customer or Patient. Format (yyyy-mm-dd).
Contains the last 4 digits of the Customer or Patient.
Identifies the gender of the Customer or Patient.
Identifies the first line of the address.
Identifies the second line of the address.
Identifies the city of the address.
Identifies the state or province of the address.
Identifies postal code of the address.
Identifies country of the address.
Identifies the channel type of the channel_addr field.
Contains the channel address.
Identifies the consent of the Customer or Patient.
OK
Example message success details.
Invalid request
Unauthorized
Not Found - The requested resource was not found. Please verify the route parameter.
Conflict - Indicates the request could not be processed. A common reason is when attempting to create a new Journey object, but the ID already exists in the system.
An unexpected server error occurred. The response body should contain additional information related to the server error. Please retry your request.