---
title: "Instantiate Collection Template"
method: POST
path: "/v1/templates/collections/{template_id}/instantiate"
tags: ["Templates", "Collection Templates"]
---

# Instantiate Collection Template

`POST /v1/templates/collections/{template_id}/instantiate`

Instantiate collection template.

## Path parameters

- `template_id` string, required — Template ID

## Request body

- InstantiateCollectionTemplateRequest — Request to instantiate a collection from a template.
  - `collection_name` string, required — Name for the new collection
  - `bucket_ids` string[], nullable — Bucket IDs to use for the collection (for bucket sources)
  - `collection_id` string, nullable — Collection ID to use for the collection (for collection sources)
  - `description` string, nullable — Optional description override for the collection
  - `tags` string[] — Optional tags for the collection

## Response `201`

Successful Response

- InstantiatedCollectionTemplateResponse — Response after instantiating a collection template.
  - `collection_id` string, required — ID of the created collection
  - `collection_name` string, required — Name of the created collection
  - `template_id` string, required — ID of the template used
  - `status` string — Status of the instantiation
  - `created_at` string, date-time — Timestamp when collection was created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

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