Auth
Authentication and session management (web & mobile only)
Authorization
sessionAuth AuthorizationBearer <token>
Supabase access token — used by the web and mobile apps
In: header
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/api/v1/auth/login" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "string" }'Authorization
sessionAuth AuthorizationBearer <token>
Supabase access token — used by the web and mobile apps
In: header
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/api/v1/auth/refresh" \ -H "Content-Type: application/json" \ -d '{ "refresh_token": "string" }'Authorization
sessionAuth AuthorizationBearer <token>
Supabase access token — used by the web and mobile apps
In: header
curl -X POST "https://example.com/api/v1/auth/logout"Authorization
sessionAuth AuthorizationBearer <token>
Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/auth/me"Was this helpful?