Guides

Retrieve JWT using Login

Obtain JWT using login name and password

Web applications should use this API to retrieve JWT and user profile. Subsequent API calls can then use the JWT obtained.

Request JSON

ParameterTypeDescription
emailstringLogin email ID
passwordstringLogin password

API RESPONSE

A JSON with JWT and other user details.

Response with JWT

{
  "user_id": 42,
  "user_email": "[email protected]",
  "username": "John Doe",
  "jwt": "JWT",
  "role_id": 1,
  "role_name": "ADMIN",
  "uploadkey": "ec5139a372f6478d97365ec0df9c9a814",
  "notifications": ["Notification message 1"]
}
ParameterTypeDescription
jwtstringJSON Web Token. Use this in API calls. See JWT Authentication for details.
user_idstringLogin email ID
user_emailstringLogin password
usernamestringUser name as Firstname Lastname
role_idintegerUser role ID
role_namestringUser role name
uploadkeystringFile Uploadkey for use in Picker
notificationsstringList of notification messages since last login
Language
URL
Click Try It! to start a request and see the response here!