Start free
Docs · Go live

API reference

Go live

Read as Markdown

On this page
  1. Get the workspace's Go live setup
  2. Save the every-stream announcement
  3. Plan a one-time stream
  4. Change a planned stream
  5. Delete a one-time planned stream
  6. Preview the announcement that would go out now
  7. Change Go live's switches and rules
  8. Disconnect Twitch
  9. Get a link to connect Twitch

Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits: conventions. OpenAPI document: openapi.json.

All 9 Go live operations

Get the workspace's Go live setup

GET /organizations/{organizationId}/workspaces/{workspaceId}/go-live
Beta Reads only goLive.get
Scope
go_live:read
Role permission
Any of: See Go live (goLive:read), Manage Go live (goLive:manage)
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Returns everything about Go live in the workspace: the Twitch connection (available: Twitch works on this server; connected; needsReconnect when Twitch revoked it; the channel), the stream on now with what was decided for it (null when not live), the switches and rules, the every-stream announcement (null until saved once), the planned streams of the next 30 days (cancelled ones flagged) with their own announcements, and whether the organization has Clips. Needs the right to see Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

200 OK

object · GoLivePageResponse

  • dataobject · GoLivePagerequired
    6fields
    • connectionobject · GoLiveConnectionrequired
      4fields
      • availablebooleanrequired
      • connectedbooleanrequired
      • needsReconnectbooleanrequired
      • channelobjectrequirednullable
        4fields
        • twitchUserIdstringrequired
        • loginstringrequirednullable
        • displayNamestringrequirednullable
        • avatarUrlstringrequirednullable
    • liveobject · GoLiveLiveStreamrequirednullable
      7fields
      • idstring (uuid)required
      • titlestringrequired
      • categorystringrequired
      • startedAtstring (date-time)required
      • outcomestringrequirednullable
        One of (may gain values): disabled, same_stream, cooldown, quiet_word, no_accounts, announced, failed, late
      • postIdstring (uuid)requirednullable
      • postedPlatformsarray of stringrequired
        One of (may gain values): x, instagram, facebook, tiktok, linkedin, threads, pinterest, youtube, discord, bluesky
    • settingsobject · GoLiveSettingsrequired
      8fields
      • enabledbooleanrequired
      • headsUpbooleanrequired
      • followUpbooleanrequired
      • sendToClipsbooleanrequired
      • sameStreamMinutesnumberrequired
      • cooldownMinutesnumberrequired
      • quietWordsarray of stringrequired
      • plannedWindowMinutesnumberrequired
    • announcementobject · GoLiveAnnouncementrequirednullable
      5fields
      • socialAccountIdsarray of string (uuid)required
      • textstringrequired
      • mediaIdstring (uuid)requirednullable
      • discordChannelIdsmap of stringrequired
      • updatedAtstring (date-time)requirednullable
    • plannedStreamsarray of objectrequired
      9fields in each item
      • idstring (uuid)required
      • sourcestringrequired
        One of (may gain values): twitch, once
      • titlestringrequired
      • startsAtstring (date-time)required
      • endsAtstring (date-time)requirednullable
      • recurringbooleanrequired
      • cancelledbooleanrequired
      • showOnPagebooleanoptional
      • announcementobject · GoLiveAnnouncementrequirednullable
        5fields
        • socialAccountIdsarray of string (uuid)required
        • textstringrequired
        • mediaIdstring (uuid)requirednullable
        • discordChannelIdsmap of stringrequired
        • updatedAtstring (date-time)requirednullable
    • clipsAvailablebooleanrequired

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 429, 500.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A connected channel, not live

curl
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "connection": {
      "available": true,
      "connected": true,
      "needsReconnect": false,
      "channel": {
        "twitchUserId": "123456789",
        "login": "northwind",
        "displayName": "Northwind",
        "avatarUrl": null
      }
    },
    "live": null,
    "settings": {
      "enabled": true,
      "headsUp": false,
      "followUp": true,
      "sendToClips": false,
      "sameStreamMinutes": 10,
      "cooldownMinutes": 180,
      "quietWords": [
        "test"
      ],
      "plannedWindowMinutes": 60
    },
    "announcement": {
      "socialAccountIds": [
        "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f"
      ],
      "text": "I'm live: {title}\n{link}",
      "mediaId": null,
      "discordChannelIds": {},
      "updatedAt": "2026-11-20T09:30:00.000Z"
    },
    "plannedStreams": [
      {
        "id": "9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
        "source": "once",
        "title": "Glaze night",
        "startsAt": "2026-11-28T19:00:00.000Z",
        "endsAt": "2026-11-28T21:00:00.000Z",
        "recurring": false,
        "cancelled": false,
        "showOnPage": true,
        "announcement": null
      }
    ],
    "clipsAvailable": false
  }
}

Save the every-stream announcement

PUT /organizations/{organizationId}/workspaces/{workspaceId}/go-live/announcement
Beta Acts outside Beplan goLive.announcement.save
Scope
go_live:write and also posts:publish
Role permission
Manage Go live (goLive:manage)
Effect
Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Replaces the announcement used for every stream (a planned stream can have its own: goLive.plannedStreams.*). An announcement is socialAccountIds (at most 30 accounts of the workspace on Discord, X, Bluesky, Threads, LinkedIn or Facebook; find them with socialAccounts.list), text (up to 2,000 characters; {title}, {category} and {link} are filled from Twitch when it goes out), an optional picture of the media library (mediaId), and for each Discord account the channel it posts in (discordChannelIds, account id → channel id; a Discord account without one is skipped). Accounts and media must belong to the workspace (404), and every account must be of a platform that can announce (400 VALIDATION_FAILED). Nothing is posted by this call: announcements go out on their own when the stream starts (and a heads-up an hour before a planned stream, a replay link after it, when those switches are on), without waiting for anyone's approval. So this needs the posts:publish scope too, and when the organization requires approval for posts from integrations it is refused (422 GO_LIVE_NEEDS_APPROVAL_IN_APP): a person sets it up in Beplan. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Request body JSON, required

object · GoLiveAnnouncementInput

  • socialAccountIdsarray of string (uuid)required
    at most 30 items
  • textstringrequired
    at most 2000 characters
  • mediaIdstring (uuid)requirednullable
  • discordChannelIdsmap of stringoptional

Responses

200 OK

object · GoLiveAnnouncementResponse

  • dataobject · GoLiveAnnouncementrequired
    5fields
    • socialAccountIdsarray of string (uuid)required
    • textstringrequired
    • mediaIdstring (uuid)requirednullable
    • discordChannelIdsmap of stringrequired
    • updatedAtstring (date-time)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 422, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 MISSING_PERMISSION You don't have permission to do this.
404 MEDIA_NOT_FOUND This media doesn't exist or was deleted.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 SOCIAL_ACCOUNT_NOT_FOUND This account isn't connected to this workspace anymore.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 GO_LIVE_NEEDS_APPROVAL_IN_APP This organization requires approval for posts from integrations, so Go live announcements must be set up in Beplan.
10 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

An announcement with no account yet

curl
curl -X PUT "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/announcement" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "socialAccountIds": [],
  "text": "I'\''m live: {title}\n{link}",
  "mediaId": null
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/announcement", {
  method: "PUT",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "socialAccountIds": [],
    "text": "I'm live: {title}\n{link}",
    "mediaId": null
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.put(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/announcement",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "socialAccountIds": [],
        "text": "I'm live: {title}\n{link}",
        "mediaId": None,
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "socialAccountIds": [],
    "text": "I'm live: {title}\n{link}",
    "mediaId": null,
    "discordChannelIds": {},
    "updatedAt": "2026-11-20T09:30:00.000Z"
  }
}

Plan a one-time stream

POST /organizations/{organizationId}/workspaces/{workspaceId}/go-live/planned-streams
Beta Acts outside Beplan goLive.plannedStreams.create
Scope
go_live:write and also posts:publish
Role permission
Manage Go live (goLive:manage)
Effect
Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
Idempotency
Send an Idempotency-Key to retry safely: the same key with the same body within 24 hours returns the stored response.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Adds a one-time planned stream (Twitch schedule slots are synced on their own and can't be created here): a title (one line, up to 140 characters), startsAt in the future and an optional endsAt after it (ISO 8601), whether it is listed on the creator page's stream and schedule tiles (showOnPage, true by default), and optionally its own announcement (null or absent: the every-stream one). An announcement is socialAccountIds (at most 30 accounts of the workspace on Discord, X, Bluesky, Threads, LinkedIn or Facebook; find them with socialAccounts.list), text (up to 2,000 characters; {title}, {category} and {link} are filled from Twitch when it goes out), an optional picture of the media library (mediaId), and for each Discord account the channel it posts in (discordChannelIds, account id → channel id; a Discord account without one is skipped). Nothing is posted by this call: announcements go out on their own when the stream starts (and a heads-up an hour before a planned stream, a replay link after it, when those switches are on), without waiting for anyone's approval. So this needs the posts:publish scope too, and when the organization requires approval for posts from integrations it is refused (422 GO_LIVE_NEEDS_APPROVAL_IN_APP): a person sets it up in Beplan. Answers 201 with the planned stream. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Request body JSON, required

object · CreateGoLivePlannedStreamBody

  • titlestringrequired
    1–140 characters · matches ^[^\u0000-\u001f\u007f]*$
  • startsAtstring (date-time)required
  • endsAtstring (date-time)optionalnullable
  • showOnPagebooleanoptional
  • announcementobject · GoLiveAnnouncementInputoptionalnullable
    4fields
    • socialAccountIdsarray of string (uuid)required
      at most 30 items
    • textstringrequired
      at most 2000 characters
    • mediaIdstring (uuid)requirednullable
    • discordChannelIdsmap of stringoptional

Responses

201 Created

object · GoLivePlannedStreamResponse

  • dataobject · GoLivePlannedStreamrequired
    9fields
    • idstring (uuid)required
    • sourcestringrequired
      One of (may gain values): twitch, once
    • titlestringrequired
    • startsAtstring (date-time)required
    • endsAtstring (date-time)requirednullable
    • recurringbooleanrequired
    • cancelledbooleanrequired
    • showOnPagebooleanoptional
    • announcementobject · GoLiveAnnouncementrequirednullable
      5fields
      • socialAccountIdsarray of string (uuid)required
      • textstringrequired
      • mediaIdstring (uuid)requirednullable
      • discordChannelIdsmap of stringrequired
      • updatedAtstring (date-time)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 422, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 MISSING_PERMISSION You don't have permission to do this.
404 MEDIA_NOT_FOUND This media doesn't exist or was deleted.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 SOCIAL_ACCOUNT_NOT_FOUND This account isn't connected to this workspace anymore.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 GO_LIVE_NEEDS_APPROVAL_IN_APP This organization requires approval for posts from integrations, so Go live announcements must be set up in Beplan.
12 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A one-time stream

curl
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Glaze night",
  "startsAt": "2026-11-28T19:00:00.000Z",
  "endsAt": "2026-11-28T21:00:00.000Z"
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "title": "Glaze night",
    "startsAt": "2026-11-28T19:00:00.000Z",
    "endsAt": "2026-11-28T21:00:00.000Z"
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "title": "Glaze night",
        "startsAt": "2026-11-28T19:00:00.000Z",
        "endsAt": "2026-11-28T21:00:00.000Z",
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 201
{
  "data": {
    "id": "9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "source": "once",
    "title": "Glaze night",
    "startsAt": "2026-11-28T19:00:00.000Z",
    "endsAt": "2026-11-28T21:00:00.000Z",
    "recurring": false,
    "cancelled": false,
    "showOnPage": true,
    "announcement": null
  }
}

Change a planned stream

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/go-live/planned-streams/{plannedStreamId}
Beta Acts outside Beplan goLive.plannedStreams.update
Scope
go_live:write and also posts:publish
Role permission
Manage Go live (goLive:manage)
Effect
Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Changes only the fields given. title, startsAt and endsAt only on one-time streams (a stream from the Twitch schedule follows Twitch: 422 PLANNED_STREAM_FROM_TWITCH); showOnPage and announcement on any (announcement: null goes back to the every-stream one). An announcement is socialAccountIds (at most 30 accounts of the workspace on Discord, X, Bluesky, Threads, LinkedIn or Facebook; find them with socialAccounts.list), text (up to 2,000 characters; {title}, {category} and {link} are filled from Twitch when it goes out), an optional picture of the media library (mediaId), and for each Discord account the channel it posts in (discordChannelIds, account id → channel id; a Discord account without one is skipped). Nothing is posted by this call: announcements go out on their own when the stream starts (and a heads-up an hour before a planned stream, a replay link after it, when those switches are on), without waiting for anyone's approval. So this needs the posts:publish scope too, and when the organization requires approval for posts from integrations it is refused (422 GO_LIVE_NEEDS_APPROVAL_IN_APP): a person sets it up in Beplan. Find ids with goLive.get. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
plannedStreamId required path string (uuid)

Request body JSON, required

object · UpdateGoLivePlannedStreamBody

  • titlestringoptional
    1–140 characters · matches ^[^\u0000-\u001f\u007f]*$
  • startsAtstring (date-time)optional
  • endsAtstring (date-time)optionalnullable
  • showOnPagebooleanoptional
  • announcementobject · GoLiveAnnouncementInputoptionalnullable
    4fields
    • socialAccountIdsarray of string (uuid)required
      at most 30 items
    • textstringrequired
      at most 2000 characters
    • mediaIdstring (uuid)requirednullable
    • discordChannelIdsmap of stringoptional

Responses

200 OK

object · GoLivePlannedStreamResponse

  • dataobject · GoLivePlannedStreamrequired
    9fields
    • idstring (uuid)required
    • sourcestringrequired
      One of (may gain values): twitch, once
    • titlestringrequired
    • startsAtstring (date-time)required
    • endsAtstring (date-time)requirednullable
    • recurringbooleanrequired
    • cancelledbooleanrequired
    • showOnPagebooleanoptional
    • announcementobject · GoLiveAnnouncementrequirednullable
      5fields
      • socialAccountIdsarray of string (uuid)required
      • textstringrequired
      • mediaIdstring (uuid)requirednullable
      • discordChannelIdsmap of stringrequired
      • updatedAtstring (date-time)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 422, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 MISSING_PERMISSION You don't have permission to do this.
404 GO_LIVE_PLANNED_STREAM_NOT_FOUND This planned stream doesn't exist in this workspace.
404 MEDIA_NOT_FOUND This media doesn't exist or was deleted.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 SOCIAL_ACCOUNT_NOT_FOUND This account isn't connected to this workspace anymore.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 GO_LIVE_NEEDS_APPROVAL_IN_APP This organization requires approval for posts from integrations, so Go live announcements must be set up in Beplan.
422 PLANNED_STREAM_FROM_TWITCH This stream comes from your Twitch schedule. Change its title or time on Twitch.
10 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Keep it off the creator page

curl
curl -X PATCH "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams/9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "showOnPage": false
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams/9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "showOnPage": false
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.patch(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams/9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "showOnPage": False,
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "source": "once",
    "title": "Glaze night",
    "startsAt": "2026-11-28T19:00:00.000Z",
    "endsAt": "2026-11-28T21:00:00.000Z",
    "recurring": false,
    "cancelled": false,
    "showOnPage": false,
    "announcement": null
  }
}

Delete a one-time planned stream

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/go-live/planned-streams/{plannedStreamId}
Beta Deletes goLive.plannedStreams.delete
Scope
go_live:write
Role permission
Manage Go live (goLive:manage)
Effect
Deletes data or cannot be undone.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Deletes a one-time planned stream and its own announcement. A stream from the Twitch schedule can't be deleted here (422 PLANNED_STREAM_FROM_TWITCH; remove it on Twitch, or hide it with showOnPage: false). Answers 204 with no body. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
plannedStreamId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 422, 429, 500.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 GO_LIVE_PLANNED_STREAM_NOT_FOUND This planned stream doesn't exist in this workspace.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 PLANNED_STREAM_FROM_TWITCH This stream comes from your Twitch schedule. Change its title or time on Twitch.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Delete a planned stream

curl
curl -X DELETE "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams/9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams/9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/planned-streams/9c8b7a6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Preview the announcement that would go out now

GET /organizations/{organizationId}/workspaces/{workspaceId}/go-live/preview
Beta Reads only goLive.preview.get
Scope
go_live:read
Role permission
Any of: See Go live (goLive:read), Manage Go live (goLive:manage)
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Reads the channel's current title and category from Twitch and returns the announcement that would go out if the stream started now: a planned stream's own when one starts within the planned window (plannedStreamId), else the every-stream one, with its words filled in, its accounts and its picture. live says whether the channel is on air. Posts nothing. Needs a connected channel (409 GO_LIVE_NOT_CONNECTED) and the right to see Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

200 OK

object · GoLivePreviewResponse

  • dataobject · GoLivePreviewrequired
    7fields
    • titlestringrequired
    • categorystringrequired
    • livebooleanrequired
    • plannedStreamIdstring (uuid)requirednullable
    • textstringrequired
    • socialAccountIdsarray of string (uuid)required
    • mediaIdstring (uuid)requirednullable

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 429, 500, 502, 503.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
409 GO_LIVE_NOT_CONNECTED Connect Twitch first.
502 UPSTREAM_FAILED A service we depend on didn't respond. Please try again.
503 TWITCH_UNAVAILABLE Twitch isn't available right now.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Not live yet

curl
curl -X GET "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/preview" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/preview", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/preview",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "title": "Glaze night",
    "category": "Art",
    "live": false,
    "plannedStreamId": null,
    "text": "I'm live: Glaze night\nhttps://twitch.tv/northwind",
    "socialAccountIds": [
      "0b6f5c1e-2a7d-4c3b-9e8f-1a2b3c4d5e6f"
    ],
    "mediaId": null
  }
}

Change Go live's switches and rules

PATCH /organizations/{organizationId}/workspaces/{workspaceId}/go-live/settings
Beta Acts outside Beplan goLive.settings.update
Scope
go_live:write and also posts:publish
Role permission
Manage Go live (goLive:manage)
Effect
Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Changes only the fields given: enabled (announcements go out at all), headsUp (a post an hour before each planned stream), followUp (the replay link once the stream stops), sameStreamMinutes (back within this many minutes is the same stream, 0–240), cooldownMinutes (at most one announcement per this many minutes, 0–1,440), quietWords (a title containing one, in any case, stays quiet; up to 20 of up to 40 characters) and plannedWindowMinutes (going live within this many minutes of a planned stream uses its announcement, 0–720). Nothing is posted by this call: announcements go out on their own when the stream starts (and a heads-up an hour before a planned stream, a replay link after it, when those switches are on), without waiting for anyone's approval. So this needs the posts:publish scope too, and when the organization requires approval for posts from integrations it is refused (422 GO_LIVE_NEEDS_APPROVAL_IN_APP): a person sets it up in Beplan. sendToClips (each replay becomes a Clips project, which runs analysis and AI) is read-only here: it can only be changed in the Beplan app. Sending a different value answers 403 SETTING_APP_ONLY (details.field) and nothing of the request is applied; sending the current value back is accepted. Answers the settings. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Request body JSON, required

object · UpdateGoLiveSettingsBody

  • enabledbooleanoptional
  • headsUpbooleanoptional
  • followUpbooleanoptional
  • sendToClipsbooleanoptional
  • sameStreamMinutesintegeroptional
    from 0 to 240
  • cooldownMinutesintegeroptional
    from 0 to 1440
  • quietWordsarray of stringoptional
    at most 20 items · each 1–40 characters
  • plannedWindowMinutesintegeroptional
    from 0 to 720

Responses

200 OK

object · GoLiveSettingsResponse

  • dataobject · GoLiveSettingsrequired
    8fields
    • enabledbooleanrequired
    • headsUpbooleanrequired
    • followUpbooleanrequired
    • sendToClipsbooleanrequired
    • sameStreamMinutesnumberrequired
    • cooldownMinutesnumberrequired
    • quietWordsarray of stringrequired
    • plannedWindowMinutesnumberrequired

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 422, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 MISSING_PERMISSION You don't have permission to do this.
403 SETTING_APP_ONLY This setting can only be changed in the Beplan app. Nothing was changed.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
422 GO_LIVE_NEEDS_APPROVAL_IN_APP This organization requires approval for posts from integrations, so Go live announcements must be set up in Beplan.
10 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Turn announcements on

curl
curl -X PATCH "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/settings" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "enabled": true,
  "followUp": true
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/settings", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "enabled": true,
    "followUp": true
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.patch(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/settings",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "enabled": True,
        "followUp": True,
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "enabled": true,
    "headsUp": false,
    "followUp": true,
    "sendToClips": false,
    "sameStreamMinutes": 10,
    "cooldownMinutes": 180,
    "quietWords": [
      "test"
    ],
    "plannedWindowMinutes": 60
  }
}

Disconnect Twitch

DELETE /organizations/{organizationId}/workspaces/{workspaceId}/go-live/twitch
Beta Deletes Calls a platform goLive.twitch.disconnect
Scope
go_live:write
Role permission
Manage Go live (goLive:manage)
Effect
Deletes data or cannot be undone. Calls a social platform when invoked, so it counts against the smaller budget of operations that leave Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Disconnects the workspace's Twitch channel: no announcement goes out until a person connects it again (goLive.twitch.connect needs a browser), and a stream open now is ended in Beplan. Announcements, planned streams and settings are kept, so reconnecting the same channel brings everything back. 409 GO_LIVE_NOT_CONNECTED when nothing is connected. Answers 204 with no body. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 429, 500.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
409 GO_LIVE_NOT_CONNECTED Connect Twitch first.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Disconnect Twitch

curl
curl -X DELETE "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/twitch" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/twitch", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/twitch",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Get a link to connect Twitch

POST /organizations/{organizationId}/workspaces/{workspaceId}/go-live/twitch/connect
Beta Acts outside Beplan goLive.twitch.connect
Scope
go_live:write
Role permission
Manage Go live (goLive:manage)
Effect
Leaves Beplan: publishes, sends a message or an email, or spends paid quota. Counts against the smaller budget of operations that leave Beplan.
Idempotency
Single-flight: an Idempotency-Key only stops a second run while the first is running. Its answer carries signed links and is never stored, so a repeat afterwards runs again with fresh links.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Starts connecting (or reconnecting) the workspace's Twitch channel and returns authorizeUrl, Twitch's sign-in page, valid 10 minutes. A person must open it in a browser where they are signed in to Beplan as the same user the token belongs to: they approve on Twitch, which sends them back to the Beplan app, where the connection finishes. The API can't finish it alone. Show or send the link to that person, then poll goLive.get until connection.connected is true. No body. 503 TWITCH_UNAVAILABLE when Twitch isn't available on this server. Needs the right to manage Go live.

Parameters

Name In Type Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

200 OK

object · ConnectGoLiveTwitchResponse

  • dataobjectrequired
    1field
    • authorizeUrlstring (uri)required

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500, 503.

Error codes

Status Code Message
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 MISSING_PERMISSION You don't have permission to do this.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 WORKSPACE_NOT_FOUND This workspace doesn't exist or you don't have access to it.
503 TWITCH_UNAVAILABLE Twitch isn't available right now.
14 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Connect Twitch

curl
curl -X POST "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/twitch/connect" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/twitch/connect", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/ORGANIZATION_ID/workspaces/WORKSPACE_ID/go-live/twitch/connect",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "authorizeUrl": "https://id.twitch.tv/oauth2/authorize?client_id=…&response_type=code&state=…"
  }
}