---
title: "Copy keyframes from another collection to this collection"
method: POST
path: "/v1/collections/{collection_id}/keyframes/copy/"
---

# Copy keyframes from another collection to this collection

`POST /v1/collections/{collection_id}/keyframes/copy/`

## Request

- Base URL: `https://app.iconik.io/API/files`
- URL: `https://app.iconik.io/API/files/v1/collections/{collection_id}/keyframes/copy/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-files/docs/v1/collections/:collection_id/keyframes/copy/post.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_write_keyframes

## Path parameters

- `collection_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- CollectionCopyKeyframesRequestSchema
  - `custom_keyframe` string, uuid, nullable
  - `custom_poster` string, uuid, nullable
  - `id` string, uuid, required

## Response `201`

Returns the IDs of the copied custom poster and custom keyframe

- CollectionCopyKeyframesResponseSchema
  - `custom_keyframe` string, uuid, nullable
  - `custom_poster` string, uuid, nullable

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-files.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-files/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-files/revisions/ed57d13791a2?raw)
