Access Token

Get Token

Generates a JSON Web Token (JWT). All other API calls need to include this token.

curl https://apiplatform.intellicar.in/api/standard/gettoken \
  --header 'Content-Type: application/json' \
  --data '{"username": "<username>", "password": "<password>"}'

Response:

{
  "status": "SUCCESS|FAILURE",
  "data": {
    "token": "<token>",
    "username": "<username>"
  },
  "err": "<err>",
  "msg": "<msg>"
}
  • If wrong or expired credentials, 401 status code is returned.

  • Token valid for ~15 days.

Last updated