# Typd auth.md

This page is for AI agents and scripts that call Typd's licensing API at `https://api.gettypd.app`.

## Agent registration

Typd has no agent registration. There is no OAuth server, no API keys and no endpoint that creates an account or a credential for an agent. An agent can't buy, activate or manage a license by itself: a person does that.

Don't look for `/agent/auth` or OAuth metadata here. They don't exist.

## No credential needed

These calls are public: `GET /healthz`, `GET /openapi.yaml`, `GET /v1/plans`, `GET /v1/keys`, `GET /v1/releases`, `GET /v1/download/latest.json` and `GET /v1/updates/appcast.xml`.

## Credentials a person holds

- **License key.** A person gets one by email after buying Pro at <https://gettypd.app/pricing/>. The Mac app sends it as `key` in the JSON body of `POST /v1/licenses/activate`, `/deactivate` and `/validate`. Treat it as the person's secret, and use it only if they ask you to.
- **Account session.** `POST /v1/account/magic-link` emails a sign-in link and a 6-digit code to the person. Signing in sets the `__Host-typd_session` cookie for the account page at <https://gettypd.app/account/>. It is meant for a person in a browser: state-changing account calls are accepted only from the website's origin.

## Using Typd from an agent

Most agents want Typd's local MCP server, not this API. It runs on the person's Mac over stdio and needs no network credential. It is part of Typd Pro. Setup: <https://gettypd.app/docs/mcp/>

## More

- API description: <https://api.gettypd.app/openapi.yaml>
- API docs: <https://gettypd.app/docs/api/>
- Questions: support@gettypd.app
