Add users (Bulk)
This API allows batch user addition. Each batch can include up to 1000 records and a rate limit of 120 requests per minute. For a smoother experience, it is strongly advised not to utilize the Bulk API for adding individual users
Query Parameters |
---|
bot string — REQUIREDThe unique ID of the bot associated with the users. |
uponConflict stringPossible values: [ Specify the conflict resolution strategy when a |
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. |
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
|