A
Anthropic Admin API
Details
- URL
-
https://api.anthropic.com/v1/organizations - Docs
- https://docs.anthropic.com/en/api/administration-api
Authentication
x-api-key: <credential> In the Anthropic Console, create an Admin API key from Settings → Admin keys. The Admin API docs say Admin API keys start with sk-ant-admin... and are sent in the x-api-key header.
Authorization: Bearer <credential> Run the `ant` CLI quickstart command ant auth login. This opens a browser-based OAuth flow against the Claude Console and stores the resulting credentials locally. For Claude Code, the authentication docs say running claude on first launch opens a browser login flow and stores the session locally.