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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...