This API adds a phone number to a Customer or Patient.
Contains the API key needed.
Client ID
Uniquely identifies a Customer or Patient.
The phone number for a Customer or Patient.
On success (200), this API adds the phone number to the array of notification channels in the Customer or Patient record. Currently, relay permits up to 50 phone numbers associated to one CCID and up to 50 CCIDs can be associated to a specific phone number.
Request body for Add Phone.
Identifies the consent of the Customer or Patient.
Type of phone line of the Customer or Patient.
The country code of the phone_type. Defaults to 1.
The source provided by the client of the channel. Defaults to an internal channel.
OK - The phone number was successfully added to the Customer or Patient record.
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.}