API:2/account/pvp/heroes

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

/v2/account/pvp/heroes

HTTP method
GET
Format
json
API version
version 2
Release date
2017-04-19
Scope
account
unlocks
Optional
none

This resource returns information about pvp heroes that are unlocked for an account.

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 array of integer values resolvable against /v2/pvp/heroes.

Example

Request

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

Response

[
  1,
  2,
  3
]