---
title: "Current user info"
method: GET
path: "/me/"
tags: ["user"]
---

# Current user info

`GET /me/`

## Request

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

## Response `200`

OK

- UserMeResponse
  - `id` integer, required: User ID.
  - `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.
  - `phone` string, nullable: User's phone.
  - `root_site` integer: Root site ID for current user
  - `my_cameras_count` integer: Count of user cameras
  - `shared_cameras_count` integer: Count of cameras shared with user
  - `total_cameras_count` integer: Sum of count of user cameras + cameras shared with user
  - `cameras_with_guests_count` integer: Count of user cameras that have been shared with others
  - `require_qualification` boolean: true if the user hasn't filled in the qualification form, false otherwise
  - `available_features` object: Features available to the user
    - `live_view` boolean: true if the live-view feature is available to the user, false otherwise

## Other responses

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