Create a job
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-Disable-Hooks
Request
This endpoint expects an object.
type
The type of job
operation
the type of operation to perform on the data. For example, "export".
source
The id of a file, workbook, sheet, or app
destination
The id of the workbook where extracted file data will be sent
config
trigger
the type of trigger to use for this job
Allowed values:
status
the status of the job
progress
the progress of the job. Whole number between 0 and 100
fileId
File ID
mode
the mode of the job
Allowed values:
input
Input parameters for this job type.
subject
Subject parameters for this job type.
outcome
Outcome summary of job.
info
Current status of job in text
managed
Indicates if Flatfile is managing the control flow of this job or if it is being manually tracked.
environmentId
The id of the environment this job belongs to
part
The part number of this job
partData
The data for this part of the job
partExecution
The execution mode for this part of the job
Allowed values:
parentId
The id of the parent job
predecessorIds
The ids of the jobs that must complete before this job can start
metadata
Additional metadata for the job
Response
This endpoint returns an object.
data
A single unit of work that will execute asynchronously