API:2/account/mapchests
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v2/account/mapchests
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2019-04-08
- Scope
- account
progression - Optional
- none
This resource returns information about Hero's Choice Chests acquired by the account since daily-reset. 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 of strings, each representing a Hero's Choice Chest that can be resolved against /v2/mapchests. If no Hero's Choice Chest have been acquired since daily-reset by the account, it will return an empty array ([]
).
Example
Request
https://api.guildwars2.com/v2/account/mapchests Authorization: Bearer <API key>
Response
[ "verdant_brink_heros_choice_chest" ]