Skip to main content
POST
/
get_id_token
Get ID Token
curl --request POST \
  --url https://vevdoh3hve.execute-api.us-east-1.amazonaws.com/prod/get_id_token \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_email_id": "user@example.com",
  "password": "your-password"
}
'
{
  "data": {
    "message": "Successfully retrieved ID token",
    "idToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expiryAt": 1752577991000
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.chatzy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authenticates a user with their email and password and returns a JWT idToken. This idToken must be included in the Authorization header when calling protected APIs.

🛡️ Authorization Header Format:

Authorization: <idToken>
Without a valid token, protected routes will respond with a 401 Unauthorized error. This token expires after 1 hour after which you must call /get_id_token again to obtain a new one.

Body

application/json
user_email_id
string
required
Example:

"user@example.com"

password
string
required
Example:

"your-password"

Response

200 - application/json

Successful authentication and token retrieval.

data
object