---
title: "Creates tickets from a Blueprint"
method: POST
path: "/ticket_blueprints/{id}/apply"
tags: ["Ticket Blueprint"]
---

# Creates tickets from a Blueprint

`POST /ticket_blueprints/{id}/apply`

Required permission: Ticket Blueprints - Create Ticket From Blueprint
Creates a parent ticket and child tickets from the blueprint, assigned to the given customer.
Returns the parent ticket ID and array of child ticket IDs.

## Path parameters

- `id` integer, required

## Request body

- object
  - `customer_id` integer, required — Customer ID the ticket(s) will be assigned to

## Response `201`

created

- object
  - `ticket_id` integer, required — ID of the created parent ticket
  - `child_ticket_ids` integer[], required — IDs of created child tickets

## Other responses

- `401` — Unauthorized
- `404` — Customer not found
- `422` — Unprocessable Entity (blueprint invalid)

---

[API](https://skmtc.dev/syncromsp/apis/syncro.md) · [All operations](https://skmtc.dev/syncromsp/apis/syncro/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/syncromsp/syncro/revisions/dfc1c332d2c2/schema)
