cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
2
Replies

Webex rest API's support client credentials grant api?

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

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

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.

dtibbe
VIP
VIP

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.