swapcard_create_webhook
Register a webhook subscription for an event by providing the endpoint, secret, and hooks like PROFILE_CREATE to trigger automated callbacks.
Instructions
Register a new webhook subscription for an event.
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": {
"eventId": "<eventId>",
"endpoint": "<endpoint>",
"secret": "<secret>",
"hooks": "<hooks>"
},
"name": "swapcard_create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hooks | Yes | ||
| secret | Yes | ||
| eventId | Yes | ||
| endpoint | Yes |