Jobs

Create a cron job

Requires the jobs:write scope.

post/api/jobs

Request

  • Base URL: https://api.cron.cool
  • URL: https://api.cron.cool/api/jobs
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Request body

namestring
expressionstring required

EventBridge Scheduler schedule expression

typestring
urlstring
httpMethodstring
contentTypestring
inputobject

Example request

{
  "expression": "rate(1 day)",
  "type": "webhook",
  "url": "https://example.com/task",
  "httpMethod": "POST",
  "contentType": "application/json"
}

Response

The created job

Changes

No recorded changes to this operation across all 1 revision of this API.