Chatwee

GET /sso-user/register

Creates an SSO user in the Chatwee database. This method should be called whenever a new user is created in the host service. The method returns the newly created user ID which is required for the SSO login method and for targeting the user that we want to start a conversation with.


http://chatwee-api.com/v2/sso-user/register
	

GET http://chatwee-api.com/v2/sso-user/register?chatId=65c493789da1fbc017000029&clientKey=447f191e810c19729de860ea&login=TestUser&isAdmin=0
	

"582b8fe76b0c2d22587336f4"
	
Name Description Type Mandatory Remarks
chatId unique chat ID string yes available in 'INTEGRATION' section of the Chatwee Dashboard
clientKey client secret string yes available in 'INTEGRATION' section of the Chatwee Dashboard
login user login string yes -
isAdmin if user has admin role (0,1) no -
avatar user avatar string no an absolute URL of the user avatar image
url URL of the user profile string no if set, clicking on the link will navigate to this URL