Update a job
Update selected fields without recreating the job. Only mutable fields are accepted.
curl -X PATCH https://velora-api.psalinks.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schedule_cron": "0 8 * * 1-5",
"timezone": "Europe/London"
}'200 Response — updated
{
"id": "9f4a1c2b-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
"msg": "Job updated"
}The
webhook_signature_enabled field is always included in job responses. It is set to true when the job has a webhook_secret configured, indicating that Velora will sign outgoing requests with the X-Hub-Signature-256 header.To include HTTP headers and body from the latest job run in the response, add ?include_http_details=true to the URL.
200 Response with include_http_details=true
{
"id": "9f4a1c2b-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
"name": "Daily digest",
"webhook_signature_enabled": true,
"http_details": {
"headers": {
"Content-Type": "application/json",
"X-Custom-Header": "value"
},
"body": "{\"status\": \"success\"}",
"status_code": 200,
"timestamp": "2026-04-01T12:00:00.000Z"
}
}200 Response — no changes
{
"msg": "No changes"
}| Status | error | Typical cause |
|---|---|---|
400 | validation_error | Payload contains invalid field value, or schedule_cron is invalid / year is clearly in the past |
403 | insufficient_scope | Missing jobs:update or jobs:write scope |
404 | not_found | Job does not exist for this owner |
| Field | Notes |
|---|---|
name | Update display name |
description | Update optional description |
target_url | Update destination URL |
schedule_cron | Update cron schedule (5 or 6 fields — minute hour dom month dow [year]) |
method | Update HTTP method |
headers_json | Replace headers object |
body_json | Replace body object |
timezone | Update IANA timezone |
retry_policy_json | Update retry policy |
timeout_ms | Update request timeout |
Required scope: jobs:update or jobs:write (or wildcard/admin scope).