< All Topics

Login API

Login API allow to generate an access token. The default validity of the token is one hour.

Login

POST /api​/v1​/login

Request Body

{
  "username": "string",
  "secretkey": "string"
}
Property Mandatory Description
username
yes
User name
secretkey
yes
secret key

Response Success

Code – 200

{
  "token": "string"
}

Error Response

In order to know the response that occurs in case of an error during the execution of this API, you can refer to this link.

Table of Contents