If the clientId property is not passed in, and the user is only attached to one client, that client will be returned in the JWT. If it is not passed in and the user is attached to multiple clients, then no client information will be passed back in the JWT.
Body
Required
-
The email address for the user's account.
-
The user's password.
-
Penderis code for brokerWOLF logins. Extranet or penderis code for WOLFconnect logins. If not passed and the user belongs to only one client, that client is returned in the JWT. If the user belongs to multiple clients and this is not passed, no client information is included in the JWT.
POST
/v1/login
curl \
--request POST 'http://api.example.com/v1/login' \
--header "Content-Type: application/json" \
--data '{"emailAddress":"user@example.com","password":"string","clientId":"string"}'
Request example
{
"emailAddress": "user@example.com",
"password": "string",
"clientId": "string"
}
Response examples (200)
{
"token": "string",
"expiresIn": 3600
}
Response examples (400)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}
Response examples (500)
{
"code": 42,
"message": "string",
"details": [
"string"
]
}