---
title: "Retrieve list of my services"
method: GET
path: "/billing/active-services/"
tags: ["active-service"]
---

# Retrieve list of my services

`GET /billing/active-services/`

## Request

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

## Query parameters

- `type` string

## Response `200`

Returns list of my active services.

- ActiveServiceListResponse
  - `count` integer, required: Count of all services
  - `next` string, uri, nullable, required: Next page from pagination
  - `previous` string, uri, nullable, required: Previous page from pagination
  - `results` ActiveServiceObject[], required: List of services available for user
    - `id` integer, required
    - `current_service` ServiceObject, required
      - `type` 'cloud-recording' | 'broadcasting' | 'timelapse' | 'user-service' | 'event-recording' | 'live-view', required: Type of service
      - `code` string, required: Code of service, this code together with type is unique identifier of service
    - `renew_service` ServiceObject, required
      - `type` 'cloud-recording' | 'broadcasting' | 'timelapse' | 'user-service' | 'event-recording' | 'live-view', required: Type of service
      - `code` string, required: Code of service, this code together with type is unique identifier of service
    - `renew_period` string, duration, nullable, required
    - `valid_until` string, datetime, required
    - `in_use` boolean, required: Says if service is in use for example by a camera
    - `usage_detail` UsageDetailObject, required: In case of camera service show info for what camera the service is used.
      - `camera_id` integer
      - `camera_name` string

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