getOrCreateUser
Get or create a new User
POST
/users/get-or-createHeader parameters
x-user-keystringAuthentication Key
Request body
User data
name?stringName of the User (not a unique identifier)
pictureUrl?stringPicture url of the User
profile?stringCustom profile data of the User encoded as a string(max length: 1000)
Response
Returns a User
userobjectThe user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.