---
title: "Retrieve shared camera"
method: GET
path: "/shared-cameras/{camera_id}/"
tags: ["shared-camera"]
deprecated: true
---

# Retrieve shared camera

`GET /shared-cameras/{camera_id}/`

## Request

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

> **Deprecated.**

## Path parameters

- `camera_id` integer, required

## Query parameters

- `refresh_rate` number, float
- `max_width` integer
- `max_height` integer

## Response `200`

Camera object

- SharedCameraObject
  - `id` integer, required: Camera ID
  - `name` string, required: Camera name
  - `type` 'h264' | 'h265' | 'mjpeg', required: Camera type
  - `snapshot` SnapshotObject, nullable, required: Snapshot is created by Angelcam when certain types of events are received
    - `url` string, uri, nullable, required: URL of the snapshot image
    - `created_at` string, date-time, required: The date and time when the snapshot was created for the first time
  - `status` 'offline' | 'online' | 'unknown', required
  - `live_snapshot` string, uri, nullable, required: Live snapshot URL
  - `streams` StreamObject[], required: Available camera streams
    - `url` string, uri, required: Stream URL
    - `format` 'hls' | 'mp4' | 'mpegts' | 'mjpeg', required
    - `refresh_rate` number, float: Stream refresh rate
  - `applications` SharedApplicationObject[], required: Use `has_recording` and `has_notifications` fields
    - `code` 'CRA', required
  - `owner` OwnerObject, required
    - `first_name` string: User's first or given name.
    - `last_name` string: User's last or family name.
    - `email` string, email, required: User's email.
  - `has_recording` boolean, required: Indicates whether the user to whom the camera is shared can access camera recordings
  - `has_notifications` boolean, required: Indicates whether the user to whom the camera is shared will receive notifications (eg. security alerts) related to the camera

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