Applications
GET
Adds each applicant’s discordId with members.discord_id (absent without it). An applicant’s Steam ID is never returned.
Answer, 200
applicationsarray of objectOpen applications, oldest first
11 fields in applications
idstringApplication id, for the respond route
namestringDisplay name of the person applying
countrystring or nullISO 3166-1 alpha-2 country the person chose to show; null when none
regionsarray of stringRegions they play in, as codes
notestring or nullWhat they wrote, up to 280 characters; null when nothing
appliedAtstring (date-time)When they applied. UTC, ISO 8601
deadlinestring (date-time)When it expires unanswered. UTC, ISO 8601
playerIdstring or nullTheir player page id (/players/<id>), when they have one; null when none
elointeger or nullTheir player Elo. The league does not rate players, so expect null
ratedMatchesintegerMatches counted in their player Elo. The league does not rate players, so expect 0
discordIdstring or nullmay be absentDiscord account ID. Only with the members.discord_id scope (absent without it). An applicant’s Steam ID is never returned
Errors
- 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/applications
- 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/applications" \
-H "Authorization: Bearer $GWL_API_KEY"{
"applications": [
{
"id": "test-app-01",
"name": "Ines Sample",
"country": "PT",
"regions": [
"EU"
],
"note": "Medic main, free most evenings UTC.",
"appliedAt": "2027-01-13T12:00:00.000Z",
"deadline": "2027-01-20T12:00:00.000Z",
"playerId": "test-player-41",
"elo": 1512,
"ratedMatches": 9,
"discordId": "10000000000000041"
},
{
"id": "test-app-02",
"name": "Kai Placeholder",
"country": null,
"regions": [
"NA",
"OCE"
],
"note": null,
"appliedAt": "2027-01-14T12:00:00.000Z",
"deadline": "2027-01-21T12:00:00.000Z",
"playerId": null,
"elo": null,
"ratedMatches": 0,
"discordId": "10000000000000042"
}
]
}This sample’s key holds applications.read, members.discord_id.
POST
Path parameters
idstringrequiredThe application’s id, from /team/applications
Body, as JSON
acceptbooleanrequiredtrue to take them on, false to decline
reasonstringoptionalOptional words for them, up to 280 characters
Longest: 280 characters
Answer, 200
idstringThe application id
acceptedbooleanWhether they joined
namestringDisplay name of the person
Errors
- 400
invalid_requestA query parameter or body field is missing, of the wrong type or out of range.
- 400
invalid_jsonThe body of a POST could not be read as JSON.
- 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.
- 404
not_foundNothing at that address, or another team’s match or application (so their existence does not leak).
- 409
application_closedThe application was accepted, declined, withdrawn or expired before your answer.
- 409
already_memberAccepting someone who is on your team already.
- 409
already_on_teamAccepting someone who joined another team. The message names it.
- 409
steam_requiredAccepting someone with no Steam account linked.
- 409
league_suspendedAccepting someone the league has suspended.
- 409
leads_suspended_teamAccepting the Team Leader of a suspended team. The message names it.
- 409
roster_conflictAccepting someone whose Steam ID is on another roster or another account’s record.
- 413
body_too_largeA POST body over 4 KB.
- 415
unsupported_media_typeA POST without Content-Type: application/json.
And any request (11) to POST /team/applications/{id}/respond
- 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 -X POST "https://gwl.gg/api/v1/team/applications/test-app-01/respond" \
-H "Authorization: Bearer $GWL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accept":true}'{
"id": "test-app-01",
"accepted": true,
"name": "Ines Sample"
}