StreamElements API
14 endpoints for StreamElements, each at its own method and path, called with your API key. Open an endpoint for its inputs, examples and response.
- Base URL
- https://cotlet.dev/api/v1/streamelements
- Connects with
- Your own StreamElements account, the one you created with a Twitch, YouTube, Trovo or X login. What your agent can do follows what your channel has: loyalty, the store and song requests are not available on YouTube accounts.
- Integration page
- StreamElements
Read (7)
Return data and change nothing in the account.
| Endpoint | Description |
|---|---|
| GET | Chat commands of your channel with reply, aliases, level, cooldowns, cost and whether they are on. |
| GET | Chat timers with their messages, online interval, chat lines and whether they are on. |
| GET | Stream Store items with type, cost in points, quantity, cooldowns and whether they are on. |
| GET | Store redemptions with item, viewer, cost and what the viewer filled in on the Requirements page. |
| GET | Tips your channel received, with amount, currency, tipper, message and time. Read only. |
| GET | Viewers ranked by loyalty points or watch time, with each balance. |
| GET | The Media Request queue: song, who asked, length and whether it was tipped. |
Write (7)
Change the account. Calls marked Confirm wait for the user to approve them.
| Endpoint | Description |
|---|---|
| POST | Add a chat command with a reply, who may use it, cooldowns and response type. |
| PATCH | Change the reply, level, cooldowns, cost, response type or on/off state of a command. |
| PATCH | Change the messages, online interval, chat lines or on/off state of a chat timer. |
| PATCH | Change the name, description, cost, quantity, cooldowns or on/off state of a Stream Store item. |
| POST | Approve or decline a store redemption that waits for your decision. |
| POST | Add loyalty points to a viewer, or take points away with a negative amount. |
| DELETE | Remove one song from the Media Request queue. |