Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this document we are going to see the available APIs and how they work.

Índice

Table of Contents
excludeÍndice

Base url

Collection Postman

Postman: https://www.getpostman.com/collections/9bdff9c2b8f6b1a7151f

/user/login

Pathname: {{baseUrl}}/api/v1/user/login

Method: POST

Header:

Code Block
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:

Code Block
{
  "username": "user",
  "password": "password"
}

Response:

Code Block
{
    "id": "5d7fda27f02d5c4e24374cf2",
    "username": "demo@chat-tonic.com",
    "appCodename": "codename",
    "token": "eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9...",
    ...
}