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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...