Create a new webhook template with configurable retry logic, timeout settings, and template variable support
| Field | Type | Required | Description |
|---|---|---|---|
webhook_name | string | Yes | Name of the webhook template |
webhook_description | string | Yes | Description of the webhook template |
method | string | Yes | HTTP method. Allowed values: "GET", "POST", "PUT", "DELETE", "PATCH" |
path | string | Yes | URL path for the webhook (e.g., “/hr/”) |
domain_uuid | string | Yes | UUID of the domain associated with this webhook template |
retry_delay | integer | Yes | Delay in seconds between retry attempts |
retry_backoff_mode | string | Yes | Retry backoff strategy: “linear” or “exponential” |
max_retries | integer | Yes | Maximum number of retry attempts |
request_timeout_in_milliseconds | integer | Yes | Request timeout in milliseconds |
request_body_json | object | Yes | Request body as JSON object (supports template variables) |
headers_json | object | Yes | HTTP headers as JSON object (supports template variables) |
query_params_json | object | Yes | Query parameters as JSON object (supports template variables) |
request_body_json): Any field value can contain template variablesheaders_json): Header values can contain template variablesquery_params_json): Query parameter values can contain template variablespath): The path itself can contain template variables| Field | Type | Description |
|---|---|---|
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 |
API key for authentication. Get this from your dashboard by selecting a brand and going to API Keys section.
Brand UUID for authentication. Get this from your dashboard after adding a brand - it will be displayed in the UI.
Webhook template configuration
Name of the webhook template
Description of the webhook template
HTTP method (e.g., 'GET', 'POST', 'PUT', 'DELETE')
GET, POST, PUT, DELETE, PATCH URL path for the webhook (supports template variables)
UUID of the domain associated with this webhook template
Delay in seconds between retry attempts
Retry backoff strategy
linear, exponential Maximum number of retry attempts
Request timeout in milliseconds
Request body as JSON object (supports template variables)
HTTP headers as JSON object (supports template variables)
Query parameters as JSON object (supports template variables)