API:2/characters/:id/backstory

From Guild Wars 2 Wiki
Jump to: navigation, search

/v2/characters/:id/backstory

HTTP method
GET
Format
json
API version
version 2
Release date
2015-05-22
Scope
account
characters
Optional
none

This resource returns information about the backstory of a character attached to a specific account.

Parameters

  • access_token - (optional) If the API key is not specified in the request header, it can be specified here.

Response

An array of strings representing backstory answer IDs pertaining to the questions answered during character creation. References /v2/backstory/answers.

Example

Request

  https://api.guildwars2.com/v2/characters/<character name>/backstory
  Authorization: Bearer <API key>

  https://api.guildwars2.com/v2/characters/<character name>/backstory?access_token=<API key>

Response

 {
   "backstory": [
       "7-54",
       "12-75",
       "186-162",
       "11-72",
       "10-67"
   ]
 }