---
title: Accounts and auth
description: "Create an API key, authenticate requests and manage your account."
url: "https://mediaseer.ai/docs/auth/"
---

# Accounts and auth

## Analytics permission

Account analytics permission belongs to the account owner. Browser recording additionally requires website permission; API keys cannot grant consent, erase analytics or link identities. Shared-key activity belongs to its owning account, without identifying the human using it. [Analytics settings](https://mediaseer.ai/docs/guides/analytics/) explains the separate controls.

## Authentication methods

Mediaseer’s public REST API uses an account API key. Browser sign-in is for the web app.

## API keys

### Create credentials

Create a key on the [API keys page](https://mediaseer.ai/app/api-keys). It is shown once.

### Making requests

Your code sends the key in the `X-Api-Key` header for analyses, results, playback requests and [usage](https://mediaseer.ai/docs/api/operations/getusage/). The [CLI](https://mediaseer.ai/docs/cli/) and the [MCP server](https://mediaseer.ai/docs/mcp/) of the npm package `mediaseer` read it from the environment variable `MEDIASEER_API_KEY` and send it for you.

The [API reference](https://mediaseer.ai/docs/api/) lists the operations and schemas. Download its public [OpenAPI specification](https://mediaseer.ai/docs/openapi.yaml) to generate a client. For playback, give the player the `playlistUrl` returned by [getVodAnalysisStream](https://mediaseer.ai/docs/api/operations/getvodanalysisstream/) unchanged.

### Handling authentication errors

A missing, wrong or revoked key gets `401` `UNAUTHENTICATED`.

### Key expiry and revocation

All keys for an account share its quota. Keys have no scopes and do not expire. Revoke a key in the app when it is no longer needed. The [API keys guide](https://mediaseer.ai/docs/guides/api-keys/) shows how to check and replace one.

## Your account

[Register in the app](https://mediaseer.ai/app/register), then create keys on the [API keys page](https://mediaseer.ai/app/api-keys) and manage your account on the [Account page](https://mediaseer.ai/app/account). The app also manages password changes. An API key cannot manage your account.

Revoke a key on the API keys page when it is no longer needed or may have been exposed. The [API keys guide](https://mediaseer.ai/docs/guides/api-keys/) shows how to replace a key without leaving a caller using the old one.

## Confirmed email

New accounts receive an email confirmation link. The app can send a replacement.

Creating and starting an analysis need a confirmed address: until then, both answer `403` `EMAIL_NOT_VERIFIED`, and a create makes nothing.
