Skip to main content
POST
Trigger a Webhook from Streaming Hub

Cabeçalhos

X-Webhook-Signature
string
obrigatório

HMAC-v1 signature over the raw body, in the form v1,sha256=<hex>. The hex value is the HMAC-SHA256 of v1:<X-Webhook-Timestamp>.<raw body>, keyed with the tenant's inbound signing secret. During a signing-secret rotation, the header repeats once for each active secret, two values at most. Flowker accepts the delivery when one value verifies.

X-Webhook-Timestamp
string
obrigatório

Unix time in seconds, the same value the signature covers. Flowker rejects a timestamp outside the freshness window, five minutes by default, even when the signature is correct.

X-Lerian-Tenant-Id
string
obrigatório

Tenant that owns the delivery. Flowker uses it to select the signing secret to check. A valid signature confirms it.

X-Lerian-Event-Id
string

Streaming Hub event ID. Flowker uses it as the replay key for each workflow. A delivery that repeats an event ID returns the first execution and does not run the workflow again.

X-Lerian-Delivery-Id
string

Delivery-attempt ID, recorded for correlation. It changes on every retry of the same event.

Idempotency-Key
string

Optional idempotency key. A repeated key returns the prior execution. When the delivery carries X-Lerian-Event-Id, the event ID takes precedence.

Parâmetros de caminho

path
string
obrigatório

Webhook path registered by a workflow. Supports nested paths with multiple segments at runtime. Forward slashes within the path must be percent-encoded as %2F per RFC 3986/OpenAPI 3.1 (for example, use orders%2Fpaid for orders/paid).

Corpo

application/json

The delivered event, byte for byte. The signature covers these bytes, so they must not be re-encoded in transit. Maximum size is 1 MB.

Event payload. When the webhook trigger defines an input contract, Flowker validates the payload against it.

Resposta

The workflow finished inside the synchronous window. The body carries the final business results.

completedAt
string<date-time>

Timestamp when the execution finished.

Exemplo:

"2026-03-17T14:35:12Z"

executionId
string<uuid>

Unique identifier of the execution.

Exemplo:

"f7e6d5c4-b3a2-1098-7654-321fedcba098"

finalOutput
object

Aggregated output from the last step or the workflow's final result.

Exemplo:
startedAt
string<date-time>

Timestamp when the execution started.

Exemplo:

"2026-03-17T14:35:00Z"

status
string

Final status of the execution.

Exemplo:

"completed"

stepResults
object[]

Ordered list of results for each step executed.

workflowId
string<uuid>

ID of the workflow that was executed.

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"