The API uses the same session cookie as the dashboard. Sign in through the application to create a session. Standalone API keys are not currently supported. Requests operate on the signed-in account; administration endpoints require an administrator.
Send JSON request bodies with Content-Type: application/json. Write requests must include an Origin header matching the application’s configured origin. Request bodies are limited to 100 KB. Keep credentials out of browser-visible code.
// Run from the same origin after signing in.
const response = await fetch('/api/jobs', {
credentials: 'same-origin'
});
if (!response.ok) throw new Error('Unable to load jobs');
const jobs = await response.json();GET/api/meCurrent account
GET/api/jobsList your cron jobs
GET/api/jobs/:idGet one cron job
GET/api/jobs/:id/historyExecutions and upcoming runs
POST/api/jobsCreate a job
PUT/api/jobs/:idUpdate job configuration
PATCH/api/jobs/:idPause or resume ({active: boolean})
DELETE/api/jobs/:idDelete a job
POST/api/jobs/:id/runRun a saved job now
POST/api/jobs/testTest unsaved request settings
GET/api/jobs/test/:idRetrieve your test result
GET/api/logsExecution logs
GET/api/statusPublic service health
Job access is restricted to your workspace role. Use the dashboard’s pause and resume controls to update the job’s enabled state.
Free1 status page
Premium5 status pages
Business20 status pages
Draft and published pages both count. Creation above the workspace owner’s plan limit returns 403; existing pages can still be edited.
Set one schedule field and leave the other two null: interval_seconds, interval_months, or cron_expression. Weeks use seven-day intervals. Calendar months use interval_months; for example, two years is 24 months.
Month and year intervals follow the job’s timezone and original date. If that date does not exist in a shorter month, the last day is used. A later month returns to the original day when possible.
Use variables to add a timestamp or a unique identifier to each request. RocketCron replaces them when the job executes. You can use them in URL paths and query values, header values, and the request body.
%cjo:unixtime%Inserts the current Unix timestamp in seconds.
%cjo:uuid4%Inserts a new UUID v4 for each occurrence.
https://api.example.com/task?time=%cjo:unixtime%&request=%cjo:uuid4%
Repeating the UUID variable produces a different identifier each time it appears, including within the same request. The saved job keeps its variables; execution details show the URL used for that run. Keep the URL scheme and hostname fixed.
Free accounts allow two jobs with intervals from 60 seconds. Premium allows 50 jobs with intervals from one second. Administrators bypass plan restrictions. Cron expressions use six numeric fields and default to UTC. Set settings.timezone to an IANA timezone for a different schedule zone. Requests use a 5–10 second timeout and store at most 10 KB of response preview.
400Invalid input
401Missing authentication
403Denied access or plan limit
429Rate-limited request
503Checked service unavailable
Errors include a JSON error message. Public service health returns 503 when a checked service is unavailable.