List store items

Stream Store items with type, cost in points, quantity, cooldowns and whether they are on.

GET https://cotlet.dev/api/v1/streamelements/store-items

read

Returns the items of your Stream Store. Type is Stream Perk, Sound Effect or Access-Code List. Cost is in your loyalty points. Quantity is what is left to redeem. Pass item_id to update_store_item. Needs the Loyalty System, which YouTube accounts do not have.

Parameters

Parameters: list_store_items
NameTypeDescription
type enum enum stream_perk, sound_effect or access_code_list. Default: all.
enabled boolean boolean Only items that are on (true) or off (false).
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/streamelements/store-items \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("streamelements", "list_store_items")
Node.js
const result = await cotlet.call('streamelements', 'list_store_items');
CLI
cotlet call streamelements list_store_items

Example response

JSON

{
  "items": [
    {
      "item_id": "i_5c0bb2",
      "name": "Sound: Air Horn",
      "type": "Sound Effect",
      "cost": 100,
      "quantity": "unlimited",
      "cooldown": {
        "global": 0,
        "user": 300
      },
      "enabled": true
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.