Calendar
Calendar events: milestones, releases, posts, todos, and sessions
Authorization
sessionAuth Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Start date (ISO 8601)
End date (ISO 8601)
Filter by team ID
curl -X GET "https://example.com/api/v1/calendar/?startDate=string&endDate=string"Authorization
sessionAuth Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Team ID for team-scoped sync. Omit for user-wide sync.
curl -X GET "https://example.com/api/v1/calendar/sync"Authorization
sessionAuth Supabase access token: used by the web and mobile apps
In: header
Query Parameters
The viewer's today, YYYY-MM-DD
^\d{4}-\d{2}-\d{2}$When the viewer's today starts (ISO 8601)
date-timeWhen the viewer's today ends (ISO 8601)
date-timeTime zone the times are written in, e.g. Europe/Amsterdam
length <= 64One team instead of every team the viewer is in
Days past today to read. Default 2.
Language the moments are written in. Else Accept-Language, else English.
length <= 35curl -X GET "https://example.com/api/v1/calendar/now?day=string&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"Authorization
sessionAuth Supabase access token: used by the web and mobile apps
In: header
Query Parameters
Value in
- "track"
- "album"
- "session"
- "show"
- "milestone"
curl -X GET "https://example.com/api/v1/calendar/people?kind=track&id=1"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/calendar/import/fetch" \ -H "Content-Type: application/json" \ -d '{ "importId": 1 }'