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.
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.
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: