---
title: "Create Job"
method: POST
path: "/rest/api/consent/v4/jobs"
tags: ["Jobs"]
---

# Create Job

`POST /rest/api/consent/v4/jobs`

Use this API to create a new schedule job for data subject bulk actions.

## Request body

- ConsentAPIJobCreateRequest
  - `EntityId` string, required — The unique identifier of the entity for which the job is being created.
  - `Name` string, required — The name of the job.
  - `Description` string — The description of the job.
  - `Type` 'consent_ds_bulk_actions' — The type of job.
  - `Token` string, required — The authentication token required to execute the job.

## Response `200`

OK

- ConsentAPIJobResponse
  - `Id` string, uuid — The unique identifier of the scheduled job.
  - `Name` string — The name of the job.
  - `Description` string — The description of the job.
  - `TypeId` string — The type of job.
  - `Status` 'Pending' | 'In Progress' | 'Error' | 'Completed' — The status of the job.
  - `StatusId` integer — The numeric status identifier of the job.
  - `ErrorCount` integer — The number of errors encountered during job execution.
  - `CreatedBy` string, uuid — The unique identifier of the user who created the job.
  - `CreatedDate` string, date-time — The date and time that the job was created.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/revisions/21de3aa0b170/schema)
