Create job
documentedCreate a new CloudConvert job with one or more tasks.
POST /v2/jobsJobsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.cloudconvert.com/v2/jobs" \
-X POST \
-H "Authorization: Bearer {{CLOUDCONVERT_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"tasks": {
"import-my-file": {
"operation": "import/url",
"url": "{{$source_url}}",
"filename": "{{$source_filename}}"
},
"convert-my-file": {
"operation": "convert",
"input": "import-my-file",
"input_format": "{{$input_format}}",
"output_format": "{{$output_format}}",
"page_range": "{{$page_range}}",
"optimize_print": {{$optimize_print}}
},
"export-my-file": {
"operation": "export/url",
"input": "convert-my-file"
}
},
"tag": "{{$tag}}",
"redirect": {{$redirect}}
}'}