Returns matches for all teams in an organization. The identifier can be a Convex org ID or org slug. Requires API key with matches.org_matches permission. User must be an active member of the organization.
matches.org_matches permission on your API key.
403 error with code error_org_membership_required.
{identifier} path parameter accepts either:
kd8xyz789ghi012)Esports_Org)leagueTeamsOnly parameter is unique to this endpoint:
| Parameter | Type | Description |
|---|---|---|
leagueTeamsOnly | boolean | Only include matches involving LEAGUE type teams |
| Parameter | Type | Description |
|---|---|---|
limit | number | Results per page (1-100, default 25) |
cursor | string | Cursor from previous response for next page |
API key authentication. Generate an API key from Settings > Developer in the TeamBattles app. Format: tb_xxxxxxxx...
Organization ID or slug
Optional filters and pagination options. Includes additional leagueTeamsOnly filter specific to organization queries.
Only include matches with these statuses. Takes precedence over excludeStatuses.
Current status of a match
PENDING, ACCEPTED, READY, IN_PROGRESS, COMPLETED, CANCELLED, DISPUTED, FORFEITED Exclude matches with these statuses. Ignored if includeStatuses is provided.
Current status of a match
PENDING, ACCEPTED, READY, IN_PROGRESS, COMPLETED, CANCELLED, DISPUTED, FORFEITED Filter by game ID
Filter to matches scheduled after this date (ISO 8601)
Filter to matches scheduled before this date (ISO 8601)
Filter to matches created after this date (ISO 8601)
Filter to matches created before this date (ISO 8601)
Filter by opponent team (ID or slug)
Maximum number of matches to return (1-100)
1 <= x <= 100Pagination cursor from previous response
Only include matches involving LEAGUE type teams