---
title: "Create a job from a template"
method: POST
path: "/jobtemplate/{uuid}/job.json"
tags: ["Job Templates"]
---

# Create a job from a template

`POST /jobtemplate/{uuid}/job.json`

Creates a new job by cloning an existing job template. All template entities (tasks, materials, checklists, quotes, custom fields) are cloned to the new job.

#### Field Overrides
Only the following fields can be overridden when creating a job from a template:
- `job_description` - Job description
- `company_uuid` - UUID of the company/client
- `company_name` - Name of the company/client (will lookup existing or create new)
- `job_address` - Street address for the job

**Note:** You cannot specify both `company_uuid` and `company_name`. If `company_name` is provided, the system will first search for an existing company with that name. If found, it will use that company's UUID. If not found, a new company will be created.

Any other fields in the request body will be ignored.

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

## Path parameters

- `uuid` string, uuid, required

## Request body

- JobTemplateOverrides — Optional field overrides when creating a job from a template. Only the following fields can be overridden: job_description, company_uuid, company_name, and job_address. Note: You cannot specify both company_uuid and company_name.
  - `job_description` string — Job description
  - `company_uuid` string, uuid — UUID of the company/client. Cannot be used together with company_name.
  - `company_name` string — Name of the company/client. If a company with this name exists, it will be used. Otherwise, a new company will be created. Cannot be used together with company_uuid.
  - `job_address` string — Street address for the job

## Response `201`

Job created successfully

- object
  - `jobUUID` string, uuid, required — UUID of the created job
  - `location` string, required — API path to the created job resource
  - `message` string, required — Success message

## Other responses

- `400` — Bad request - Invalid input data
- `403` — Forbidden - Missing required OAuth scope
- `404` — Not Found - Template UUID not found or inactive
- `405` — Method Not Allowed
- `500` — Internal Server Error

---

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