All Apps and Add-ons

How to get Bearer Token

tataanil92
Engager

Can you also publish as how to generate bearer token and get room id

dmdm
New Member

To get a room id, you have to decode base64 of the url, which you got from https://apphub.webex.com/teams/applications/incoming-webhooks-cisco-systems.

 

 

1. connect webhooks with your webex teams via https://apphub.webex.com/teams/applications/incoming-webhooks-cisco-systems

2. at the bottom of the page, fill in "webhook name" and select your space. It will process an URL, which will look like this:
https://webexapis.com/v1/webhooks/incoming/Y2lzY29zcGFyazovL3VzL1dFQkhPT0svMTExMTExMTEtMjIyMi0zMzMzL...

3. take the last part "Y2lzY29zcGFyazovL3VzL1dFQkhPT0svMTExMTExMTEtMjIyMi0zMzMzLTQ0NDQtNTU1NTU1NTU1NTU1" and decode it with base64 for example https://www.base64decode.org/

 

4 decoded string will look like
ciscospark://us/WEBHOOK/11111111-2222-3333-4444-555555555555

 

5 "11111111-2222-3333-4444-555555555555" is the room ID.

 

I still try to figure out how to get Bearer Token, but to my knowledge it's not required anymore. Leaving the Wearer Token field empty doesn't make the addon work anyway.

0 Karma

theinfa
Engager

Has anyone solved this issue in the meantime? If so, how?

Or any other way to use Webex Teams Webhooks ?

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...