Skip to content

Webhooks

When the webhook is installed, it will be called whenever an event occurred.

Some details about the HTTP request (or HTTPS depending on your webhook url):

  1. We send a POST request with the body encoded as json, and a Content-Type: json header
  2. We don't send any authentication / signature
  3. We don't look at the response code
  4. We don't retry failed requests (because of 3)

If this is a problem feel free to reach out.

SportingEvent.VideoAdded

The VideoAdded event is triggered when an upload is initialized. This means a new video entity is added to a SportingEvent, and the client can start uploading the files.

{
  "eventName": "SportingEvent.VideoAdded",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "sportingEventId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "videoId": "200909fdbe8267"
  }
}

Publication.Scheduled

This event is triggered when livestream is scheduled. After this Event the Publication will be returned in the Studio API response.

{
  "eventName": "Publication.Scheduled",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "publicationId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "publicationType": "livestream"
  }
}

Publication.Active

This event is triggered when livestream is live.

{
  "eventName": "Publication.Active",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "publicationId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "publicationType": "livestream"
  }
}

Publication.Completed

This event is triggered when livestream ended.

{
  "eventName": "Publication.Completed",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "publicationId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "publicationType": "livestream"
  }
}

Publication.Ready

This event is triggered when the processing at the Channel (CDN, Youtube, Facebook, etc) is done. After this Event the Publication will be returned in the Studio API response.

{
  "eventName": "Publication.Ready",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "publicationId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "publicationType": "vod"
  }
}

Video.Uploaded

The VideoUploaded event is triggered when all files are successfully uploaded to teamtv. When this event happens the files are queued for encoding.

{
  "eventName": "Video.Uploaded",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "sportingEventId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "videoId": "200909fdbe8267"
  }
}

Video.Ready

The files are successfully encoded and the video is ready for usage.

{
  "eventName": "Video.Ready",
  "data": {
    "tenantId": "nl_soccer_fc_bal_op_het_dak",
    "sportingEventId": "02ba96a8-7424-4ba3-877b-2f5533b305ed",
    "videoId": "200909fdbe8267"
  }   
}