API reference / organization
organization
/api/v1/organizationsList organizations for current user
- Auth:
- required
- Response:
- { data }
/api/v1/organizationsCreate a new organization
- Auth:
- required (min role: director)
- Request:
- { name, type, contactEmail, logoUrl, primarySport, countryCode, regionCode, timezone, locale }
- Response:
- { data }
/api/v1/organizations/:idGet organization by ID
- Auth:
- required
- Response:
- { data }
/api/v1/organizations/:idUpdate organization
- Auth:
- required (min role: admin)
- Request:
- { name, type, contactEmail, logoUrl, primarySport, countryCode, regionCode, timezone, locale }
- Response:
- { data }
/api/v1/organizations/bootstrapHeadless org creation for SDK/CLI/MCP clients
- Auth:
- required
- Request:
- { name, sport, type, contactEmail }
- Response:
- { data }