Financials
Team financials: entries, summaries, show/deal pipeline, CSV/JSON export, and bulk import
AuthorizationBearer <token>
Supabase access token: used by the web and mobile apps
In: header
Query Parameters
teamId*string
from?string
to?string
type?string
Value in
- "income"
- "expense"
curl -X GET "https://example.com/api/v1/financials/?teamId=string"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/financials/" \ -H "Content-Type: application/json" \ -d '{ "teamId": 0, "isIncome": true, "amount": 0 }'AuthorizationBearer <token>
Supabase access token: used by the web and mobile apps
In: header
Query Parameters
teamId*string
from?string
to?string
curl -X GET "https://example.com/api/v1/financials/summary?teamId=string"AuthorizationBearer <token>
Supabase access token: used by the web and mobile apps
In: header
Query Parameters
teamId*string
status?string
Value in
- "pending"
- "confirmed"
- "declined"
- "lost"
curl -X GET "https://example.com/api/v1/financials/pipeline?teamId=string"AuthorizationBearer <token>
Supabase access token: used by the web and mobile apps
In: header
Query Parameters
teamId*string
format?string
Value in
- "csv"
- "json"
from?string
to?string
curl -X GET "https://example.com/api/v1/financials/export?teamId=string"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/financials/import" \ -H "Content-Type: application/json" \ -d '{ "teamId": 0, "entries": [ { "isIncome": true, "amount": 0 } ] }'Was this helpful?