---
title: "Creates a new job with form data"
method: POST
path: "/api/v1/jobs/{queueName}/upload"
tags: ["Job Queue"]
---

# Creates a new job with form data

`POST /api/v1/jobs/{queueName}/upload`

## Request

- Base URL: `https://docs.anzworldline-solutions.com.au`
- URL: `https://docs.anzworldline-solutions.com.au/api/v1/jobs/{queueName}/upload`
- Auth: none declared
- TypeScript: <https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/docs/api/v1/jobs/:queueName/upload/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates and queues a new background job with multipart form data parameters. Returns the job ID and initial status information.

## Path parameters

- `queueName` string, required

## Request body `multipart/form-data`

- JobParamsSchema: Schema for multipart job queue parameters.
  - `file` string, binary: The file to be processed by the job.
  - `params` string: JSON string with job-specific parameters.

## Response `200`

Job created successfully

- ResponseEntityJobStatusView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` JobStatusResponse
    - `jobId` string
    - `statusUrl` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400`: Bad Request: Invalid parameters, malformed multipart payload, or file issues.
- `401`: Unauthorized: Invalid or missing user authentication.
- `403`: Forbidden: User lacks permission to enqueue jobs in the specified queue.
- `404`: Not Found: Queue with the specified name does not exist.
- `500`: Internal Server Error: An unexpected error occurred while creating the job.

## Changes

- **2026-10-30** `4fd8e917d458`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/changes/api/v1/jobs/:queueName/upload/post.md)

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) - [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/revisions/4fd8e917d458?raw)
