---
title: "Attach a camera or screen asset to a Recording Set"
method: POST
path: "/recording-sets/{recordingSetId}/tracks"
tags: ["Platform"]
---

# Attach a camera or screen asset to a Recording Set

`POST /recording-sets/{recordingSetId}/tracks`

## Request

- Base URL: `https://blitzreels.com/api/v1`
- URL: `https://blitzreels.com/api/v1/recording-sets/{recordingSetId}/tracks`
- Auth: API key in header `Authorization`

Attach a camera or screen asset to a Recording Set.

## Path parameters

- `recordingSetId` string, uuid, required

## Request body

- object
  - `asset_id` string, uuid, required
  - `role` 'camera' | 'screen', required
  - `participant_label` string, nullable
  - `participant_name` string, nullable
  - `is_primary` boolean

## Response `200`

Successful response

- object
  - `recording_set_id` string, required
  - `track_id` string, required
  - `asset_id` string, required
  - `role` 'camera' | 'screen', required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `500`: Internal server error

---

[API](https://skmtc.dev/blitzreels/apis/blitzreels-api.md) · [All operations](https://skmtc.dev/blitzreels/apis/blitzreels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blitzreels/apis/blitzreels-api/revisions/35608b12471d?raw)
