Skip to content

Login API

Authenticates client applications using credentials and returns an access token for authorized API access.


Endpoint

POST: /api/v1/auth/login

Request

Headers

Content-Type: application/json
Accept: application/json
Authorization: Basic <base64(username:password)>

Response

Success - 200

{
  "token": xxxxxxxxxxxxxx
}

Client Error - 4XX

{
  "resultCode": "1",
  "resultMsg": "Client error",
}

Server Error - 5XX

{
  "resultCode": "1",
  "resultMsg": "Server error",
}