Create Character
POST
https://api.lootlocker.com/game/v1/player/character
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/v1/player/character' \
--header 'x-session-token: ' \
--header 'x-session-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"character_type_id": 74,
"is_default": true,
"name": "{{$randomFirstName}}"
}'
Response Response Example
{
"success": true,
"loadouts": [
{
"character": {
"id": 0,
"ulid": "string",
"type": "string",
"name": "string",
"is_default": true
},
"loadout": [
{
"variation_id": 0,
"instance_id": 0,
"mounted_at": "string",
"asset": {
"id": 0,
"uuid": "string",
"ulid": "string",
"name": "string",
"active": true,
"purchasable": true,
"price": 0,
"sales_price": null,
"display_price": null,
"context": "string",
"context_id": 0,
"character_classes": [
0
],
"unlocks_context": null,
"detachable": true,
"updated": "string",
"marked_new": "string",
"default_variation_id": 0,
"default_loadouts": {
"Wizard": true
},
"description": "string",
"links": null,
"storage": [
"string"
],
"rarity": null,
"popular": true,
"popularity_score": 0,
"package_contents": null,
"unique_instance": true,
"external_identifiers": null,
"rental_options": null,
"filters": [
"string"
],
"files": [
"string"
],
"data_entities": [
"string"
],
"hero_equip_exceptions": [
"string"
],
"asset_candidate": null,
"drop_table_max_picks": null
},
"rental": {
"is_rental": true,
"time_left": null,
"duration": null,
"is_active": null
}
}
]
}
]
}
Request
Header Params
x-session-token
stringÂ
required
Example:
{{session_token}}
Body Params application/json
Responses
Modified at 2025-01-23 21:09:15