Add user
Creates a user record in User360. There is a rate limit is 2000 per minute.
Query Parameters |
---|
bot string — REQUIREDThe unique ID of the bot associated with the user record. |
Request Body |
---|
firstName stringThe first name of the user. |
lastName stringLast name of the user. |
gender stringGender of the user. |
country stringCountry of the user. |
city stringCity of the user according to the user's address. |
language stringPreferred language of the user. |
email emailEmail address of the user. |
phone stringPhone number of the user with country code. |
lastChannel stringRecent channel (set up on yellow.ai) where the user had an active session. You can update this property to cover touch-points/channels outside yellow.ai. |
dob dateDate of birth of the user. |
emailOptin booleanSubscription status of the user to emails. Pass |
smsOptin booleanSubscription status of the user to SMS. Pass |
whatsAppOptin booleanWhatsApp subscription status of the user. Pass |
tags string[]List of groups associated with the user. You can add tags to users manually. |
Responses | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 OK
| |||||||||||||||||||||||||||||||||
400 Bad Request
| |||||||||||||||||||||||||||||||||
401 Unauthorized request or invalid | |||||||||||||||||||||||||||||||||
406 Not Acceptable | |||||||||||||||||||||||||||||||||
500 Internal Server Error
|