---
title: "Retrieve camera clips list"
method: GET
path: "/cameras/{camera_id}/clips/"
tags: ["clip"]
---

# Retrieve camera clips list

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

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/cameras/{camera_id}/clips/`
- 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/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the list of recording clips of given camera

## Path parameters

- `camera_id` integer, required

## Query parameters

- `created_by` string

## Response `200`

OK

- ClipListResponse
  - `count` integer, required: Count of all clips
  - `next` string, uri, nullable, required: Next page from pagination
  - `previous` string, uri, nullable, required: Previous page from pagination
  - `results` ClipObject[], required: List of clips for the camera
    - `id` string, required: Clip UUID
    - `created_by` integer, required: User who created the clip
    - `created_at` string, required: Time when the clip was created
    - `name` string, required: Clip name
    - `status` 'PENDING' | 'BUILDING' | 'SCREENSHOTTING' | 'READY' | 'ERROR', required: Status of clip processing
    - `start` string, required: Start time of the clip
    - `end` string, required: End time of the clip
    - `sharing_token` string, required: Security token for sharing the clip without authentication (UUID)
    - `snapshots` string[], required: List of URLs of snapshot images (JPEG) taken from the beginning of the clip. The snapshots are generated automatically during clip processing and can be used as a thumbnail/preview of the clip. The list is empty until the clip reaches the `SCREENSHOTTING` stage, and it may stay empty if the snapshot could not be taken. The URLs contain a security token valid for a limited time.
    - `download_url` string, required: URL for download of the clip as TS/MP4 file (TS for HLS cameras, MP4 for MJPEG cameras). The URL contains security token valid for a limited time.

## Other responses

- `400`: Query params are invalid.
- `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)
