Create a single Job
Minimum Role Permission
Jobs: Manager
Upload Form Prefill Data: On (only if using preFillData)
The Job to create
OptionalpreFillData: Record<string, unknown>Key/value pairs with the form field names as keys and the pre-fill data as the values
const newJob = {
    username: 'user@domain.io',
    formId: 1,
    externalId: 'your-job-identifier',
    details: {
      key: 'JOB-123',
      title: 'Job Title',
      description: 'Job description',
      type: 'Type',
      priority: 3,
    },
  }
  const preFillData = {
    text_element: 'abc',
    number_element: 123,
  }
  jobs.createJob(newJob, preFillData).then((job) => {
    // job.id can be used to delete the Job
  })
Search Jobs
Minimum Role Permission
Jobs: Read Only
Optionaloptions: { Search options
OptionalexternalThe externalId property of a job
OptionalformThe formId matching the form that a job was created for
OptionalisWhether the job has been submitted or not
Optionallimit?: numberLimit the number of jobs returned
Optionaloffset?: numberSkip a specific number of results, used in conjunction with limit to
enforce paging
Optionalusername?: stringThe username that the job was assigned to
Example