Closed nstamoul closed 5 years ago
The solution here is to use a bot. A bot should have a perpetual API key. This is what I have been using in my deployments and it has worked well. Once you register a bot, you will need to invite it to a space. Then use the request integration-setup
(or something like that) command to input the API key and pick which space ZTP should send messages.
The bot works just fine. Thank you for your quick response.
No problem. Thanks for the feedback.
It is a known fact that the webex teams API-key expires after 12 hours. This limits the integration's functionality and I am searching for a permanent solution.
I tried editing the /bin/ztp file in order to use Incoming Webhooks App (https://apphub.webex.com/integrations/incoming-webhooks-cisco-systems) but my limited coding skills got me nowhere. Furthermore I don't really know if this is a viable solution since I am not sure you can send file attachments with Incoming Webhooks.
So is there a permanent solution? Is something on the roadmap?