webhooks
The webhooks.* tools of the Runbase MCP server, generated from their definitions.
webhooks.clear_sample
Clears the last saved payload (sample) of an inbound webhook.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
workspace | string | no | Workspace id or name (default: active workspace) |
webhooks.create
Creates a public endpoint POST /api/hooks/<id> (path): signature verified with the secret secretName (secrets.set), then event eventType pushed (workflow trigger), deduplicated by the external id (config.idPath, default id). config.dedupe: id (default: a resend of the same id is dropped, response duplicate: true, no workflow), id+hash (dropped only if the item content is identical: an enriched resend of the same id creates a new event and starts the workflow), none (every call creates an event). Unique name per workspace. Formats: stripe, standard (Standard Webhooks/Svix, id = webhook-id header), hmac (header, algorithm sha256|sha1|sha512, encoding hex|base64, prefix e.g. sha256=, timestampHeader + template \{timestamp\}.\{body\}, idHeader; headerFormat kv reads a t=<unix>,v1=<sig>[,v1=…] header value with timestampKey (default t) and signatureKey (default v1, any listed signature matches), signedPayload default \{t\}.\{body\}, toleranceSec default 300; secretEncoding raw (default) | base64 | whsec (whsec_<base64> decoded)). stripe = hmac kv on stripe-signature. Outreach-like: { format: 'hmac', header: 'X-Outreach-Signature', headerFormat: 'kv', signedPayload: '{t}.{body}' }. Cal.com: hmac header x-cal-signature-256. Batches: config.splitPath (e.g. events) or a root array give one event per item, idPath relative to the item. config.storeSample: false: no sample stored. Test URL testPath (/api/hooks/<id>/test): signature verified and sample saved, no event or workflow started (to listen to a provider's next call and write the mapping).
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | |
eventType | string | yes | |
secretName | string | yes | |
config | object | yes | |
workspace | string | no | Workspace id or name (default: active workspace) |
webhooks.delete
Deletes an inbound webhook (the URL stops responding).
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
workspace | string | no | Workspace id or name (default: active workspace) |
webhooks.list
Lists the workspace inbound webhooks: path (production), testPath (test, starts nothing), last received payload (sample, sampleAt).
| Name | Type | Required | Description |
|---|---|---|---|
workspace | string | no | Workspace id or name (default: active workspace) |
webhooks.test
Sends a test payload signed with the webhook secret, in test mode: checks secret and configuration, saves the payload as sample, pushes no event and starts no workflow.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
payload | any | yes | JSON sent, e.g. { id: 'evt_1' } |
workspace | string | no | Workspace id or name (default: active workspace) |
webhooks.update
Updates an inbound webhook (name, eventType, secretName, full config) without changing its URL.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
name | string | no | |
eventType | string | no | |
secretName | string | no | |
config | object | no | |
workspace | string | no | Workspace id or name (default: active workspace) |