Skip to main content
POST
Create a new webhook template with configurable retry logic, timeout settings, and template variable support.

Base URL

All API requests should be made to:

Example request

Request body

Template Variables

Webhook templates support dynamic variable substitution using the following syntax:

Secret Vault Keys

Access keys from the secret vault:
Example:

Workflow Step Variables

Access variables from previous workflow steps:
Example:

Initial Variables

Access variables from the initial workflow input:
Example:

Usage in Different Fields

Template variables can be used in:
  • Request Body (request_body_json): Any field value can contain template variables
  • Headers (headers_json): Header values can contain template variables
  • Query Parameters (query_params_json): Query parameter values can contain template variables
  • Path (path): The path itself can contain template variables

Example with Template Variables

Example response

Response fields

Authorizations

x-hookpulse-api-key
string
header
required

API key for authentication. Get this from your dashboard by selecting a brand and going to API Keys section.

x-brand-uuid
string
header
required

Brand UUID for authentication. Get this from your dashboard after adding a brand - it will be displayed in the UI.

Body

application/json

Webhook template configuration

webhook_name
string
required

Name of the webhook template

webhook_description
string
required

Description of the webhook template

method
enum<string>
required

HTTP method (e.g., 'GET', 'POST', 'PUT', 'DELETE')

Available options:
GET,
POST,
PUT,
DELETE,
PATCH
path
string
required

URL path for the webhook (supports template variables)

domain_uuid
string
required

UUID of the domain associated with this webhook template

retry_delay
integer
required

Delay in seconds between retry attempts

retry_backoff_mode
enum<string>
required

Retry backoff strategy

Available options:
linear,
exponential
max_retries
integer
required

Maximum number of retry attempts

request_timeout_in_milliseconds
integer
required

Request timeout in milliseconds

request_body_json
object
required

Request body as JSON object (supports template variables)

headers_json
object
required

HTTP headers as JSON object (supports template variables)

query_params_json
object
required

Query parameters as JSON object (supports template variables)

Response

Webhook template created successfully

success
boolean

Indicates if the request was successful

webhook_template_id
string

Unique identifier for the created webhook template

message
string

Success message or error details