Financials
Team financials: entries, summaries, show/deal pipeline, CSV/JSON export, and bulk import
Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Value in
- "income"
- "expense"
curl -X GET "https://example.com/api/v1/financials/?teamId=string"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 }'Supabase access token: used by the web and mobile apps
In: header
Query Parameters
curl -X GET "https://example.com/api/v1/financials/summary?teamId=string"Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Value in
- "pending"
- "confirmed"
- "declined"
- "lost"
curl -X GET "https://example.com/api/v1/financials/pipeline?teamId=string"Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Value in
- "csv"
- "json"
curl -X GET "https://example.com/api/v1/financials/export?teamId=string"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 } ] }'Authorization
sessionAuth Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Value in
- "artist"
- "agent"
First day, YYYY-MM-DD. Defaults to 1 January.
Last day, YYYY-MM-DD. Defaults to 31 December.
curl -X GET "https://example.com/api/v1/agency-statements/organisation?organisationId=string"Supabase access token: used by the web and mobile apps
In: header
Query Parameters
First day, YYYY-MM-DD. Defaults to 1 January.
Last day, YYYY-MM-DD. Defaults to 31 December.
curl -X GET "https://example.com/api/v1/agency-statements/team?teamId=string"