Can you also publish as how to generate bearer token and get room id
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.
Has anyone solved this issue in the meantime? If so, how?
Or any other way to use Webex Teams Webhooks ?