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

# Retrieve shared camera list

`GET /shared-cameras/`

## Request

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

> **Deprecated.**

## Query parameters

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

## Response `200`

Returns shared camera list.

- SharedCameraListResponse
  - `count` integer, required: Count of all shared cameras
  - `next` string, uri, nullable, required: Next page from pagination
  - `previous` string, uri, nullable, required: Previous page from pagination
  - `results` SharedCameraObject[], required: List of cameras shared with the user
    - `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.

---

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