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

# Creates a new job with JSON parameters

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

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

## Path parameters

- `queueName` string, required

## Request body

- object

## 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 or malformed JSON.
- `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.

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
