Create a job
Creates a job that will call your target URL on schedule. At minimum you must provide a target URL and cron expression.
Request body#
| Field | Type | Required | Notes |
|---|---|---|---|
target_url | string | Yes | Absolute HTTP/HTTPS URL |
schedule_cron | string | Yes | 5-field cron expression, or 6-field with optional year (e.g. /5 * 2027) |
name | string | No | Friendly job name |
description | string | No | Optional job description |
method | string | No | Defaults to POST |
headers_json | object | No | Outgoing request headers |
body_json | object | No | Outgoing request body |
timezone | string | No | IANA timezone, default UTC |
retry_policy_json | object | No | Retry config with max_retries and backoff_ms |
timeout_ms | number | No | Request timeout in milliseconds |
curl -X POST https://velora-api.psalinks.com/api/v1/jobs \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Daily digest",
"target_url": "https://yourapp.com/webhooks/digest",
"method": "POST",
"schedule_cron": "0 9 * * 1-5",
"timezone": "UTC"
}'201 Response
{
"id": "9f4a1c2b-3d4e-5f6a-7b8c-9d0e1f2a3b4c",
"owner_id": "08c0f7d3-...",
"api_key_id": "2dc59f1f-...",
"status": "active",
"msg": "Job created"
}Required scope: jobs:create (or wildcard/admin scope).
Common errors#
| Status | error | Typical cause |
|---|---|---|
400 | validation_error | Missing target_url, invalid URL scheme, private/reserved IP target (SSRF block), missing schedule_cron, or invalid cron / past year |
401 | api_key_missing | invalid_api_key | Missing or invalid bearer key |
403 | insufficient_scope | job_limit_exceeded | Scope missing or plan limit reached |
500 | db_error | Temporary database issue |