The Nimbb API contains a Callback function. This callback lets you define an URL to call when a video is saved by a user. This allows instant notification to your server. You can define one callback per site that you specify in your Developer settings.

Important: To use Callback, you must have a Silver or higher subscription.

When our server calls your URL, it also adds the following parameters that you can read through your code:

  • type: type of callback with possible values: video_saved (a video was saved);
  • guid: Unique ID for the video. Keep this value in your database and use it with the Nimbb Player to view the video.

Example

For example, if you specify the callback URL http://nimbb.com/Doc/Tutorials/Thanks.aspx, when a video is saved, our server will call the URL by adding the parameters like this:

http://nimbb.com/Doc/Tutorials/Thanks.aspx?type=video_saved&guid=XXXXXXXXXX

SIGN UP NOW 7-day free trial

Check out our Developer guide to get started with Nimbb.