Game API
HomeLootLocker
HomeLootLocker
LootLocker
  1. Characters
  • Game API
  • Authentication
    • Guest Session
      POST
    • White Label Session
      POST
    • Steam Session
      POST
    • Epic Games Session
      POST
    • Apple Sign In Session
      POST
    • Apple Game Center Session
      POST
    • Google Session
      POST
    • Nintendo Switch Session
      POST
    • Xbox Session
      POST
    • Meta/Oculus Session
      POST
    • PSN Player Verification
      POST
    • Steam/PSN Session
      POST
    • End Session
      DELETE
    • Steam Player Verification
      POST
  • Unified Player Accounts
    • Connected Accounts
      • List Connected Accounts
      • Connect Google Account
      • Connect Twitch Account
      • Connect Apple Account
      • Attach Provider
      • Transfer Providers
      • Unlink Platform Provider
    • Begin Remote Session Login Lease
    • Begin Remote Session Link Lease
    • Poll Remote Session Lease
    • Refresh Remote Session
  • White Label Login
    • Sign Up
    • Sign In
    • Request Verification
    • Request Reset Password
    • Verify Session
  • Players
    • Files
    • Player Storage
      • Get Player Storage
      • Get Player Storage Single Item
      • Get Player Public Storage
      • Update Player Storage
      • Lookup Public Player Storage
      • Delete Player Storage Item
    • Get Info From Session
    • List Multiple Players Info
    • Lookup Player Names by IDS
    • Get Players Active Name
    • Set Player Name
    • Migrate DLCs
    • Get Migrated DLCs
    • Set Player Profile Private
    • Set Player Profile Public
    • Get Other Players Loadout for Default Character
    • Get Players Loadout for Default Character
    • Delete Player
    • Submit XP
    • Get Other Player Info
    • Get Player Info
    • Get Multiple Other Players XP And Level
  • Notifications
    • List Notifications
    • Read Notifications
    • Read All Notifications
  • Commerce
    • Currency
      • Get Currency By Code
      • List Currencies
      • List Denominations By Currency
    • Purchasing
      • Stores
        • Google Play Store
          • Google Play Player Product Purchase
          • Google Play Character Product Purchase
        • Apple App Store
          • Apple App Store - Player Purchase
          • Apple App Store - Character Purchase
        • Steam
          • Steam - Begin Purchase
          • Steam - Query Transaction
          • Steam - Finalise Transaction
      • Purchase - In Game Only
      • Get Player Balance
      • Purchase - Get Status
      • Get Order Details
      • Purchase - Soft Currency Spend
      • Purchase - Steam Hard Currency
      • Purchase - Android
      • Purchase - iOS
    • Balances
      • Credit Balance
      • Debit Balance
      • List Balances
      • Get Wallet
      • Get Wallet for Holder
      • Create New Wallet
    • Catalogs
      • List Catalogs For Game
      • List Catalog Items By Key
  • Entitlements
    • List Entitlements
    • Get Single Entitlement
  • Leaderboards
    • Get Score List
    • Submit Score
    • Get Member Rank
    • Get By List of Members
    • List Leaderboards
    • Get Leaderboard Details
    • List Historical Leaderboard Data
    • Get Historical Leaderboard Data
  • Characters & Heroes
    • Characters
      • List Equippable Contexts to Default Character
        GET
      • List Equippable Contexts to Character By ID
        GET
      • Update Character
        PUT
      • List Character Types
        GET
      • List Characters
        GET
      • Create Character
        POST
      • Get Loadout For All Player Characters
        GET
      • Get Loadout For Player Characters By Platform ID
        GET
      • Equip Asset To Character
        POST
      • Unequip Asset To Character
        DELETE
      • Equip Asset To Default Character
        POST
      • Unequip Asset To Default Character
        DELETE
    • Heroes
      • Get Game Heroes
      • Create Player Hero
      • List Player Heroes
      • Get Player Hero
      • Update Player Hero
      • Delete Player Hero
      • List Player Hero Inventory
      • Get Default Player Hero By SteamID64
      • List Player Heroes By SteamID64
      • List Player Heros Loadout By ID
      • Get Player Hero Loadout
      • Equip Asset to Hero
      • Unequip Asset from Hero
  • Assets
    • Drop Tables
      • Compute and Lock Drop Table
      • Pick Drops
    • List Contexts
    • Get Assets Stream
    • Get Assets List
    • Get Assets List By Asset IDs
    • List Favourite Assets
    • Unfavourite Asset
    • Favourite Asset
  • Asset Instances
    • Storage
      • Stream All Instance Storage To Player
      • Get Key Value for Asset Instance and Key Value Pair ID
      • List Key Value Sets for Asset Instance
      • Create Key Value Pair
      • Update Item Storage By Keys
      • Update Item Storage By ID
      • Delete Item Storage By ID
    • Loot Box
      • Inspect Loot Box
      • Open Loot Box
    • List Universal Assets
    • List Player Inventory
    • Stream Player Inventory
    • Get Asset Grant Notifications
    • Activate Rental Asset
    • Delete asset from player's inventory
    • Grant asset to player
  • Triggers
    • Call
    • Execute Trigger
    • List Triggers For Player
  • Progressions
    • Tiers
      • Get Progression Tiers
      • Get Single Progression Tier By Step
    • Players
      • Get All Player Progressions
      • Get All Player Progressions By Player ULID
      • Get Player Progressions By Key
      • Get Player Progressions By Key and Player ULID
      • Add points to player progression
      • Subtract points from player progression
      • Reset player progression
      • Delete player progression
    • Characters
      • Get All Character Progressions
      • Get Character Progressions By Key
      • Add points to character progression
      • Subtract points from character progression
      • Reset character progression
      • Delete character progression
    • Asset Instances
      • Get All Asset Instance Progressions
      • Get Asset Instance Progressions By Key
      • Add points to an Asset Instance progression
      • Subtract points from an Asset Instance progression
      • Reset Asset Instance progression
      • Delete Asset Instance progression
    • Get All Progressions
    • Get Progression By Key
  • Messages
    • List Messages
  • Friends
    • Followers
      • List
      • Follow
      • Unfollow
    • List Friends
    • List Incoming Friend Requests
    • List Outgoing Friend Requests
    • Send Friend Request
    • Cancel Outgoing Friend Request
    • Accept Friend Request
    • Decline Friend Request
    • Delete Friend
    • List Blocked Players
    • Block Player
    • Unblock Player
  • Feedback
    • Category
      • List
    • Moderation Reporting
      • [Legacy] Report Player
      • [Legacy] Report Asset
      • [Legacy] Get Player Report Reasons
      • [Legacy] Get Asset Report Reasons
      • [Legacy] Get Asset Report Types
      • Get Removed UGC for Player
    • Create
  • Metadata
    • List Metadata
    • Metadata Operations
    • List Multisource Metadata
  • User Generated Content (UGC)
    • Asset Candidates
      • Get Asset Candidate
      • List Asset Candidates
      • Create Asset Candidate
      • Add File to Asset Candidate
      • Update Asset Candidate
      • Delete Asset Candidate
  • Game
    • Ping
  • Collectables
    • Collect Collectable Item
    • List Collectables
  • Missions
    • Get Mission
    • List Missions
    • Start Mission
    • Finish Mission
  • Broadcasts
  1. Characters

Create Character

POST
/game/v1/player/character
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/v1/player/character' \
--header 'Content-Type: application/json' \
--header 'x-session-token;' \
--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

Authorization
API Key
Add parameter in header
x-session-token
Example:
x-session-token: ********************
Header Params
x-session-token
string 
required
Example:
{{session_token}}
Body Params application/json
character_type_id
integer 
required
is_default
boolean 
required
name
string 
required
Examples

Responses

🟢200Success
application/json
Body
success
boolean 
required
loadouts
array [object {2}] 
required
character
object 
optional
loadout
array [object {5}] 
optional
Modified at 2025-01-23 21:09:15
Previous
List Characters
Next
Get Loadout For All Player Characters
Built with