Login
API URL
{{url}}/auth-service/session
Method
POST
Description
Login and get Access Token
Input
Field Name
Type
Mandatory
Example
username
String
Yes
superXXXn@XXX.mdt
password
String
Yes
Hashed Password
client(Header)
String
spice web or spice mobile
Sample Input:
{
"username": "spxxxice@xx.mdt",
"password": "1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6"
}
Output
Field Name
Type
Comments
id
String
User ID
username
String
gender
String
roles
Object
active
accountExpired
accountLocked
credentialsExpired
authorization
currentDate
firstName
lastName
middleName
subject
phoneNumber
timezone
Object
organizations
Object
tenantId
countryCode
isBlocked
country
deviceInfoId
isSuperUser
cultureId
Sample Output:
Last updated