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 the broadcasts:read permission 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_at descending, then id descending. Page with the opaque cursor in links.next; do not build or edit cursors. Default page size 25, maximum 100.
  • An active broadcast has status: active, ended_at: null, and a duration_seconds that 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.
  • 401 is returned for every credential problem (missing, malformed, unknown, expired, revoked, or an unavailable workspace) and never says which. 403 means the token is valid but lacks broadcasts: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 429 with Retry-After.
  • Responses are never cached (Cache-Control: no-store, private, Vary: Authorization).

Parameters

NameInRequiredTypeDescription
per_pagequeryNointeger (1–100, default 25)Page size, 1 to 100.
cursorqueryNostringOpaque 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.

curl (server-side)
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.

Headers

HeaderTypeDescription
Cache-ControlstringAlways no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private
VarystringAlways includes Authorization, because the response depends on the bearer token. Example: Authorization
X-RateLimit-LimitintegerRequests allowed per minute for the caller (the client IP for anonymous operations, the token for workspace operations). Example: 60
X-RateLimit-RemainingintegerRequests left in the current one-minute window. Example: 59

Body application/json

FieldTypeRequiredDescription
dataarray of objectYes
data[]objectYesOne broadcast of the token's workspace.
data[].idstringYesOpaque 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_atstring (date-time)YesUTC ISO 8601 time the broadcast started.
data[].ended_atstring | null (date-time) nullableYesUTC ISO 8601 time the broadcast ended. null while it is active.
data[].statusstringYesOne of active, ended.
data[].duration_secondsintegerYesSeconds from started_at to ended_at, or to the time of the request while the broadcast is active.
data[].platformsarray of stringYesDistinct 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[]stringYes
linksobjectYes
links.nextstring | null (uri) nullableYesURL 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.
metaobjectYes
meta.schemastringYesAlways v1.
meta.per_pageintegerYesThe page size applied to this response.

Example: Two broadcasts, more available

JSON
{
  "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.

Headers

HeaderTypeDescription
WWW-AuthenticatestringBearer challenge. For 403 it also names the missing scope. Example: Bearer realm="CreatorRoots Workspace API"
Cache-ControlstringAlways no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private
VarystringAlways includes Authorization, because the response depends on the bearer token. Example: Authorization

Body application/json

FieldTypeRequiredDescription
errorobjectYes
error.codestringYesStable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor.
error.messagestringYesHuman-readable explanation. Do not parse it; use code.
error.parameterstringNoThe query parameter at fault. Present for invalid_parameter and invalid_cursor.
error.required_scopestringNoThe permission the token needs. Present for insufficient_scope.

Example: Missing or invalid token

JSON
{
  "error": {
    "code": "unauthenticated",
    "message": "A valid workspace API token is required."
  }
}

403 #

The token is valid but does not have the broadcasts:read permission.

Headers

HeaderTypeDescription
WWW-AuthenticatestringBearer challenge. For 403 it also names the missing scope. Example: Bearer realm="CreatorRoots Workspace API"
Cache-ControlstringAlways no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private
VarystringAlways includes Authorization, because the response depends on the bearer token. Example: Authorization

Body application/json

FieldTypeRequiredDescription
errorobjectYes
error.codestringYesStable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor.
error.messagestringYesHuman-readable explanation. Do not parse it; use code.
error.parameterstringNoThe query parameter at fault. Present for invalid_parameter and invalid_cursor.
error.required_scopestringNoThe permission the token needs. Present for insufficient_scope.

Example: Token lacks the required permission

JSON
{
  "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.

Headers

HeaderTypeDescription
Cache-ControlstringAlways no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private
VarystringAlways includes Authorization, because the response depends on the bearer token. Example: Authorization

Body application/json

FieldTypeRequiredDescription
errorobjectYes
error.codestringYesStable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor.
error.messagestringYesHuman-readable explanation. Do not parse it; use code.
error.parameterstringNoThe query parameter at fault. Present for invalid_parameter and invalid_cursor.
error.required_scopestringNoThe permission the token needs. Present for insufficient_scope.

Example: per_page out of range

JSON
{
  "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.

Headers

HeaderTypeDescription
Retry-AfterintegerSeconds to wait before retrying. Example: 30
Cache-ControlstringAlways no-store, private. Responses must not be stored by browsers, proxies, or CDNs. Example: no-store, private
VarystringAlways includes Authorization, because the response depends on the bearer token. Example: Authorization
X-RateLimit-LimitintegerRequests allowed per minute for the caller (the client IP for anonymous operations, the token for workspace operations). Example: 60
X-RateLimit-ResetintegerUnix timestamp (seconds) at which the limit resets. Sent with 429 responses. Example: 1795000000

Body application/json

FieldTypeRequiredDescription
errorobjectYes
error.codestringYesStable machine-readable error code. One of profile_not_found, rate_limited, unauthenticated, insufficient_scope, invalid_parameter, invalid_cursor.
error.messagestringYesHuman-readable explanation. Do not parse it; use code.
error.parameterstringNoThe query parameter at fault. Present for invalid_parameter and invalid_cursor.
error.required_scopestringNoThe permission the token needs. Present for insufficient_scope.

Example: Rate limit exceeded

JSON
{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Wait for the number of seconds in Retry-After, then retry."
  }
}