Returns matches where the authenticated user is on the roster. Only includes matches where the user was specifically added to the match roster (not just team membership). Supports filtering by status, game, date ranges, and opponent team. Results are paginated.
Documentation Index
Fetch the complete documentation index at: https://teambattles.gg/docs/llms.txt
Use this file to discover all available pages before exploring further.
matches.user_matches permission on your API key.
| Parameter | Type | Description |
|---|---|---|
numItems | number | Number of items per page, 1-100, default 25 |
cursor | string | Opaque cursor string from a prior response (optional) |
| Field | Type | Description |
|---|---|---|
page | array | Array of matches for this page |
isDone | boolean | true when there are no more pages to fetch |
continueCursor | string | Pass back as cursor on the next request |
| Status | Description |
|---|---|
PENDING | Match is waiting for an opponent to accept |
ACCEPTED | Match has been accepted, waiting for players to be ready |
READY | All players are ready, match can be started |
IN_PROGRESS | Match is currently being played |
COMPLETED | Match has finished normally |
CANCELLED | Match was cancelled before completion |
DISPUTED | Match result is being disputed |
FORFEITED | One team forfeited the match |
API key authentication. Generate an API key from Settings > Developer in the TeamBattles app. Format: tb_xxxxxxxx...
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 (opaque Convex cursor string)