Members
GET
Adds discordName with members.discord, discordId with members.discord_id and steamId with members.steam_id. Each field is absent without its scope. Only the team’s own members are listed.
Answer, 200
membersarray of objectEveryone on the team, Leader first
10 fields in members
namestringDisplay name
rolestringowner (Team Leader), manager (Team Rep) or player
joinedAtstring (date-time)When they joined the team. UTC, ISO 8601
linkedbooleanHas a site account (false: a roster row only)
playerIdstringmay be absentTheir player page id (/players/<id>), when they have one
countrystringmay be absentISO 3166-1 alpha-2 country the person chose to show
roleLabelsarray of stringmay be absentTeam roles the team gave them (Pilot, Medic): labels only
discordNamestringmay be absentDiscord username. Only with the members.discord scope
discordIdstring or nullmay be absentDiscord account ID. Only with the members.discord_id scope (absent without it); null when the member has not linked Discord
steamIdstring or nullmay be absentSteamID64. Only with the members.steam_id scope (absent without it); null when none is known
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/members
- 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/members" \
-H "Authorization: Bearer $GWL_API_KEY"{
"members": [
{
"name": "Ada Example",
"role": "owner",
"joinedAt": "2026-07-19T12:00:00.000Z",
"linked": true,
"playerId": "test-player-01",
"country": "GB",
"roleLabels": [
"Commander"
],
"discordName": "ada.example",
"discordId": "10000000000000001",
"steamId": "76561190000000001"
},
{
"name": "Bram Sample",
"role": "manager",
"joinedAt": "2026-07-23T12:00:00.000Z",
"linked": true,
"playerId": "test-player-02",
"country": "NL",
"roleLabels": [
"Pilot"
],
"discordName": "bram.sample",
"discordId": "10000000000000002",
"steamId": "76561190000000002"
},
{
"name": "Cleo Placeholder",
"role": "manager",
"joinedAt": "2026-08-18T12:00:00.000Z",
"linked": true,
"playerId": "test-player-03",
"country": "FR",
"discordName": "cleo.placeholder",
"discordId": "10000000000000003",
"steamId": "76561190000000003"
},
{
"name": "Dmitri Mock",
"role": "player",
"joinedAt": "2026-09-17T12:00:00.000Z",
"linked": true,
"playerId": "test-player-04",
"country": "PL",
"roleLabels": [
"Medic"
],
"discordName": "dmitri.mock",
"discordId": "10000000000000004",
"steamId": "76561190000000004"
},
{
"name": "Eun-ji Testcase",
"role": "player",
"joinedAt": "2026-10-12T12:00:00.000Z",
"linked": true,
"playerId": "test-player-05",
"country": "KR",
"discordName": "eunji.testcase",
"discordId": "10000000000000005",
"steamId": "76561190000000005"
},
{
"name": "Femi Dummy",
"role": "player",
"joinedAt": "2026-11-16T12:00:00.000Z",
"linked": true,
"playerId": "test-player-06",
"country": "NG",
"roleLabels": [
"Merc"
],
"discordName": "femi.dummy",
"discordId": "10000000000000006",
"steamId": "76561190000000006"
},
{
"name": "Gustav Stub",
"role": "player",
"joinedAt": "2026-12-16T12:00:00.000Z",
"linked": true,
"playerId": "test-player-07",
"discordName": "gustav.stub",
"discordId": "10000000000000007",
"steamId": "76561190000000007"
},
{
"name": "Hana Fixture",
"role": "player",
"joinedAt": "2027-01-03T12:00:00.000Z",
"linked": false,
"playerId": "test-player-08",
"country": "JP",
"discordId": null,
"steamId": "76561190000000008"
}
]
}This sample’s key holds members.read, members.discord, members.discord_id, members.steam_id.
POST
Puts a player on the roster from a SteamID64 and a name. The Steam ID must be the whole 17 digits, sent as text: a short, long or spaced one is refused, and nothing is trimmed or repaired. If that Steam ID is a linked site account the entry is that person; otherwise it waits until they link Steam. It never makes an account or a member, and refuses a Steam ID already on a roster. Needs the roster.csv power. Every add is on the audit log.
Body, as JSON
steamIdstringrequiredThe whole SteamID64 as text: 17 digits, starting 7656119
Pattern: ^7656119\d{10}$
namestringrequiredDisplay name, up to 64 characters
Shortest: 1 · Longest: 64 characters
discordNamestringoptionalTheir Discord username, optional, up to 64 characters
Shortest: 1 · Longest: 64 characters
Answer, 200
steamIdstringThe Steam ID that was added
Pattern: ^7656119\d{10}$
namestringThe name it was saved under
linkedbooleanThe Steam ID is a linked site account, so it is that person
rosterCountintegerPlayers on the roster now
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.
- 409
already_on_rosterThe Steam ID is already on the team’s roster.
- 409
on_other_teamThe Steam ID is active on another team’s roster. One team at a time.
- 413
body_too_largeA POST body over 4 KB.
- 415
unsupported_media_typeA POST without Content-Type: application/json.
- 429
roster_write_limitMore than 60 adds and removals from one team’s tools in an hour.
And any request (11) to POST /team/members
- 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/members" \
-H "Authorization: Bearer $GWL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"steamId":"76561190000054321","name":"Recruit One"}'{
"steamId": "76561190000054321",
"name": "Recruit One",
"linked": false,
"rosterCount": 9
}DELETE
Ends the roster entry with that SteamID64 (history is kept). A site member who is only a player leaves the team too, and their team roles end. The Team Leader and Team Reps are never removed here, and neither is someone who holds a team role with powers. Needs the roster.remove_players power. Every removal is on the audit log.
Path parameters
steamIdstringrequiredThe whole SteamID64 of the roster entry: 17 digits, starting 7656119
Answer, 200
steamIdstringThe Steam ID that was removed
Pattern: ^7656119\d{10}$
namestringTheir name on the roster
memberbooleanThey were a site member as well as a roster entry
rosterCountintegerPlayers on the roster now
Errors
- 400
invalid_idA Steam ID in the path was short, long, spaced or not digits. Nothing is trimmed or guessed.
- 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.
- 403
role_above_youThe player holds a team role that carries permissions.
- 404
player_not_foundNo active roster entry has that Steam ID.
- 409
leader_cannot_be_removedThe Steam ID is the Team Leader’s.
- 409
rep_cannot_be_removed_by_apiThe Steam ID is a Team Rep’s.
- 409
cannot_removeThe league could not take that member off the team.
- 429
roster_write_limitMore than 60 adds and removals from one team’s tools in an hour.
And any request (11) to DELETE /team/members/{steamId}
- 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 DELETE "https://gwl.gg/api/v1/team/members/76561190000000004" \
-H "Authorization: Bearer $GWL_API_KEY"{
"steamId": "76561190000000004",
"name": "Dmitri Mock",
"member": true,
"rosterCount": 7
}