/
API
API
In this document we are going to see the available APIs and how they work.
Index
Base url
Production: https://chat-tonic.com
Staging: https://staging.chat-tonic.com
Collection Postman
Postman: https://www.getpostman.com/collections/8b4bc8199181553a2ef0
Authentication with /user/login
Pathname:
{{baseUrl}}/api/v1/user/login
Method: POST
Header:
Accept: '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....",
...
}
API Calls
, multiple selections available,
Related content
Programmatic access
Programmatic access
Read with this
Customer Service
Customer Service
Read with this
Stats
Stats
Read with this
Eventos - Métricas personalizadas en Chat-Tonic
Eventos - Métricas personalizadas en Chat-Tonic
More like this
Platform security
Platform security
Read with this
Markdown
Markdown
Read with this