REST API
The SBCanvas REST API lets external applications push events to overlays. Use it to connect stream decks, chatbots, dashboards, or any HTTP-capable tool to your overlay widgets.Base URL
Authentication
All requests require a Bearer token:Token Types
| Type | Prefix | Description |
|---|---|---|
| Live | sb_live_ | Delivers events to the live overlay |
| Test | sb_test_ | Events are dropped (for development) |
Send a Custom Event
custom:. Max length: 64 characters. Allowed characters: a-z, 0-9, :, _, -.
Rate Limits
60 requests per minute per token. Exceeding the limit returns429.
Rate limit headers are included in responses:
Error Format
| Status | Meaning |
|---|---|
| 401 | Missing or invalid token |
| 404 | Channel not found |
| 422 | Invalid request body |
| 429 | Rate limit exceeded |
Quick Example: Python
Quick Example: Node.js
Widget Side
Events arrive prefixed withwidget:event::