ID/Access Token
Body
usernamestringOptionalExample:
[email protected]
passwordstringOptionalExample:
secure
Responses
200
Successful operation
application/json
400
Invalid input
422
Validation exception
post
POST /rest/api/auth/login HTTP/1.1
Host: platform.exto360.com
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"username": "[email protected]",
"password": "secure"
}
{
"id_token": "text",
"user": {
"id": "text",
"username": "[email protected]",
"fullName": "John James",
"email": "[email protected]",
"company": "Exto",
"role": "PME",
"tenantId": "1234"
}
}
Body
tenantIdstringOptionalExample:
1234
Responses
200
Successful operation
application/json
400
Invalid input
422
Validation exception
post
POST /rest/api/auth/access-token HTTP/1.1
Host: platform.exto360.com
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"tenantId": "1234"
}
{
"access_token": "text",
"id_token": "text"
}
Last updated
Was this helpful?