š¤ Account Management
POST
Create Account
/api/accounts
Complete onboarding by creating account, website, and chatbot. Requires Supabase authentication.
GET
Get My Account
/api/accounts/me
Get account, website, and chatbot information for the authenticated user
No parameters required (uses auth token)
PATCH
Update Account
/api/accounts/:id
Update account information (name, billing email)
š Authentication Helper
POST
Get Token (Magic Link)
Supabase Auth
To get an access token: Go to your web app (localhost:3000), log in, open browser DevTools ā Console, and run:
supabase.auth.getSession().then(d => console.log(d.data.session.access_token))
š” Copy the token from the console and paste it in the "Supabase Token" field at the top of this page.
āļø System
GET
Health Check
/health
Check if the API server is running
No parameters required