API - Version 2‎ > ‎

POST /jobs

Enqueues a job to the be processed.


  • code_name: code to execute
  • payload: job payload data in json format. This is what will be given to the worker when executed.
  • priority: 0 to 2.
  • timeout: to explicitly set the timeout (default 3600 seconds, maximum 3600 seconds).


POST /2/projects/4e71843298ea9b6b9f000004/jobs?oauth=jTxYQDmMx5ZtVeZBT8jVx6oJDLw HTTP/1.1

User-Agent: SimpleWorker Ruby Client

Content-Length: 245

Accept: application/json

Accept-Encoding: gzip, deflate

Content-Type: application/json