Skip to main content
POST
/
api2
/
v3
/
auth
/
loginToSession
Login to session
curl --request POST \
  --url https://cloud.memsource.com/web/api2/v3/auth/loginToSession \
  --header 'Content-Type: application/json' \
  --data '{
  "userUid": "<string>",
  "userName": "<string>",
  "password": "<string>",
  "rememberMe": true,
  "twoFactorCode": 123,
  "captchaCode": "<string>"
}'
{
  "user": {
    "firstName": "<string>",
    "lastName": "<string>",
    "userName": "<string>",
    "email": "<string>",
    "role": "SYS_ADMIN",
    "id": "<string>",
    "uid": "<string>"
  },
  "cookie": "<string>",
  "csrfToken": "<string>"
}

Body

application/json
userName
string
required
password
string
required
userUid
string

When not filled, default user of identity will be logged in

rememberMe
boolean
twoFactorCode
integer
captchaCode
string

Response

successful operation

user
object
csrfToken
string