Packs
Read an item's states
The states the game draws an item in, as its page's States card lists them: a bow drawn back three ways, a crossbow loaded with an arrow or a firework, a fishing rod cast and so on, with the look each has now. An item with no states (a custom item, which rides paper) answers an empty list.
{item} is the item's name: an item sprite's listing name (with or without its item:), or a 3D item's model name.
/packs/{pack}/items/{item}/statesPath parameters
packstringrequiredThe pack's slug, as returned by the packs endpoints.
itemstringrequiredThe item's name.
Response · 200
The states.
packstringrequiredThe pack.
itemstringrequiredThe item's name.
targetstringrequiredThe vanilla item whose states these are. Null when it has none.
statesarray of objectrequiredOne per state.
keystringrequiredPass as state.
labelstringrequiredWhat the Studio calls it.
hintstringrequiredWhen the game draws it.
lookobjectrequired{model} for another of the pack's models, {sprite: true} for a picture of its own, null for the item's ordinary look.
Error codes
Branch on error.code, never on the message.
invalid_api_key401The key isn't one of ours, or it has been revoked.
missing_api_key401No Authorization: Bearer header was sent.
wrong_key_kind401An MCP key sent to the REST API, or an API key sent to the MCP server. Each only opens its own.
account_suspended403The account is suspended, so its keys open nothing. message says until when, if the suspension has an end date.
plan_required403The key is valid, but its account's plan does not include the API.
not_found404No such pack, asset or job.