Developer resource

Deck CLI

Call the Deck API from any terminal. The REST API is versioned at https://api.deck.co/v2. Create an API key in the Deck Console.

curl https://api.deck.co/v2/test \
  -H "Authorization: Bearer $DECK_API_KEY"

A packaged Deck CLI on npm, PyPI, or Homebrew is not published yet. Until then, curl against /v2 (or an OpenAPI-generated client) is the supported command-line interface. JSON errors use errors[].type, errors[].code, and request_id.

Back to Deck home