---
title: "Retrieve a clip stream"
method: GET
path: "/cameras/{camera_id}/clips/{clip_id}/stream/"
tags: ["clip"]
---

# Retrieve a clip stream

`GET /cameras/{camera_id}/clips/{clip_id}/stream/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/cameras/{camera_id}/clips/{clip_id}/stream/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `recording_clips_access`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/cameras/:camera_id/clips/:clip_id/stream/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves stream of a recording clip

## Path parameters

- `camera_id` integer, required
- `clip_id` string, uuid, required

## Query parameters

- `start` string, date-time, required

## Response `200`

OK

- RecordingStreamResponse
  - `url` string: URL of a stream.
  - `format` 'hls' | 'mjpeg': Stream format.
  - `stream_info` string: URL of a recorded stream info endpoint.
  - `stream_controls` object: Links allowing to synchronize and control stream playback. See [more](#tag/stream-controls).
    - `base_url` string: URL for retrieving the current stream position and playback speed.
    - `play` string: URL for resuming the stream playback.
    - `pause` string: URL for pausing the stream playback.
    - `speed` string: URL for changing the stream playback speed.

## Other responses

- `401`: Missing or invalid authorization.
- `403`: Missing permission.
- `404`: The specified resource was not found

---

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