---
title: "Get account profile and API usage counts"
method: GET
path: "/api/v1/account"
tags: ["Account"]
---

# Get account profile and API usage counts

`GET /api/v1/account`

## Request

- Base URL: `https://www.quiz.video`
- URL: `https://www.quiz.video/api/v1/account`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://www.quiz.video/api/auth/oauth2/authorize`, token URL `https://www.quiz.video/api/auth/oauth2/token`, scopes: `api:read`)
  - OpenID Connect (`https://www.quiz.video/.well-known/openid-configuration`, scopes: `api:read`)

## Response `200`

Successful response

- object
  - `data` Account, required
    - `id` string
    - `name` string, nullable
    - `email` string, email
    - `image` string, uri, nullable
    - `billingPlan` string, nullable
    - `createdAt` string, date-time
    - `counts` object
      - `apiKeys` integer
      - `quizzes` integer
      - `flashcardDecks` integer

## Other responses

- `400`: Request validation failed (code VALIDATION_ERROR or a field-specific code)
- `401`: Missing or invalid credentials (code UNAUTHORIZED)
- `403`: Credentials are valid but lack access or scope (code FORBIDDEN or INSUFFICIENT_SCOPE)
- `404`: Resource not found (code NOT_FOUND)
- `429`: API key rate limit exceeded (code RATE_LIMITED)
- `500`: Unexpected server error (code INTERNAL_ERROR)

---

[API](https://skmtc.dev/quiz/apis/quiz-video-api.md) · [All operations](https://skmtc.dev/quiz/apis/quiz-video-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quiz/apis/quiz-video-api/revisions/f615216b844d?raw)
