create_webhook
Create a webhook in Webex to monitor specific resources and trigger events by defining a name, target URL, resource, event, filter, secret, and owner.
Instructions
Create a webhook in Webex.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
event | Yes | The event to trigger the webhook (e.g., created). | |
filter | Yes | The filter for the webhook. | |
name | Yes | The name of the webhook. | |
ownedBy | Yes | The owner of the webhook. | |
resource | Yes | The resource to monitor (e.g., messages). | |
secret | Yes | The secret for the webhook. | |
targetUrl | Yes | The target URL for the webhook. |
Input Schema (JSON Schema)
{
"properties": {
"event": {
"description": "The event to trigger the webhook (e.g., created).",
"type": "string"
},
"filter": {
"description": "The filter for the webhook.",
"type": "string"
},
"name": {
"description": "The name of the webhook.",
"type": "string"
},
"ownedBy": {
"description": "The owner of the webhook.",
"type": "string"
},
"resource": {
"description": "The resource to monitor (e.g., messages).",
"type": "string"
},
"secret": {
"description": "The secret for the webhook.",
"type": "string"
},
"targetUrl": {
"description": "The target URL for the webhook.",
"type": "string"
}
},
"required": [
"name",
"targetUrl",
"resource",
"event",
"filter",
"secret",
"ownedBy"
],
"type": "object"
}