cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
250
Views
3
Helpful
6
Replies

What is the IP range for my webex bot

kwang2
Cisco Employee
Cisco Employee

Hello, I have a webex bot (backlogsummary) and need to set up the IP range of it on the server side so it request will come through from the bot to the server. Anyone can advise what are the IP ranges, or how to find that out? Thank you! 

1 Accepted Solution

@kwang2 that is correct. Once you set up the JS SDK with the websockets, you will get notifications, like "messages"created", etc. in your SDK instance, from behind your firewall.

View solution in original post

6 Replies 6

kwang2
Cisco Employee
Cisco Employee

Thank you very much @Janos Benyovszki for the sharing here! Indeed I am stuck here given my target URL is not a public one.... I will take time to digest the JS SDK solution, if I understand it correctly, in this solution, my application still still be hosted on internal server, but with this JS SDK (in between), it will then be able to work with the Bot?

@kwang2 that is correct. Once you set up the JS SDK with the websockets, you will get notifications, like "messages"created", etc. in your SDK instance, from behind your firewall.

Thank you very much @Janos Benyovszki Will look into that and learn how to build it!

Janos Benyovszki
Cisco Employee
Cisco Employee

@kwang2 bots do not have an IP range, they are just machine entities that can be identified on the Webex platform using their access token. If you mean that you want to use webhooks with your bot then you would need to have a target URL that is publicly available and can send a 2xx response to every request from the Webex server. About securing your webhooks, see https://developer.webex.com/meeting/docs/api/guides/webhooks#handling-requests-from-webex > section Authenticating Requests . 

On the other hand, if you cannot create a public URL, then you can use websockets with the JS SDk. We have a blog post about that here https://developer.webex.com/blog/using-websockets-with-the-webex-javascript-sdk . That way you don't need to create a public targetURL.

The IP ranges for Webex bots are part of the Webex cloud service ranges published by Cisco. You’ll need to whitelist the Webex IP subnets in your firewall to ensure your bot communicates without interruptions. These ranges may change from time to time, so it’s a good idea to regularly check Cisco’s official updates. If your network is restrictive, make sure both inbound and outbound rules cover these IP ranges to avoid connection issues

Tushar

Thank you @tushar112 Given the IP range is big and may change, it will be hard to manage, so will try the JS SDK solution.