Skip to main content

Get a class by index.

Class

A character class is a fundamental part of the identity and nature of characters in the Dungeons & Dragons role-playing game. A character's capabilities, strengths, and weaknesses are largely defined by its class.

Path Parameters
index string — REQUIRED

Possible values: [barbarian, bard, cleric, druid, fighter, monk, paladin, ranger, rogue, sorcerer, warlock, wizard]

The index of the class to get.

Responses
200

OK

Schema — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
primary_ability object — OPTIONAL
desc string — OPTIONAL
ability_scores object[] — OPTIONAL

All of these ability scores must meet the minimum.

index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

ability_score_options object — OPTIONAL
desc string — OPTIONAL

Optional description of the choice.

choose integer — OPTIONAL
type string — OPTIONAL
from object — OPTIONAL

The structure of the object depends on option_set_type: options_array provides an options array, equipment_category provides an equipment_category reference, and resource_list provides a resource_list_url.

option_set_type string — OPTIONAL

Possible values: [options_array, equipment_category, resource_list]

options object[] — OPTIONAL
option_type string — OPTIONAL
equipment_category object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

resource_list_url string — OPTIONAL
hit_die integer — OPTIONAL
class_levels string — OPTIONAL

URL path to the class levels resource.

multi_classing object — OPTIONAL
prerequisites object[] — OPTIONAL
ability_score object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

minimum_score integer — OPTIONAL
prerequisite_options object — OPTIONAL
desc string — OPTIONAL

Optional description of the choice.

choose integer — OPTIONAL
type string — OPTIONAL
from object — OPTIONAL

The structure of the object depends on option_set_type: options_array provides an options array, equipment_category provides an equipment_category reference, and resource_list provides a resource_list_url.

option_set_type string — OPTIONAL

Possible values: [options_array, equipment_category, resource_list]

options object[] — OPTIONAL
option_type string — OPTIONAL
equipment_category object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

resource_list_url string — OPTIONAL
proficiencies object[] — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

proficiency_choices object[] — OPTIONAL
desc string — OPTIONAL

Optional description of the choice.

choose integer — OPTIONAL
type string — OPTIONAL
from object — OPTIONAL

The structure of the object depends on option_set_type: options_array provides an options array, equipment_category provides an equipment_category reference, and resource_list provides a resource_list_url.

option_set_type string — OPTIONAL

Possible values: [options_array, equipment_category, resource_list]

options object[] — OPTIONAL
option_type string — OPTIONAL
equipment_category object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

resource_list_url string — OPTIONAL
proficiencies object[] — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

proficiency_choices object[] — OPTIONAL
desc string — OPTIONAL

Optional description of the choice.

choose integer — OPTIONAL
type string — OPTIONAL
from object — OPTIONAL

The structure of the object depends on option_set_type: options_array provides an options array, equipment_category provides an equipment_category reference, and resource_list provides a resource_list_url.

option_set_type string — OPTIONAL

Possible values: [options_array, equipment_category, resource_list]

options object[] — OPTIONAL
option_type string — OPTIONAL
equipment_category object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

resource_list_url string — OPTIONAL
saving_throws object[] — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

starting_equipment_options object[] — OPTIONAL
desc string — OPTIONAL

Optional description of the choice.

choose integer — OPTIONAL
type string — OPTIONAL
from object — OPTIONAL

The structure of the object depends on option_set_type: options_array provides an options array, equipment_category provides an equipment_category reference, and resource_list provides a resource_list_url.

option_set_type string — OPTIONAL

Possible values: [options_array, equipment_category, resource_list]

options object[] — OPTIONAL
option_type string — OPTIONAL
equipment_category object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

resource_list_url string — OPTIONAL
subclasses object[] — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

spellcasting object — OPTIONAL
level integer — OPTIONAL

The level at which spellcasting begins.

spellcasting_ability object — OPTIONAL
index string — OPTIONAL
name string — OPTIONAL
url string — OPTIONAL
note string — OPTIONAL

A qualifier for this reference, e.g. a condition immunity that only applies in one form.

info object[] — OPTIONAL
name string — OPTIONAL
desc string[] — OPTIONAL
spells string — OPTIONAL

URL path to the class spells resource.

url string — OPTIONAL
updated_at string — OPTIONAL