Exchange a Google ID token for an API session
See research R2. The returned token lasts 8 hours; permissions are re-read on each call.
Headers
Idempotency-Key
One key per user attempt; retries reuse it and get the original result.
Request
This endpoint expects an object.
googleIdToken
ID token from Google Identity Services.
testEmail
Dev only: sign in as this active user without Google. Refused (401) in prod and wherever test sign-in is off.
Response
Signed in
token
Send as Authorization: Bearer on every admin call.
expiresAt
me
Errors
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error