API:2/account/dyes

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

/v2/account/dyes

HTTP method
GET
Format
json
API version
version 2
Release date
2015-08-28
Scope
account
unlocks
Optional
none

This resource returns the unlocked dyes of the account. This endpoint is only accessible with a valid API key.

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

The endpoint returns an array, each value being the ID of a color resolved against /v2/colors.

Example

Request

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

Response

[
  3,
  4,
  5,
  6
]