Skip to main content
PUT
/
{channelId}
/
broadcasts
/
{broadcastId}
Update broadcast
curl --request PUT \
  --url https://api.heyy.io/api/v2.0/{channelId}/broadcasts/{broadcastId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "workflowId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isScheduled": true,
  "scheduledAt": "2023-11-07T05:31:56Z",
  "isReoccurring": true,
  "recurrenceRules": [
    "<string>"
  ]
}'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "workflowId": "<string>",
    "isScheduled": true,
    "isReoccurring": true,
    "scheduledAt": "<string>",
    "recurrenceRules": "<any>",
    "variables": "<any>",
    "status": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

channelId
string
required
broadcastId
string
required

Body

application/json
name
string
workflowId
string<uuid>
isScheduled
boolean
scheduledAt
string<date-time> | null
isReoccurring
boolean
recurrenceRules
string[] | null

Response

200 - application/json
data
object
required