Webhook Jobs
Schedule any HTTP endpoint to be called on a cron schedule. No gateway required.
Supported Methods
GET— Fetch data or trigger actionsPOST— Send data to endpointsPUT— Update resourcesDELETE— Remove resources
Creating a Webhook Job
- Go to Dashboard → Jobs → Create Job
- Select Webhook integration type
- Enter the endpoint URL
- Choose the HTTP method
- Set your cron schedule
- (Optional) Add custom headers and body
Custom Headers
Add authentication or custom headers as key-value pairs:
Authorization: Bearer your-api-key
Content-Type: application/json
X-Custom-Header: valueBody Templates
For POST/PUT requests, define a JSON body with template variables:
{
"message": "{{message}}",
"jobId": "{{jobId}}",
"jobName": "{{jobName}}",
"runId": "{{runId}}",
"timestamp": "{{timestamp}}"
}Available Template Variables
| Variable | Description |
|---|---|
{{message}} | The job message field |
{{jobId}} | Unique job identifier |
{{jobName}} | Job display name |
{{runId}} | Unique execution ID |
{{timestamp}} | ISO 8601 execution timestamp |
Behavior
- Timeout: 30 seconds per request
- Success: Any 2xx response is treated as success
- Failure: 4xx/5xx responses or timeouts are failures
- Smart Retries: Transient errors (5xx, timeouts, rate limits) are retried up to 3 times with exponential backoff
- Circuit Breaker: 3 consecutive failures (after retries) auto-disables the job
- User-Agent: Requests identify as
ClawTick-Scheduler/2.0
CLI Example
clawtick jobs create \
--name "Sync inventory" \
--cron "0 */6 * * *" \
--message "sync" \
--integration webhook \
--webhook-url "https://api.myapp.com/sync" \
--webhook-method POST