List the workspace's broadcasts
GET /api/v1/workspace/broadcasts
Credential: Workspace API token (Bearer) Scopes: broadcasts:read Rate limit: 60 requests per minute, per token Cache: no-store CORS: none (server-to-server only)
Returns the broadcasts of the workspace that owns the bearer token, newest first, with start and end time, status, duration, and the platforms streamed to.
- Requires
Authorization: Bearer <workspace API token>and thebroadcasts:readpermission on that token. Tokens are created, listed, and revoked by the workspace Owner in CreatorRoots Settings; the secret is shown once, expires (90 days by default, 1 to 365 days), and can be revoked at any time. - The token alone decides the workspace. Cookies,
X-Creator-Context, and workspace or creator ids in the query are never read. - Server-to-server only. The response carries no
Access-Control-*headers and preflight is not supported, so browsers cannot call it cross-origin. Keep the token on your server; never ship it in browser or app code. - Ordered by
started_atdescending, theniddescending. Page with the opaquecursorinlinks.next; do not build or edit cursors. Default page size 25, maximum 100. - An active broadcast has
status: active,ended_at: null, and aduration_secondsthat runs up to the time of the request. All times are UTC. - Viewer metrics, chat, supporters, revenue, and provider account or session identifiers are not included.
401is returned for every credential problem (missing, malformed, unknown, expired, revoked, or an unavailable workspace) and never says which.403means the token is valid but lacksbroadcasts:read.- Limited to 60 requests per minute per token. Requests with bad credentials are limited separately per client
IP (30 failures per minute). Over a limit returns
429withRetry-After. - Responses are never cached (
Cache-Control: no-store, private,Vary: Authorization).
Guide: Workspace API guide · Getting a token · Calling the API · Pagination · Compatibility policy
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
per_page | query | No | integer (1–100, default 25) | Page size, 1 to 100. |
cursor | query | No | string | Opaque cursor from links.next of the previous page. Pass it back unchanged. |
Request
Call this endpoint from your server only. Browsers cannot call it, and the token must never appear in browser or app code. The example reads the token from the CREATORROOTS_API_TOKEN environment variable; <your API token> is a placeholder.
export CREATORROOTS_API_TOKEN="<your API token>"
curl -s "https://api.creatorroots.com/api/v1/workspace/broadcasts" \
-H "Authorization: Bearer $CREATORROOTS_API_TOKEN" \
-H "Accept: application/json"Responses
200 #
A page of the workspace's broadcasts. data is an empty array when there are none.
Guide: Broadcasts
Headers
| Header | Type | Description |
|---|---|---|
Cache-Control | string | Always no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private |
Vary | string | Always includes Authorization, because the response depends on the bearer token. Example: Authorization |
X-RateLimit-Limit | integer | Requests allowed per minute for the caller (the client IP for anonymous operations, the token for workspace operations). Example: 60 |
X-RateLimit-Remaining | integer | Requests left in the current one-minute window. Example: 59 |
Body application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | Yes | |
data[] | object | Yes | One broadcast of the token's workspace. |
data[].id | string | Yes | Opaque broadcast identifier, consistent while CreatorRoots' signing key is unchanged. It can change if that key is rotated, so do not treat it as a permanent key, and do not parse it or assume its length. |
data[].started_at | string (date-time) | Yes | UTC ISO 8601 time the broadcast started. |
data[].ended_at | string | null (date-time) nullable | Yes | UTC ISO 8601 time the broadcast ended. null while it is active. |
data[].status | string | Yes | One of active, ended. |
data[].duration_seconds | integer | Yes | Seconds from started_at to ended_at, or to the time of the request while the broadcast is active. |
data[].platforms | array of string | Yes | Distinct identifiers of the streaming platforms in this broadcast, earliest first (for example twitch). Empty when none are recorded. Treat unknown values as opaque strings; new platforms can appear within v1. |
data[].platforms[] | string | Yes | |
links | object | Yes | |
links.next | string | null (uri) nullable | Yes | URL of the next page, or null on the last page. Contains an opaque cursor and never a credential. Call it with your token as usual. |
meta | object | Yes | |
meta.schema | string | Yes | Always v1. |
meta.per_page | integer | Yes | The page size applied to this response. |
Example: Two broadcasts, more available
{
"data": [
{
"id": "brd_q3X9bT7mL2vKp0aZc8RnWd",
"started_at": "2026-11-14T19:02:11.000000Z",
"ended_at": null,
"status": "active",
"duration_seconds": 5400,
"platforms": [
"twitch"
]
},
{
"id": "brd_Yp4Hk1sEw6uJ0cNfA3oMgT",
"started_at": "2026-11-12T01:30:00.000000Z",
"ended_at": "2026-11-12T04:45:30.000000Z",
"status": "ended",
"duration_seconds": 11730,
"platforms": [
"twitch",
"youtube"
]
}
],
"links": {
"next": "https://api.creatorroots.com/api/v1/workspace/broadcasts?per_page=25&cursor=eyJ0IjoxNzYzMDAwMDAwLCJpIjo0Mn0"
},
"meta": {
"schema": "v1",
"per_page": 25
}
}401 #
The bearer token is missing, malformed, unknown, expired, revoked, or its workspace is unavailable. Identical for every cause.
Guide: Errors
Headers
| Header | Type | Description |
|---|---|---|
WWW-Authenticate | string | Bearer challenge. For 403 it also names the missing scope. Example: Bearer realm="CreatorRoots Workspace API" |
Cache-Control | string | Always no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private |
Vary | string | Always includes Authorization, because the response depends on the bearer token. Example: Authorization |
Body application/json
| Field | Type | Required | Description |
|---|---|---|---|
error | object | Yes | |
error.code | string | Yes | Stable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor. |
error.message | string | Yes | Human-readable explanation. Do not parse it; use code. |
error.parameter | string | No | The query parameter at fault. Present for invalid_parameter and invalid_cursor. |
error.required_scope | string | No | The permission the token needs. Present for insufficient_scope. |
Example: Missing or invalid token
{
"error": {
"code": "unauthenticated",
"message": "A valid workspace API token is required."
}
}403 #
The token is valid but does not have the broadcasts:read permission.
Guide: Errors
Headers
| Header | Type | Description |
|---|---|---|
WWW-Authenticate | string | Bearer challenge. For 403 it also names the missing scope. Example: Bearer realm="CreatorRoots Workspace API" |
Cache-Control | string | Always no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private |
Vary | string | Always includes Authorization, because the response depends on the bearer token. Example: Authorization |
Body application/json
| Field | Type | Required | Description |
|---|---|---|---|
error | object | Yes | |
error.code | string | Yes | Stable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor. |
error.message | string | Yes | Human-readable explanation. Do not parse it; use code. |
error.parameter | string | No | The query parameter at fault. Present for invalid_parameter and invalid_cursor. |
error.required_scope | string | No | The permission the token needs. Present for insufficient_scope. |
Example: Token lacks the required permission
{
"error": {
"code": "insufficient_scope",
"message": "This token does not have the permission required for this endpoint.",
"required_scope": "broadcasts:read"
}
}422 #
per_page or cursor is not valid.
Guide: Errors
Headers
| Header | Type | Description |
|---|---|---|
Cache-Control | string | Always no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private |
Vary | string | Always includes Authorization, because the response depends on the bearer token. Example: Authorization |
Body application/json
| Field | Type | Required | Description |
|---|---|---|---|
error | object | Yes | |
error.code | string | Yes | Stable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor. |
error.message | string | Yes | Human-readable explanation. Do not parse it; use code. |
error.parameter | string | No | The query parameter at fault. Present for invalid_parameter and invalid_cursor. |
error.required_scope | string | No | The permission the token needs. Present for insufficient_scope. |
Example: per_page out of range
{
"error": {
"code": "invalid_parameter",
"message": "per_page must be an integer from 1 to 100.",
"parameter": "per_page"
}
}429 #
The per-token limit (60 requests per minute) or the per-IP bad-credential limit (30 failures per minute) was
exceeded. Wait Retry-After seconds, then retry.
Guide: Rate limits and caching
Headers
| Header | Type | Description |
|---|---|---|
Retry-After | integer | Seconds to wait before retrying. Example: 30 |
Cache-Control | string | Always no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private |
Vary | string | Always includes Authorization, because the response depends on the bearer token. Example: Authorization |
X-RateLimit-Limit | integer | Requests allowed per minute for the caller (the client IP for anonymous operations, the token for workspace operations). Example: 60 |
X-RateLimit-Reset | integer | Unix timestamp (seconds) at which the limit resets. Sent with 429 responses. Example: 1795000000 |
Body application/json
| Field | Type | Required | Description |
|---|---|---|---|
error | object | Yes | |
error.code | string | Yes | Stable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor. |
error.message | string | Yes | Human-readable explanation. Do not parse it; use code. |
error.parameter | string | No | The query parameter at fault. Present for invalid_parameter and invalid_cursor. |
error.required_scope | string | No | The permission the token needs. Present for insufficient_scope. |
Example: Rate limit exceeded
{
"error": {
"code": "rate_limited",
"message": "Too many requests. Wait for the number of seconds in Retry-After, then retry."
}
}