Skip to content

Login

Request

Sign in a user with email and user key, returning a JWT token which is valid for 30 minutes. If you omit the organization, it defaults to the last one you signed in to.

Security
bearer-key
Bodyapplication/jsonrequired
emailstring(Email)required
Example:"jon.smith@mail.com"
userKeystring(User Key)required

Equivalent to a personal access token. Avoid pasting as plain text where it might be compromised. For a service user (recommended), you can find the user key in the Mend SCA App in Admin > Users. Learn more. For local testing purposes, you could also use one of your own personal user keys from your user profile page in the Mend SCA App.

Example:"***********"
POST
/api/v3.0/login
{ "email": "jon.smith@mail.com", "userKey": "***********" }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
responseobject(LoginResponseDTO)
Response
{ "supportToken": "1171c60d", "response": { "userUuid": "string", "userName": "string", "email": "string", "refreshToken": "string", "jwtTTL": 0, "systemAccess": true, "serviceSystemAccess": true, "sessionStartTime": 0, "systemAccessStartTime": 0 } }