Login
Auth API
Login
Authenticate with email and password or an OAuth provider
POST
Login
Documentation Index
Fetch the complete documentation index at: https://acm-aa28ebf6.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Email / Password Login
Endpoint
Request Body
Registered email address
Account password
Example Request
Provider Login (Google / GitHub)
Exchange a Firebase-issued ID token or OAuth access token.Endpoint
Request Body
OAuth provider:
google or githubFirebase ID token obtained from the provider. Use this OR
access_token.OAuth access token from the provider. Use this OR
id_token.Example Request
Response
Both endpoints return the same response shape.Firebase ID token (JWT). Use as
Authorization: Bearer <id_token>.Refresh token. Use with
/auth/refresh to get a new ID token.Seconds until the ID token expires (3600 = 1 hour).
Authenticated email address.
Firebase user ID.
Success Response (200)
Error Responses
Token Refresh
Use the refresh token to obtain a new ID token before the current one expires.Endpoint
Request Body
Refresh token from a previous login or register response
Example
Using the Token
Include theid_token in all authenticated API requests: