# Create Job For A Single File Workflow

Create a Job for a workflow based on a unique file. It returns the Job unique identifier and the url where to upload the file to be processed. Note that the Job will be in AWAITING_FOR_FILE status for maximum 2 hours and will be deleted if no file is provided.

Endpoint: POST /jobs/single-file
Version: 1.0.0
Security: api_key

## Header parameters:

  - `x-managed-company-id` (string)
    Optional: the ID of the managed company on behalf of which the request is made

## Request fields (application/json):

  - `workflowId` (string, required)
    Unique identifier of the Workflow to which the Job will be associated

  - `jobName` (string, required)
    Name of the Job to be created

  - `filename` (string, required)
    Name of the the file that will be used for the Job

  - `sendingEventExecutionDateUtc` (string)
    Datetime of the scheduled SendingEvents execution in UTC

## Response 201 fields (application/json):

  - `id` (string, required)
    Unique identifier of the created Job

  - `fileUploadUrl` (string, required)
    Presigned URL to be used to upload the file of the Job and start effectively its processing. The upload is made via an HTTP PUT request with the file attached as binary to the request.


