Incoming Webhooks (messaging)

Incoming Webhooks

Integration by Cisco Systems

Incoming Webhooks

Send messages to Webex from other services.

Send messages to Webex from other services.
Connect
Integration by Cisco Systems

Incoming webhooks let you post messages in Webex spaces when an event occurs in another service that supports webhooks. Webhook events trigger in near real-time allowing your Webex spaces to stay in sync with events happening outside of Webex.

 

The incoming webhook URL expects an HTTP request with a JSON payload which includes the message in either a plaintext field or Markdown-formatted field.

 

curl -X POST -H "Content-Type: application/json" ∖
-d '{"text" : "This is a message from a Webex incoming webhook."}' ∖   "https://webexapis.com/v1/webhooks/incoming/<incoming_webhook_url>"

 

curl -X POST -H "Content-Type: application/json" ∖
-d '{"markdown" : "This is a formatted message from a Webex incoming webhook."}' ∖   "https://webexapis.com/v1/webhooks/incoming/<incoming_webhook_url>".

Support

Categories

Incoming webhooks let you post messages in Webex spaces when an event occurs in another service that supports webhooks. Webhook events trigger in near real-time allowing your Webex spaces to stay in sync with events happening outside of Webex.

 

The incoming webhook URL expects an HTTP request with a JSON payload which includes the message in either a plaintext field or Markdown-formatted field.

 

curl -X POST -H "Content-Type: application/json" ∖
-d '{"text" : "This is a message from a Webex incoming webhook."}' ∖   "https://webexapis.com/v1/webhooks/incoming/<incoming_webhook_url>"

 

curl -X POST -H "Content-Type: application/json" ∖
-d '{"markdown" : "This is a formatted message from a Webex incoming webhook."}' ∖   "https://webexapis.com/v1/webhooks/incoming/<incoming_webhook_url>".