--- title: "Onboard A Customer/Patient" slug: "onboard-a-customerpatient" updated: 2026-03-24T12:29:08Z published: 2026-03-24T12:29:08Z canonical: "docs.relaynetwork.com/onboard-a-customerpatient" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.relaynetwork.com/llms.txt > Use this file to discover all available pages before exploring further. # Onboard A Customer/Patient Post/cdm/client/{client_id}/onboard This API can be used to both Onboard a Customer or Patient AND send them an SMS text message with a welcoming experience. Header parametersxx-relay-api-keystringRequired Contains the API key needed. Path parametersclient_idstringRequired Client ID Minimum1 Body parameters A customer onboard JSON document Expand Allobject trigger_idstring If specified, the onboarded Customer or Patient will be sent the experience associated with the specifiedi trigger_id. Max length100Example7028cb2e-d62d-4d5f-a285-91d25781ea86 launched_byobject (launched_by) 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. lb_namestring 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. Max length255Exampleuser@company.com lb_sourcestring Can be used by clients to determine whether the source system launching the journey was CX Portal or their own via API call. Max length255Examplecompany-system product_group_idstring Required 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. Max length100Exampledefault deactivate_previous_connectionsboolean Specifies if previous connections (mobile numbers) should be removed. Valid values[ "true - If an existing Customer or Patient, then deactivate all previous mobile numbers associated with the specified ccid.", "false - If an existing Customer or Patient, then add the new mobile number to the list of number associated with the specified ccid." ]Exampletrue input_parametersobject (inputParameters) 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_. input_account_activestring Max length100Exampletrue input_account_funding_datestring Max length100Example12/01/2023 asset_idstring This asset id to override in the message. Max length100Example5da610e9e-896r-3ba4-7a13-321c87c7ff6a client_message_tagstring This is a arbitrary passthrough property specified by the Client for reporting and tracking by the Client. Max length100ExamplecampaignA customerobject (customer) Requiredccidstring Required Uniquely identifies a Customer or Patient. Max length100ExampleBAK-11984-007 secondary_account_idstring A second identifier representing the Customer or Patient. Max length100ExampleABC123 first_namestring Contains the first name of the Customer or Patient. Max length100ExampleRoger middle_namestring Contains the middle name of the Customer or Patient. Max length100ExampleHarold last_namestring Contains the last name of the Customer or Patient. Max length100ExampleMoore date_of_birthstring Contains the date of birth of the Customer or Patient. Format (yyyy-mm-dd). Example1954-12-01 ssn_last4string Contains the last 4 digits of the Customer or Patient. Max length4Example1234 genderstring Identifies the gender of the Customer or Patient. Max length1ExampleM addresses Array of object object address1string Identifies the first line of the address. Max length100Example201 King of Prussia Road address2string Identifies the second line of the address. Max length100ExampleSuite 161 citystring Identifies the city of the address. Max length100ExampleRadnor state_provincestring Identifies the state or province of the address. Max length2ExamplePA postal_codestring Identifies postal code of the address. Max length10Example19087 countrystring Identifies country of the address. Max length2ExampleUSA notification_channels Array of object object channel_typestring Identifies the channel type of the channel_addr field. Valid values[ "sms" ]Examplesms channel_addrstring Required Contains the channel address. Minimum10Max length11Example6105551212 consent_typestring Required Identifies the consent of the Customer or Patient. Valid values[ "written", "express", "stop" ]Examplewritten phone_typestring Max length10Examplemobile extobject member_sincestring Example1999 membership_levelstring Examplegold renewal_datestring Example05/01/2024 powerups_parametersobject (powerups_parameters) This property contains Power Ups Prefill fields used to prepopulate PowerUps form controls. The represents the field name configured on the PowerUps form and is provided by the Relay Account Team. These fields support all PowerUps control types including Email, Text Fields (Textbox/Textarea), Phone, Dropdown, Radio/Single Choice, Checkbox/Multiple Choice, Number, Spinner, and Scale. Values must comply with the form control type, allowed values, and validation rules configured on the form. For Checkbox/Multiple Choice, separate multiple values with ; (semicolon) and no spaces (e.g., Email;SMS). _firststring Power Ups Prefill field for Full Name control - First Name. Replace with the field name provided by the Relay Account Team. Example property name would be fullName_first. Max length100ExampleJohn _laststring Power Ups Prefill field for Full Name control - Last Name. Replace with the field name provided by the Relay Account Team. Example property name would be fullName_last. Max length100ExampleSmith _line_1string Power Ups Prefill field for Address control - Address Line 1. Replace with the field name provided by the Relay Account Team. Example property name would be Address_line_1. Max length100Example201 King of Prussia Road _line_2string Power Ups Prefill field for Address control - Address Line 2. Replace with the field name provided by the Relay Account Team. Example property name would be Address_line_2. Max length100ExampleSuite 161 _citystring Power Ups Prefill field for Address control - City. Replace with the field name provided by the Relay Account Team. Example property name would be Address_city. Max length100ExampleRadnor _statestring Power Ups Prefill field for Address control - State or Province. Replace with the field name provided by the Relay Account Team. Example property name would be Address_state. Max length2ExamplePA _zipcodestring Power Ups Prefill field for Address control - Postal Code. Replace with the field name provided by the Relay Account Team. Example property name would be Address_zipcode. Max length10Example19087 string Generic Power Ups Prefill field for any supported control type. Replace with the actual field name provided by the Relay Account Team. The value format depends on the control type configured on the form - Email (e.g., bob.jones@example.com), Text/Textbox/Textarea (e.g., Gold, Additional comments here), Phone (numeric, e.g., 2155551234), Dropdown/Radio/Single Choice (display value, e.g., Gold Plan or Yes), Checkbox/Multiple Choice (display values separated by ; with no spaces, e.g., Email;SMS), Number/Spinner (numeric as string, e.g., 3 or 2), Scale (numeric within configured range, e.g., 1 or 5). Values must comply with validation rules configured on the form. Examplevalue-depends-on-control-type Responses200 OK Expand Allobject Example message success details. messagestring Max length100ExampleAccepted mobile_analysis_resultsobject 15555555555string Exampletype-not-resolved 15556667777string Examplelandline 400 Invalid request 401 Unauthorized 404 Not Found - The requested resource was not found. Please verify the route parameter. 409 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. 500 An unexpected server error occurred. The response body should contain additional information related to the server error. Please retry your request.