# AutoPostcode API authentication and keys

Create, store and rotate AutoPostcode website API keys and scoped MCP agent keys.

Canonical page · https://autopostcode.com/api-authentication-and-keys

## Website keys

Use Dashboard → API Keys for existing website and plugin integrations. Website keys are tied to a single website and inherit its workspace credit pool. Store them in server configuration. Mint a replacement, update the integration and verify it before disabling the previous key.

- [Manage website keys](https://autopostcode.com/dashboard/api-keys)

## MCP agent keys

The workspace owner creates a dedicated ap_agent_ key bound to the MCP audience and a website. Choose the shortest available lifetime and the least privilege needed. The secret is shown once. Dashboard shows the masked identifier, scopes, expiry and last use. Create a replacement, verify get_connection_status and revoke the old key.

- [Manage agent keys](https://autopostcode.com/dashboard/developer)

- [Client setup](https://autopostcode.com/mcp-docs#clients)
