---
title: "Start recording on given camera"
method: POST
path: "/cameras/{camera_id}/recording/start/"
tags: ["recording-deprecated"]
deprecated: true
---

# Start recording on given camera

`POST /cameras/{camera_id}/recording/start/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/cameras/{camera_id}/recording/start/`
- 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_start_stop`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/cameras/:camera_id/recording/start/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

**This endpoint is deprecated and will be removed in the future. Use [this endpoint](#tag/recording/POST/recording/{recording_id}/start/) instead.**

## Path parameters

- `camera_id` integer, required

## Query parameters

- `duration` integer

## Response `204`

Empty response.

## 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)
