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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...