Auth
Sign in with Google
Exchanges a Google ID token, issued to this deployment's web client, for a session. The account is the one for the token's address: an address that signed in with an emailed code reaches the same account, and a new address gets one. Google must have verified the address.
post/v1/auth/google
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/auth/google
- Auth: none required
Request body
Example request
{
"id_token": "eyJhbGciOiJSUzI1NiIs..."
}Response
Authenticated; a session is returned.
Example response
{
"token_type": "Bearer",
"access_token": "eyJhbGciOiJIUzI1NiJ9...",
"expires_in": 900,
"refresh_token": "rt_9f2StGXR8Z5jdHi6B...",
"user": {
"id": "user_V1StGXR8Z5jdHi6B",
"email": "ana@acme.com",
"name": "Ana Silva",
"email_verified": true,
"roles": [],
"usage_alerts": true,
"created_at": "2026-07-17T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.