Incoming webhooks allow the Spark cloud to be notified via HTTP when a specific event occurs on another service that supports webhooks.For example, an incoming webhook can post a message to a Spark space whenever certain actions occur in your favorite service. Events trigger in near real-time allowing your Spark spaces to stay in sync. Simply follow the instructions below and set up the provided webhook URL with any service you want to connect to Spark. \n\n \n\n Instructions: \n\n 1) Sending a multi-line plain message: \n JSON payload is used as a format of key/value pair. Text property will define the message content posted to the channel.Message can be sent by a HTTP POST to the webhook URL.\n\n \n\n Sample curl command: \n curl -X POST -H "Authorization: Bearer <access_token>" -H "Content-Type: application/json " -d '{"text" : " This is a message from Cisco Spark incoming webhook. \n This is another line."}' \n
Support
Categories
Incoming webhooks allow the Spark cloud to be notified via HTTP when a specific event occurs on another service that supports webhooks.For example, an incoming webhook can post a message to a Spark space whenever certain actions occur in your favorite service. Events trigger in near real-time allowing your Spark spaces to stay in sync. Simply follow the instructions below and set up the provided webhook URL with any service you want to connect to Spark.
Instructions:
1) Sending a multi-line plain message: \n JSON payload is used as a format of key/value pair. Text property will define the message content posted to the channel.Message can be sent by a HTTP POST to the webhook URL.
Sample curl command: \n curl -X POST -H "Authorization: Bearer <access_token>" -H "Content-Type: application/json " -d '{"text" : " This is a message from Cisco Spark incoming webhook. \n This is another line."}' \n