Skip to main content

Live Channel Webhooks

live.channel.created

  • Event for when a live channel is created.
  • Event payload:
   {
"eventTime": "2024-07-17T11:50:21.1669354Z",
"eventType": "live.channel.created",
"data": {
"PublicId": "{PublicId}",
"StreamId": "{StreamId}",
"Name": "{Name}",
"Title": "{Title}",
"Logo": "{Logo}",
"StreamServer": "{StreamServer}",
"StreamKey": "{StreamKey}",
"PlaybackUrl": "",
"LiveStatus": "Offline",
"HealthStatus": "Unknown"
},
"projectId": "{projectId}"
}

live.channel.updated

  • Event for when a lives channel is updated.
  • Event payload:
    {
"eventTime": "2024-07-17T11:51:46.9418194Z",
"eventType": "live.channel.updated",
"data": {
"PublicId": "{PublicId}",
"StreamId": "{StreamId}",
"Name": "{Name}",
"Title": "{Title}",
"StreamServer": "{StreamServer}",
"StreamKey": "{StreamKey}",
"PlaybackUrl": "{PlaybackUrl}",
"LiveStatus": "Offline",
"HealthStatus": "Unknown"
},
"projectId": "{projectId}"
}

live.channel.deleted

  • Even for when a live channel has been deleted
  • Event payload:
    {
"eventTime": "2024-07-17T11:53:18.7581076Z",
"eventType": "live.channel.deleted",
"data": {
"Id": "{Id}",
"Name": "{Name}"
},
"projectId": "{projectId}"
}

live.channel.status.changed

  • Event for when a live channel status changes.
  • Live channel’s statuses that can be sent are:
    • Offline
    • Processing
  • Event payload:
  {
"eventTime": "2024-07-17T11:56:24.3627619Z",
"eventType": "live.channel.status.changed",
"data": {
"Id": "{Id}",
"Name": "{Name}",
"Title": "{Title}",
"LiveStatusId": 3,
"LiveStatus": "Processing",
"HealthStatusId": 1,
"HealthStatus": "Healthy"
},
"projectId": "{projectId}"
}