Claude (Anthropic)
claudeAuthenticate with Anthropic's Claude API using OAuth or API keys. Power your agents with Claude's advanced language models through the Messages API.
🔐 Authentication Methods
authorization_code
authorize: https://console.anthropic.com/oauth/authorize
token: https://console.anthropic.com/v1/oauth/token
Scope: user:profile user:inference user:sessions:claude_code
Register at: https://console.anthropic.com
- Sign up for an Anthropic account at https://console.anthropic.com
- A Claude Pro, Max, Team, or Enterprise subscription is required for Claude Code access
api_key
Register at: https://console.anthropic.com/settings/keys
- Go to Console > API Keys
- Create a new API key
- Copy the key
🌐 APIs
messages
Base URL: https://api.anthropic.com/v1
Auth Header: x-api-key: {token}
Spec Type: openapi
Methods: authorization_code api_key
📦 Public Clients
These clients are bundled with the formula. Schlussel auto-selects the first available public client and its supported method. Just run the command below.
claude-code
Client ID: 9d1c250a-e61b-44d9-88ed-5944d1962f5e
Methods: authorization_code
$ schlussel run claude