Skip to main content
In order to sign in a user by username and password, the recommended flow is to use below endpoints
curl --request POST \
  --url https://dev-iam.razi.ai/v1/authentication/users/login \
  --header 'Content-Type: application/json' \
  --header 'X-App-Name: ' \
  --data '{
  "email": "[email protected]",
  "password": "Password123"
}'
Above call will return new session information as below
{
  "sessionId": "1234567890",
  "sessionToken": "Nngj9fM-aaHr1Y1G851fauHHQb1Y5DPtqF__pKiDrqYlRiCbAh6wkO7xvhXwqVCp-8LHnChY3T8gYg",
  "userId": "270471239863153410"
}