Get events at a URL
create_event_webhookRegister an https URL that gets each new event of this key as a signed POST, the same events as wait_for_events (default: message.received, comment.received, invitation.received, invitation.accepted, account.status, account.resting). Each POST has the header Spacesos-Signature: t=,v1=<hex HMAC-SHA256 of "." with the secret>. The secret is shown only in this answer: keep it. Failed deliveries are retried with backoff for about a day; after 50 events fail in a row the webhook turns off. At most 3 per key. Use it when your agent runs on a server that can receive requests; otherwise use wait_for_events. Sensitive write: it sends every new event, including message text, to the given URL. Ask the person to approve every call, with the exact recipient and content.
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>"
},
"name": "create_event_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | No | ||
| account_id | No |