![]() A response is also required from the web server for delivery. Please note, that this URL must be publicly reachable and Internet-accessible by Webex, where your application will be listening for inbound HTTP requests. When you create a webhook for a particular event, the notification data will be sent as an HTTP POST, in JSON format, to a URL of your choosing, each time it is triggered. You can use the Webex API to create a new webhook, to update an existing webhook, or to delete a webhook once it's no longer needed. You can create, or register, a webhook, via the Webex Webhooks API, to subscribe to the events in Webex that you would like to receive notifications for. Your app can then take action, such as looking up the weather forecast for the requested city, and sending it back to the user. You would want to use webhooks to let your app know when someone has sent a new weather request to your app. For example, let’s say that you are creating a weather bot for Webex where users can ask your bot for the weather forecast in any city. Webhooks work well for your integrations and bots. So, instead of your app having to make repeated calls to the API to determine if a new message has been posted into the room, the webhook will automatically notify you of their occurrence. You can create a webhook to have Webex notify you whenever new messages are posted into that room. ![]() ![]() rooms, messages, memberships, etc.).įor instance, let’s say you want to be notified when someone posts a message in a room that you’re interested in. The benefit of using webhooks is that they allow your application to receive real-time data from Webex, so you can keep up with the state of your resources (i.e. A webhook is an HTTP callback, or an HTTP POST, to a specified URL that notifies your app when a particular activity or “event” has occurred in one of your resources on the Webex platform. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |