Create a webhook
create_webhookRegisters an HTTPS endpoint to receive Blujay event notifications for messages, delivery updates, reactions, and calls, and returns a signing secret once.
Instructions
Send Blujay events (new messages, delivery updates, reactions, calls) to an HTTPS URL you run. Returns the signing secret once.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"event_types": "<event_types>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| event_types | Yes | For example ["message.received", "message.delivered", "message.failed"]. |