User
Authenticated user's own account data — profile, identities, notifications, preferences
Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/flags/"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
Query Parameters
curl -X GET "https://example.com/api/v1/stats/overview?teamId=string"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/user/profile"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/user/identities"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/user/notifications"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/user/preferences"Authorization
sessionAuth 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/user/push-tokens" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "platform": "ios" }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
TypeScript Definitions
Use the request body type in TypeScript.
curl -X DELETE "https://example.com/api/v1/user/push-tokens" \ -H "Content-Type: application/json" \ -d '{ "token": "string" }'Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
curl -X GET "https://example.com/api/v1/user/account/deletion-status"Authorization
sessionAuth Supabase access token — used by the web and mobile apps
In: header
TypeScript Definitions
Use the request body type in TypeScript.
curl -X DELETE "https://example.com/api/v1/user/account" \ -H "Content-Type: application/json" \ -d '{ "confirmation": "string" }'