List available modifiers
const url = 'https://api.hiddendoor.co/experience/v1/modifiers?offset=0&limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.hiddendoor.co/experience/v1/modifiers?offset=0&limit=20' \ --header 'Authorization: Bearer <token>'List available modifiers for story setup. Use the returned names in modifierNames; a modifier can change a world’s tone, rules and story possibilities.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”GET /modifiers Parameter
GET /modifiers Parameter
Responses
Section titled “ Responses ”GET /modifiers Positive response
object
object
Example generated
{ "modifiers": [ { "name": "example", "displayName": "example", "displayDescription": "example", "displayTags": [ "example" ], "displayEffects": [ "example" ], "displayCriteria": "example", "characterBackstoryPrompts": [ "example" ], "highConceptTerms": [ "example" ] } ], "nextOffset": 1}Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Bad Request", "message": "Request parameters or the JSON body do not conform to this operation’s input schema. Correct the request before retrying."}Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Unauthorized", "message": "Authentication is missing or invalid. Supply a valid API key in the Authorization: Bearer header."}The authenticated account does not have access to the Experience API.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Forbidden", "message": "The authenticated account does not have access to the Experience API."}The server could not complete the request. Internal error details are not exposed.
object
The HTTP error category. Use the status code to handle failures.
A human-readable explanation. Do not parse this text for program logic.
Example
{ "error": "Internal Server Error", "message": "Internal server error"}