Skip to main content
POST
/
v1
/
auth
/
login
curl --request POST \
  --url 'https://prior-auth-api.claritycare.ai.claritycare.ai/v1/auth/login' \
  --header 'Content-Type: application/json' \
  --data '{
    "username": "your_username",
    "password": "your_password"
  }'
{
  "id_token": "eyJraWQiOiJrM1..."
}

Login

Authenticate a user and retrieve an ID token.

API Request

username
string
required
The username of the user
password
string
required
The password of the user

Response

id_token
string
The ID token for the authenticated session
curl --request POST \
  --url 'https://prior-auth-api.claritycare.ai.claritycare.ai/v1/auth/login' \
  --header 'Content-Type: application/json' \
  --data '{
    "username": "your_username",
    "password": "your_password"
  }'
{
  "id_token": "eyJraWQiOiJrM1..."
}