Ir al contenido

Iniciar sesión

POST
/Auth/LogIn
curl --request POST \
--url https://api-prod.scoreplan.com.br/Auth/LogIn \
--header 'Content-Type: application/json' \
--data '{ "username": "example", "password": "example", "samlNameID": "example", "hashInvite": "example" }'
Media type application/json
object
username
required
null | string
password
required
null | string
samlNameID
null | string
hashInvite
null | string
Example generated
{
"username": "example",
"password": "example",
"samlNameID": "example",
"hashInvite": "example"
}

OK

Media type application/json
object
token
null | string
refreshToken
null | string
businessGroupLogged
null | string
companyLogged
null | string
businessGroups
Array<object> | null
object
name
null | string
companies
Array<object> | null
object
key
null | string
name
null | string
twoFactorStep
integer
Example generated
{
"token": "example",
"refreshToken": "example",
"businessGroupLogged": "example",
"companyLogged": "example",
"businessGroups": [
{
"name": "example",
"companies": [
{
"key": "example",
"name": "example"
}
]
}
],
"twoFactorStep": 1
}