Developer resource
Deck API authentication
Deck API authentication uses a Bearer token on every request to https://api.deck.co/v2.
curl https://api.deck.co/v2/test \ -H "Authorization: Bearer $DECK_API_KEY"
- Create a key in the Deck Console
- Full guide: Deck API authentication (docs)
- Invalid keys return JSON
api_key_invalid— see Deck API errors - OAuth 2.0 authorization server metadata:
/.well-known/oauth-authorization-server - Protected resource metadata (named scopes):
/.well-known/oauth-protected-resource POST /oauth/tokenreturns JSONoauth_use_api_key— Deck issues Console API keys rather than minting access tokens