cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
995
Views
10
Helpful
6
Replies

Webhooks

hazeena farook
Cisco Employee
Cisco Employee

Hello, I am developing a bot in Webex Teams and have a question regarding the webhooks. Anyone knows if webhook messages are guaranteed and resend if the receiving end does not confirm the reception?

6 Replies 6

Martin.Fabach
Level 1
Level 1

Are there any rate-limits to consider for my chatbot? (will have to handle quite much volume)

Rate limiting is discussed on https://developer.webex.com/docs/basics#rate-limiting. If you do get rate limited you need to honor the retry-after header(which is in seconds) and wait before retrying the request.

Martin.Fabach
Level 1
Level 1

I also use the Cisco Enterprise Chat & Mail API. There it is documented that webhooks, that are not confirmed, will be resent several times.
https://pubhub.devnetcloud.com/media/enterprise-chat-and-email/docs/guides/interaction-api-developer-guide/d2/d97/classclientapplications_1_1pages_1_1asyncmessaging_1_1_callback_page.html#v19_clientapplications_callback_deactivation

Does Webex Teams API handle it the same way?

Webex webhooks will not retry if there is an issue reaching the targetUrl defined in the webhook.

hazeena farook
Cisco Employee
Cisco Employee

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. Please note, that this URL must be publicly reachable and Internet-accessible by Webex, where your application will be listening for inbound HTTP requests.


A response is also required from the web server for delivery. If Webex does not receive a successful HTTP response in the 2xx range from the server, your webhook will be disabled after 100 failed attempts within a five minute period.

 

For more details, refer https://developer.webex.com/docs/webhooks

 

thank you, I just saw this in the documentation as well. However it is not documented if those who fail are resent?