cURL
curl --request POST \ --url https://{tenantId}.api.nestmed.com/api/v1/auth/login \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "password": "<string>", "tenantId": "<string>", "rememberMe": false } '
{ "accessToken": "<string>", "refreshToken": "<string>", "tokenType": "Bearer", "expiresIn": 123, "user": { "userId": "<string>", "email": "<string>", "firstName": "<string>", "lastName": "<string>", "role": "<string>", "clinicianId": "<string>", "agencies": [ { "agencyId": "<string>", "name": "<string>", "role": "<string>" } ], "permissions": [ "<string>" ] } }
Authenticate a user with email and password to obtain access and refresh tokens.
Successful authentication.
Show child attributes