API:2/account/wvw

From Guild Wars 2 Wiki
< API:2‎ | account
Jump to navigationJump to search

/v2/account/wvw

HTTP method
GET
Format
json
API version
version 2
Release date
2024-07-20
Scope
account
wvw
Optional
none

This resource returns information about an account's allocated wvw guild, and identifies the matchmaking team.

Parameters

  • access_token (optional) – Can be used to specify an API key for the request if it is not given in the request header.

Response

This request will return an object with two key-value pairs.

The object contains the following:

  • team (number) – The ID of the wvw team.
    • There is presently no API service to convert the ID into a wvw team name. A static list however exists on the wiki documentation page v2/wvw/guilds/:region#Team IDs.
  • guild (string) – The unique guild id. Resolvable against the v2/guild endpoints.

Example

Request

https://api.guildwars2.com/v2/account/wvw
Authorization: Bearer <API key>

Response

{
  "team": 12002,
  "guild": "C3216090-F61D-EF11-BA1F-12061042B485"
}