The webhook service allows us to push notification to customer.

For each webhooks, you can set a specific a destination endpoint url and choose which notifications type he want to receive.

Optionally, you can also define a token to protect your end point. This token will be sent as header named "X-VB-Token".

Currently, 2 types of notification are available:

  • VIDEO_STATUS: notify each time the video is updated or its status change

    {
      "evenType": "VIDEO_STATUS",
      "videoId": "<video id>",
      "status": "<video status>"
    }
    
  • VIDEO_TRANSCODING_PROGRESS: notify the progress of the video transcoding

    {  
      "evenType": "VIDEO_TRANSCODING_PROGRESS",  
      "videoId": "<video id>",  
      "status": "<% of transcoding progress>"  
    }