Skip to content

Render a payload template against a canonical sample event (preview pane)

POST
/webhook-endpoints/{id}/preview
id
required
string

Webhook endpoint ID

object
payloadFormat

UI affordance for the payload shape (standard | slack | teams | custom).

string
Allowed values: standard slack teams custom
payloadTemplate
required

Body template (JSON string) with {{ path }} placeholders to render.

string
headerTemplates

Header name → template string map to render.

object
key
additional properties
string
contentType

Content-Type for the rendered body.

string
default: application/json
eventType
required

Event type whose canonical sample event drives the preview (e.g. reconciliation.run.completed).

string
object
body
required

Rendered delivery body.

string
headers
required

Rendered header name → value map.

object
key
additional properties
string
contentType
required

Content-Type of the rendered body.

string

Template is invalid (bad JSON / placeholder)

Endpoint not found