Chatwee

Chatwee HTTP API

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:


{"errorCode": "BAD_REQUEST","errorMessage": "Invalid chat id"}