Skip to main content
POST
/
create-trait
Create or update a trait
curl --request POST \
  --url https://api.wanderersguide.app/functions/v1/create-trait \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "content_source_id": 123,
  "id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "meta_data": {
    "important": true,
    "creature_trait": true,
    "unselectable": true,
    "class_trait": true,
    "ancestry_trait": true,
    "archetype_trait": true,
    "versatile_heritage_trait": true
  }
}
'
{
  "status": "success",
  "data": {
    "name": "<string>",
    "content_source_id": 123,
    "id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "meta_data": {
      "important": true,
      "creature_trait": true,
      "unselectable": true,
      "class_trait": true,
      "ancestry_trait": true,
      "archetype_trait": true,
      "versatile_heritage_trait": true
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.wanderersguide.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key created in your Wanderer's Guide account settings. Send as Authorization: Bearer <key>. Used for direct API access from external tools and scripts.

Body

application/json
name
string
required
content_source_id
integer
required
id
integer
created_at
string<date-time>
description
string
meta_data
object

Response

200 - application/json

JSend success.

status
enum<string>
Available options:
success
data