Events
GET
A feed to catch up from: pass the last id you handled as after and keep the next it returns. Events are kept 14 days. Each carries the slot or match as the other routes draw it (null once it is gone) and, for an application, only its id. Webhooks send the same objects.
Query parameters
afterintegeroptionalReturn events after this id; 0 for the oldest kept
Default: 0 · Minimum: 0
limitintegeroptionalHow many, up to 100
Default: 50 · Minimum: 1 · Maximum: 100
Answer, 200
eventsarray of objectOldest first
5 fields in events
idintegerIncreases with every event; use it as the cursor
typestringOne of the event types listed in the handbook
createdAtstring (date-time)When it happened. UTC, ISO 8601
teamstringSlug of the team it is for
dataobjectWhat it is about
3 fields in events.data
slotobject or nullmay be absentThe slot, for slot.* events; null once it is gone
15 fields in events.data.slot
idstringSlot id; /matches?slot=<id> on the site
startsAtstring (date-time)When the match would start. UTC, ISO 8601
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
mapstringMap id, the game’s own, or random
mapNamestringThe map’s name as the website shows it; Random for a random map
layerstring or nullZone key; null for none
zonestring or nullThe zone as the website shows it ("Random zone" when none was picked); null for a random map
weatherstring or nullWeather key (clear, overcast, rain, fog, storm), or null for any
seatsFilledintegerTeams in it so far, of three
seatsFreeintegerSeats still open, of three
hoststringSlug of the team that posted it
teamsarray of objectThe teams in it so far, the poster first, with names and tags
3 fields in events.data.slot.teams
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
yoursbooleanWhether your team is one of the teams in it
privatebooleanWhether it is an invitation only slot. You only see one you posted or were invited to
joinedTeamstring or nullSlug of the second team; null while that seat is free
matchobject or nullmay be absentThe match, for match.* events; null if it is gone
19 fields in events.data.match
numberstringThe match number, as on the website
statusstringscheduled (locked, not played), reported (played, nothing counts yet: no result, or one that waits to be confirmed), confirmed (the result counts) or disputed (a team disputed it: nothing counts until league staff settle it). A result read from the game is confirmed as soon as the league reads it, and can still become disputed until disputeUntil
ratedbooleanWhether the result is moving Elo now. False again while the match is disputed
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
mapstringMap id, the game’s own: kavkazi, europe, north-america or sabatulo
mapNamestringThe map’s name as the website shows it, for example Zestafona for north-america
layerstring or nullZone key as stored on the match; null for Random or none
zonestring or nullThe zone as the website shows it. "Random zone" when no zone was picked or rolled; null only when the map itself is Random
weatherstring or nullWeather key (clear, overcast, rain, fog, storm), or null for any
seasonstring or nullName of the season the match belongs to; null when none was running
startsAtstring (date-time)When it starts. UTC, ISO 8601
concludedAtstring (date-time) or nullWhen the result that counts was confirmed: set with status confirmed, null otherwise (and again while disputed). It moves when league staff settle a dispute. UTC, ISO 8601
disputeUntilstring (date-time) or nullSet while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601
durationSecondsinteger or nullHow long it was played, in seconds; null when unknown
hoststring or nullTeam slug of the host; null when no team hosts (a GWL official server, or the host team is gone)
sidesarray of objectThe three teams, host first
6 fields in events.data.match.sides
teamobjectA team, by slug, name and tag
3 fields in events.data.match.sides.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
factionstring or nullFaction code once a moderator assigns one, else null
scorenumber or nullThe side’s in-game score, 0 to 100; null before a result
placementinteger or null1, 2 or 3; null before a result
pointsnumber or nullPlacement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed
eloDeltanumber or nullElo change from this match as it counts now; null while it is not rated, a disputed match included
lockedAtstring (date-time) or nullWhen the third team joined and it became a match. UTC, ISO 8601
serverPostedbooleanWhether server details have been posted. This route never returns them: see /team/matches/{number}/server
readyTeamsarray of stringSlugs of the teams that pressed Ready
applicationIdstringmay be absentThe application, for application.submitted
nextintegerPass this as after next time
hasMorebooleanWhether there are more after these
Errors
- 400
invalid_requestA query parameter or body field is missing, of the wrong type or out of range.
- 403
missing_scopeThe key was made without the scope the route needs. The message names it.
- 403
scope_lostThe scope is ticked, but the key’s maker no longer holds the team permission behind it.
- 403
wrong_key_typeA personal key on a team route, or a team live key on a public route.
And any request (11) to GET /team/events
- 401
missing_keyNo Authorization header, or not a bearer token.
- 401
invalid_keyNot a key, a mistyped one, or a key used in the wrong mode.
- 401
key_revokedThe key was revoked, by its team, by league staff or because its team is gone.
- 401
key_expiredThe key passed the expiry chosen when it was made.
- 403
team_suspendedLeague staff suspended the team. Its keys work again when it is restored.
- 403
key_maker_leftThe person who made or last rotated the key left the team. Rotating starts it again.
- 403
key_maker_no_accessThe person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.
- 429
rate_limitedOver the per-minute limit for the key or the address. Wait for Retry-After.
- 429
daily_limitA personal or test key used its requests for the day.
- 429
too_many_bad_keysToo many wrong keys from one address. Wait for Retry-After.
- 500
internal_errorA fault on the league’s side. Try again later.
curl "https://gwl.gg/api/v1/team/events?limit=3" \
-H "Authorization: Bearer $GWL_API_KEY"{
"events": [
{
"id": 1,
"type": "slot.posted",
"createdAt": "2027-01-13T20:00:00.000Z",
"team": "test-team",
"data": {
"slot": {
"id": "test-slot-01",
"startsAt": "2027-01-18T19:00:00.000Z",
"region": "EU",
"map": "sabatulo",
"mapName": "Sabatulo",
"layer": "Default",
"zone": "Hospital - Default",
"weather": "fog",
"seatsFilled": 1,
"seatsFree": 2,
"host": "test-team",
"teams": [
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
}
],
"yours": true,
"private": false,
"joinedTeam": null
}
}
},
{
"id": 2,
"type": "slot.posted",
"createdAt": "2027-01-14T01:00:00.000Z",
"team": "test-team",
"data": {
"slot": {
"id": "test-slot-02",
"startsAt": "2027-01-21T19:00:00.000Z",
"region": "EU",
"map": "europe",
"mapName": "Ozeti",
"layer": "Church",
"zone": "Church",
"weather": null,
"seatsFilled": 2,
"seatsFree": 1,
"host": "stub-strikers",
"teams": [
{
"slug": "stub-strikers",
"name": "Stub Strikers",
"tag": "STUB"
},
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
}
],
"yours": true,
"private": false,
"joinedTeam": "test-team"
}
}
},
{
"id": 3,
"type": "match.locked",
"createdAt": "2027-01-14T06:00:00.000Z",
"team": "test-team",
"data": {
"match": {
"number": "9105",
"status": "scheduled",
"rated": false,
"region": "EU",
"map": "sabatulo",
"mapName": "Sabatulo",
"layer": "Default",
"zone": "Hospital - Default",
"weather": "clear",
"season": "Sandbox Season",
"startsAt": "2027-01-17T19:00:00.000Z",
"concludedAt": null,
"disputeUntil": null,
"durationSeconds": null,
"host": "test-team",
"sides": [
{
"team": {
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
},
"faction": "lonestar",
"score": null,
"placement": null,
"points": null,
"eloDelta": null
},
{
"team": {
"slug": "example-eagles",
"name": "Example Eagles",
"tag": "EXEG"
},
"faction": null,
"score": null,
"placement": null,
"points": null,
"eloDelta": null
},
{
"team": {
"slug": "sample-sappers",
"name": "Sample Sappers",
"tag": "SMPL"
},
"faction": null,
"score": null,
"placement": null,
"points": null,
"eloDelta": null
}
],
"lockedAt": "2027-01-14T19:00:00.000Z",
"serverPosted": false,
"readyTeams": [
"test-team"
]
}
}
}
],
"next": 3,
"hasMore": true
}