Cloud Elements currently supports events via polling or webhooks depending on the endpoint.
n
minutes and captures the changed information.If you would like to see more information on our Events framework, please see the Event Management Guide.
Cisco Spark supports webhooks. In order to enable webhooks, add these extra configurations to your instance JSON:
"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
instance JSON with events enabled:
{
"element": {
"key": "ciscospark"
},
"providerData": {
"code": "<CODE_ON_THE_RETURN_URL>"
},
"configuration": {
"oauth.api.key": "<INSERT_CLIENT_ID>",
"oauth.api.secret": "<INSERT_CLIENT_SECRET>",
"oauth.callback.url": "<INSERT_CALLBACK_URL>",
"event.notification.enabled": "true",
"event.notification.callback.url": "<INSERT_YOUR_APPS_CALLBACK_URL>"
},
"tags": [
"<ADD_YOUR_TAG>"
],
"name": "<INSERT_INSTANCE_NAME>"
}
Read more about the Cisco Spark webhook API on the developer documentation.