Chatwee HTTP API is a method for integrating your website with the Chatwee app.
Chatwee API utilizes the HTTP protocol. Every resource can be accessed using the GET method and every parameter needed for a specific call should be a URL-encoded value passed on via the query string.
All Chatwee API responses are sent as UTF-8 encoded messages. If a call ends up being successful, the HTTP 200 OK code is returned, along with the matching response. Whenever a request cannot be properly processed, an error object is being returned. All error responses have a common JSON format including two fields: errorCode and errorMessage. See the example below:
/sso-user API is a set of methods allowing you to use the Single Sign-on mechanism.
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.