Skip to Content
Runbase

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.

NameTypeRequiredDescription
idstringyes
workspacestringnoWorkspace 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=&lt;unix&gt;,v1=&lt;sig&gt;[,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_&lt;base64&gt; 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).

NameTypeRequiredDescription
namestringyes
eventTypestringyes
secretNamestringyes
configobjectyes
workspacestringnoWorkspace id or name (default: active workspace)

webhooks.delete

Deletes an inbound webhook (the URL stops responding).

NameTypeRequiredDescription
idstringyes
workspacestringnoWorkspace id or name (default: active workspace)

webhooks.list

Lists the workspace inbound webhooks: path (production), testPath (test, starts nothing), last received payload (sample, sampleAt).

NameTypeRequiredDescription
workspacestringnoWorkspace 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.

NameTypeRequiredDescription
idstringyes
payloadanyyesJSON sent, e.g. { id: 'evt_1' }
workspacestringnoWorkspace id or name (default: active workspace)

webhooks.update

Updates an inbound webhook (name, eventType, secretName, full config) without changing its URL.

NameTypeRequiredDescription
idstringyes
namestringno
eventTypestringno
secretNamestringno
configobjectno
workspacestringnoWorkspace id or name (default: active workspace)

On this page