Skip to main content
POST
/
create-class
Create or update a class
curl --request POST \
  --url https://api.wanderersguide.app/functions/v1/create-class \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "rarity": "COMMON",
  "description": "<string>",
  "content_source_id": 123,
  "version": "<string>",
  "id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "operations": [
    {}
  ],
  "skill_training_base": 123,
  "trait_id": 123,
  "artwork_url": "<string>"
}
'
{
  "status": "success",
  "data": {
    "name": "<string>",
    "rarity": "COMMON",
    "description": "<string>",
    "content_source_id": 123,
    "version": "<string>",
    "id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "operations": [
      {}
    ],
    "skill_training_base": 123,
    "trait_id": 123,
    "artwork_url": "<string>"
  }
}

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
rarity
enum<string>
required
Available options:
COMMON,
UNCOMMON,
RARE,
UNIQUE
description
string
required
content_source_id
integer
required
version
string
required
id
integer
created_at
string<date-time>
operations
object[]
skill_training_base
integer
trait_id
integer
artwork_url
string

Response

200 - application/json

JSend success.

status
enum<string>
Available options:
success
data