---
title: "Create a new Job Allocation"
method: POST
path: "/joballocation.json"
tags: ["Job Allocations"]
---

# Create a new Job Allocation

`POST /joballocation.json`

#### OAuth Scope
This endpoint requires the following OAuth scope **manage_schedule**.

			
			
#### Record UUID
UUID is optional for record creation. If no UUID is supplied, a UUID will be automatically generated for the new record and returned in the `x-record-uuid` response header.

## Request body

- JobAllocation
  - `uuid` string, uuid — Unique identifier for this record
  - `active` 0 | 1 — Record active/deleted flag. Valid values are [0,1]
  - `edit_date` string — Timestamp at which record was last modified
  - `job_uuid` string, uuid
  - `queue_uuid` string, uuid
  - `staff_uuid` string, uuid
  - `allocation_date` string
  - `allocation_window_uuid` string, uuid
  - `allocated_by_staff_uuid` string, uuid
  - `allocated_timestamp` string
  - `expiry_timestamp` string
  - `read_timestamp` string
  - `completion_timestamp` string
  - `estimated_duration` string
  - `revised_duration` string
  - `sort_priority` string
  - `requires_acceptance` string
  - `acceptance_status` string
  - `acceptance_timestamp` string

## Response `200`

Success

- Result
  - `errorCode` number
  - `message` string

## Other responses

- `400` — Bad Request - The request is malformed or contains invalid parameters
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - You don't have permission to create this resource
- `429` — Too Many Requests - You have exceeded the rate limit
- `500` — Internal Server Error - An unexpected error occurred on the server

## Changes

- **2025-08-14** `ca9b053c4373` — 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`

[Change history](https://skmtc.dev/servicem8/apis/servicem8-api/changes/joballocation.json/post.md)

---

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