> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gethyvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Personal keys, OAuth 2.1 and scopes.

Send `Authorization: Bearer <token>` on every request. A token belongs to one person and one workspace, and can never do more than that person's role allows.

## Personal keys

For scripts, CLIs and unattended agents. In Hyvo: **Settings → API → Personal access → New personal key**. Keys start with `hyvo_mcp_`, last 30 or 90 days and are shown once.

## OAuth 2.1

For apps that sign in (Claude, ChatGPT, Cursor, VS Code…). They discover everything themselves; you only paste the server URL.

| Endpoint | |
| - | - |
| `/.well-known/oauth-protected-resource/mcp` | Resource metadata |
| `/.well-known/oauth-authorization-server` | Server metadata |
| `POST /oauth/register` | Dynamic client registration (public clients, no secret) |
| `GET /oauth/authorize` | `response_type=code`, `client_id`, `redirect_uri`, `state`, PKCE `S256` |
| `POST /oauth/token` | `authorization_code` or `refresh_token` |
| `POST /oauth/revoke` | Revoke a token |

Access tokens last 60 minutes, refresh tokens 30 days and rotate on use. On the consent screen the person picks the workspace and what the app may do.

## Scopes

| Scope | Allows |
| - | - |
| `workspace:read` | Workspace and accounts |
| `brand:read` | Brand Memory |
| `content:read` | Read and check posts |
| `analytics:read` | Analytics |
| `content:write` | Create and edit posts, upload media |
| `content:schedule` | Schedule and unschedule |
| `content:publish` | Publish |
| `content:delete` | Delete posts (not on by default) |
| `published:manage` | Reserved: no tool uses it today. Live posts are edited or taken down in the Hyvo app (not on by default) |

A tool the token's scopes don't cover isn't listed; calling it returns `403 insufficient_scope` with the scopes to ask for. Editors' posts go to approval; viewers can only read.

## Revoke

Removing the server from an AI tool doesn't revoke it. Revoke keys under **Settings → API → Personal access** and apps under **Settings → API → Connected apps**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.