Skip to main content

Login

Use email and password to retrieve the access token.

Endpoint

POST https://nodeapi.superviz.com/login

Body Parameters

NameTypeDescriptionRequired
emailstringuser email (191 chars max)
passwordstringuser password (6 - 191 chars)

Responses

200 OK

{
"access_token": "eydhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwZTExNzBkNS0xNjVkLTQ2MDctYWIyZi1jYmQ2M2YwZjk4NWUiLCJpYXQiOjE2NTI3NDUwNTMsImV4cCI6MTY1MzM0OTg1M30.5awSQJSRa_7owTCpjiyOAmFYuLFM9rCln_3Be_an1AE",
"name": "User Name"
}

401 Unauthorized

{
"statusCode": 401,
"message": "Unauthorized"
}