06-21-2022 10:52 AM
hi ,
we have a use case where we would like to post messages via rest api calls from our monitoring tools,but is see that webex api's does not support client credentials grant api,is there any other we can support use case by caling webex rest api's
Regards,
venkata prasad
+1 214 864 4624
06-22-2022 11:00 AM
This kind of use-case is usually served pretty well using Webex bot accounts: https://developer.webex.com/docs/bots
The main limitation being that most 'admin' operations cannot be performed by bots - however posting messages should be just fine.
06-22-2022 10:52 AM
Depending on your use case, you may create a bot. That is able to send messages and create spaces etc. When creating a bot, you will get a fix access token that does not change. See https://developer.webex.com/docs/bots
Otherwise, you may run the integration's oauth flow once, grab the access and refresh token and renew the access token prior to its expiry. So you would not re-run the flow and may build an application that may run as a batch even without another authentication.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide