---
title: "Create print job"
method: POST
path: "/api/v1/printJobs"
tags: ["Print Jobs"]
---

# Create print job

`POST /api/v1/printJobs`

Create a new print job.

## Request body

- object
  - `printer` object, required
    - `id` string, integer, required — Printer identifier. Can be retrieved using GET /api/v1/printers.
  - `file` object, required
    - `name` string, nullable — Name of the file to print. If not provided in payload use the following default: “api_{currentUser}_{currentTimestamp}.pdf”
    - `type` 'pdf', required — Type of the file to print.
    - `content` string, base64, required — Base64 encoded PDF file data.
  - `quantity` integer, nullable — Number of copies to print. Defaults to 1 if not provided.

## Response `201`

Resource successfully created response

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `415` — Resource representation send in the request is not supported.
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
