Skip to main content
POST
/
create-character
Create or update a character
curl --request POST \
  --url https://api.wanderersguide.app/functions/v1/create-character \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "level": 123,
  "id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "campaign_id": 123,
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "experience": 123,
  "hero_points": 123,
  "hp_current": 123,
  "hp_temp": 123,
  "stamina_current": 123,
  "resolve_current": 123,
  "inventory": {},
  "details": {},
  "notes": {},
  "roll_history": {},
  "spells": {},
  "operation_data": {},
  "meta_data": {},
  "custom_operations": [
    {}
  ],
  "options": {},
  "variants": {},
  "content_sources": {
    "enabled": [
      123
    ]
  },
  "companions": {}
}
'
{
  "status": "success",
  "data": {
    "name": "<string>",
    "level": 123,
    "id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "campaign_id": 123,
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "experience": 123,
    "hero_points": 123,
    "hp_current": 123,
    "hp_temp": 123,
    "stamina_current": 123,
    "resolve_current": 123,
    "inventory": {},
    "details": {},
    "notes": {},
    "roll_history": {},
    "spells": {},
    "operation_data": {},
    "meta_data": {},
    "custom_operations": [
      {}
    ],
    "options": {},
    "variants": {},
    "content_sources": {
      "enabled": [
        123
      ]
    },
    "companions": {}
  }
}

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
level
integer
required
id
integer
created_at
string<date-time>
campaign_id
integer | null
user_id
string<uuid>
experience
integer
hero_points
integer
hp_current
integer
hp_temp
integer
stamina_current
integer
resolve_current
integer
inventory
object
details
object
notes
object
roll_history
object
spells
object
operation_data
object
meta_data
object
custom_operations
object[]
options
object
variants
object
content_sources
object
companions
object

Response

200 - application/json

JSend envelope.

status
enum<string>
Available options:
success
data