Date: Fri, 29 Mar 2024 10:30:52 +0000 (UTC) Message-ID: <227535250.11.1711708252083@a048a4166fc5> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_10_1263261558.1711708252083" ------=_Part_10_1263261558.1711708252083 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
In this document we are going to see the available APIs and how = they work.
Production: https://customerservice.cloud.= chat-tonic.com/api/v1
Staging: https://customerservice.staging= .chat-tonic.com/api/v1
Postman: = https://www.getpostman.com/collections/9bdff9c2b8f6b1a7151f
Pathname: {{baseUrl}}/api/v1/user/login
Method: POST
Header:
Acce= pt: 'application/json' Content-Type: 'application/json'
Request params:
Parameter |
type |
Description |
---|---|---|
username |
String |
Request the Chat-Tonic team. |
password |
String |
Request the Chat-Tonic team. |
Body:
{ "username": "user", "password": "password" }
Response:
Return accessToken
{ "id": "5d7fda27f02d5c4e24374cf2", "username": "demo@chat-tonic.com", "appCodename": "codename", "token": "eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9...", ... }