Returns matches for a specific team. The identifier can be a Convex team ID or team slug. Requires API key with matches.team_matches permission. User must be an active member of the team.
matches.team_matches permission on your API key.
403 error with code error_team_membership_required.
{identifier} path parameter accepts either:
jh7abc123def456)Team_Alpha)| 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...
Team ID or slug
Optional filters and pagination options
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