Create a client
Adds a new client. An email or phone number that already belongs to a client is rejected, unless you set throwErrorOnClientExists to false.
Body Params
First name.
Last name.
Email address. Masked or left out when the API key lacks email visibility.
Preferred language code, for example en.
Country name.
City.
Street address.
Code of the marketing campaign the client came from.
ID of the brand the client belongs to.
ID of the agent who owns the client.
ID of the team that owns the client.
Phone number. Send it in international format, such as +35799123456, or send the national number together with phoneDialCode.
Dial code without the plus sign. Only needed when phone is not in international format.
Two-letter country code. Only needed together with phoneDialCode.
Country to assume for a phone number with no dial code, for example CY.
When false, a client who already exists is returned instead of an error. Defaults to true.
UTM source. Saved only when campaignCode is sent.
UTM medium. Saved only when campaignCode is sent.
UTM campaign. Saved only when campaignCode is sent.
UTM term. Saved only when campaignCode is sent.
UTM content. Saved only when campaignCode is sent.
Any extra answers from your form. Saved only when campaignCode is sent.