The message notification service can inform your server of Agora product events through HTTP/HTTPS protocol requests. This service integrates some events of the Real-Time Communication (RTC) and Clouding Recording products. You can use this service by providing configuration information to Agora.
Contact firstname.lastname@example.org enable the message notification service with the following information:
After the configuration is completed, the message notification service will take effect after 5 minutes. Therefore, your server needs to respond to the notification server immediately. The response
bodymust be in JSON format.
After configuring the message notification service, we will automatically generate the
secret is a string type
key that can be used to generate a signature. You need to save this
key for signature verification.
The notification callback is sent to your server as an HTTP/HTTPS POST request with the
body in JSON format. The character encoding is UTF-8.
header of the notification callback contains the following fields:
body of the notification callback contains the following fields:
||String||Notification ID, identifying the notification callback when the event occurs.|
1: Real-Time Communication
3: Cloud Recording and Extension Service
||Number||The Unix time (ms) when the notification server requests to your server, which is updated each time it resends the notification callback.|
||JSON Object||The content of the events, see RTC