getOrCreateUser
Get or create a new User
POST
/users/get-or-createHeader parameters
x-user-keystringrequiredAuthentication Key
Request body
User data
namestringName of the User (not a unique identifier)
pictureUrlstringPicture url of the User
profilestringCustom profile data of the User encoded as a string(max length: 1000)
Response
Returns a User
userobjectrequiredThe 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.