Documentation
Server_APIs_v2 Server APIs v2
Documentation
Demo APP
SDK Center
API Center
FAQ
Code Market
Console
Sign Up
Log In
中文站 English
  • Documentation
  • Server APIs v2
  • Server callbacks
  • Setting up server-to-server callbacks

Setting up server-to-server callbacks

Last updated:2025-04-07 17:06

Callback services cannot guarantee complete reliability. Please carefully consider the risks of using callback solutions to build core business processes.

You can set up server-to-server callbacks for the ZEGOCLOUD server to send event notifications to your application server so that your application server can handle these events accordingly to ensure the proper operation of the application.

1 Use cases

  • The ZEGOCLOUD server callbacks Stream created and Stream closed can be used to maintain the live stream list on your application server.

    The `pic_url` included in the callback `Stream created` can be used for video content moderation during a live streaming. By default, a snapshot of the video stream is captured and saved to the specified URL every 20 seconds.
  • The ZEGOCLOUD server callback Recorded files obtained can be used to implement video-on-demand services.

2 How to set up server-to-server callbacks

You can set up server callbacks for your application by the following steps:

  1. Log in to ZEGOCLOUD Admin Console, and you will be directed to the Overview page.
  2. In the My Project section, click Edit for the project.

  1. Add server callback as you need.

/Pics/server_v2/add_server_callback.png

Page Directory
  • Free trial
  • 提交工单
    咨询集成、功能及报价等问题
    电话咨询
    400 1006 604
    Get Consulting
    Scan Wechat QR code