curl --request POST \
--url https://api.example.com/auth/signin \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"message": "<string>",
"user": {},
"accessToken": "<string>",
"idToken": "<string>",
"refreshToken": "<string>",
"expiresIn": 123,
"tokens": {
"accessToken": "<string>",
"idToken": "<string>",
"refreshToken": "<string>",
"expiresIn": 123,
"tokenType": "Bearer"
},
"tokenType": "Bearer"
}Sign in a user and return authentication tokens.
curl --request POST \
--url https://api.example.com/auth/signin \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"message": "<string>",
"user": {},
"accessToken": "<string>",
"idToken": "<string>",
"refreshToken": "<string>",
"expiresIn": 123,
"tokens": {
"accessToken": "<string>",
"idToken": "<string>",
"refreshToken": "<string>",
"expiresIn": 123,
"tokenType": "Bearer"
},
"tokenType": "Bearer"
}Successful Response
Response model for successful sign in.
Success message
User information
Access token for API requests
ID token with user claims
Refresh token for token renewal
Token expiry time in seconds
Authentication tokens (for backward compatibility)
Show child attributes
Token type