create_webhook
Creates a new webhook listener. Gumlet POSTs JSON to url for each matching event and sends secret_token in the x-gumlet-token header. Payload schemas are documented in the webhooks section.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL from the application you want to send data to. | |
| sources | No | List of video collection identifiers for which webhooks are needed to be invoked. | |
| triggers | No | Events that invoke this webhook. `status` subscribes to every video asset status event. `live-video-status` subscribes to every live video status event. Any other value subscribes to that event only. | |
| secret_token | No | Secret sent back in the `x-gumlet-token` header of each webhook POST so you can confirm the request came from Gumlet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||