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

# Retrieve camera event list

`GET /cameras/{camera_id}/events/`

## Request

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

Retrieves list of events belonging to the specified camera

## Path parameters

- `camera_id` integer, required

## Query parameters

- `start` string, date-time
- `end` string, date-time
- `limit` integer

## Response `200`

OK

- EventListResponse
  - `count` integer, required: Count of all events
  - `next` string, uri, nullable, required: Next page from pagination
  - `previous` string, nullable, required: Previous page from pagination
  - `results` EventObject[], required: List of events owned by the user
    - `camera` integer, nullable, required: Camera ID
    - `location` integer, nullable, required: Location ID
    - `site` integer, nullable, required: Location ID. **Deprecated:** use `location` instead.
    - `title` string, nullable, required: Event title
    - `category` string, required: event category
    - `source` string, required: Name of event source
    - `occurred_at` string, datetime, required: Time when event occurred or was received by Angelcam
    - `received_at` string, datetime, required: Time when event was received by Angelcam

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