Skip to main content

Webhook types

A webhook is a real-time callback that sends an HTTP POST request to your server-side app when a defined event happens in our Video Streaming service. This way, you instantly receive updates and can trigger automated actions without manual checks by constant pulling API. A single universal endpoint is used for all types of webhooks.
Supported entities:
  1. Live streams – type: stream
  2. VOD videos:
    • on state change – type: video
    • on delete – type: video_delete
  3. Restreamings – type: restream
The webhook will contain main fields of the entity for which the event occurred. This allows you to not pull the API to get additional data each time.

Webhooks for Live

When the state of a live stream changes, the system triggers a webhook with type stream. The payload contains a message.stream object with stream properties. Behavior:
  • A webhook is fired on key state changes, such as ingest start, transcoding start, or stream stop.
  • The payload allows you to track whether a stream is active, whether playback output is ready, its source, and related metadata.
  • Both PUSH and PULL origins are supported.
Live stream lifecycle: For live streams, type: stream webhooks can be sent at different stages of the stream lifecycle:
Use live: true (or backup_live: true) to track active ingest. Use transcoding: true to track when the live stream is ready for playback.Read more in the article Ingest & Backup.
Fields: Example: Stream is ready for playback:
Stopped stream:

Webhooks for VOD

VOD webhooks use type: video for create and status updates, and type: video_delete when a video is deleted. Read more about VOD statuses in Video Lifecycle and Statuses.

VOD create and update

A webhook with type video fires when a VOD file is created, processed, or becomes playable. Use the payload to track processing progress and available renditions. Behavior:
  • Sent on key status changes of a video: empty → pending → viewable → ready or error.
  • converted_videos[].status reflects per-rendition progress like processing or complete.
Fields: See the statuses of VOD processing in API docs: Example: Video uploaded:
Video becomes viewable (not all renditions are ready yet, but video can be watched by end-users already):

VOD delete

A webhook with type video_delete notify your system that a VOD entity was deleted so you can purge caches, revoke URLs, and clean metadata. Behavior:
  • Fired when a video is deleted via API or UI.
  • Emitted once per deletion event.
Fields: Example:

Webhooks for Restream

When a restream changes state (for example, starts or stops), the system sends a webhook with type restream. The payload contains a message.restream object. Behavior:
  • Fired whenever a restream goes live or stops.
  • Allows you to track the status of a specific restream linked to a live stream.
Fields: Example: Restream starts:
Restream stops:

Sending events

We deliver webhooks from IP addresses 92.223.112.0/24 and 92.223.123.0/24. So put them into the whitelist. Events are sent only once. If your server is unavailable, undelivered webhooks won’t be sent again.

How to enable webhooks

At the moment, webhooks can only be set up with our help. Tell us your end-point and we will install it in your account.
1. Prepare your HTTP server to receive webhooks. 2. Contact us via chat or email support@gcore.com and ask to enable the webhook integration. Specify your ID (personal client ID) and the URL of the server that will receive webhooks. You can find your ID in the Gcore Customer Portal.
your ID in the Gcore Customer Portal
The message template: “Good afternoon! Please configure the Video Streaming webhook integration for my account with ID… The URL of my server to send webhooks to is …”. 3. We will notify you when we configure the webhook integration.
Testing:Also you can easily create and inspect webhook requests using web site https://webhook.site. For example, the temporary link look like https://webhook.site/56ce9331-4ec4-4fa1-bf23-4c4e14276f24 to capture and display incoming webhook payloads for debugging. Create your own and send it to us to set up.