Skip to content
Reference

Adapter: Webhook Receiver

Receive incoming HTTP webhooks to trigger workflows.

On this page

Purpose

Receive HTTP requests at /api/webhooks/{path} and start a workflow from them.

This adapter only receives. To send webhooks, use a Generic REST profile, which can sign each request with Standard Webhooks headers.

Auth

  • none, header (a header must hold expectedValue), query (a query parameter must) or signature (an HMAC of the body in signatureHeader, SHA-256 or SHA-1). Every value is compared in constant time.
  • For a timestamp replay window and Standard Webhooks headers, use a webhook trigger with a secret.

Settings

Auth is chosen with authentication: none, header, query, signature. Dotted names are fields inside an object setting. Secret settings are encrypted at rest, never returned by a read, and shown masked in the console and in exports; their defaults are not shown.

SettingTypeRequiredDefaultSecretDescription
pathstringYesNoPath after /api/webhooks (e.g., /my-integration receives POST /api/webhooks/my-integration).
methodenum: POST, GET, PUT, PATCH, DELETENoPOSTNoHTTP method.
authenticationenum: none, header, query, signatureYesNoAuth method.
authConfigobjectNo
authConfig.headerNamestringNoNoUsed when authentication is header.
authConfig.queryParamstringNoNoUsed when authentication is query.
authConfig.expectedValuestringNoYesUsed when authentication is header or query.
authConfig.secretstringNoYesUsed when authentication is signature.
authConfig.signatureHeaderstringNoX-Webhook-SignatureNoUsed when authentication is signature.
authConfig.algorithmenum: sha256, sha1Nosha256NoUsed when authentication is signature.
responseConfigobjectNo
responseConfig.statusCodenumberNo200No
responseConfig.bodystringNoNo
responseConfig.contentTypestringNoapplication/jsonNo

Actions

This adapter only reads or receives: a send step through it is refused. A trailing ? marks an optional step parameter.

ActionWhat it doesStep parametersKeys a message may supply
receiveReceive and validate webhook payload.payload, headers?, query?payload, headers, query
registerRegister a new webhook endpoint.path, workflowIdpayload, headers, query
unregisterUnregister a webhook endpoint.pathpayload, headers, query

Minimal example

The smallest profile the engine accepts: the required settings only, with synthetic values. Create it with POST /api/adapter-profiles, then test it with POST /api/adapter-profiles/{id}/test.

json
{
  "name": "Webhook Receiver (example)",
  "adapterType": "webhook",
  "config": {
    "path": "example-path",
    "authentication": "none"
  }
}

Limits

  • Receive only: a send step through it is refused. To call out, use Generic REST.
  • For per-trigger signing and replay protection, see Triggers.

Reference