Skip to main content

Create an account and get your Keys

1

Create a Deck Account

Create an account and gain access to the Dashboard.
2

Get your API keys

The Deck API requires both a client_id and secret passed in the header of your request. Both are available in the “API Keys” section of the Dashboard.
3

Test your API keys

You can test if your client_id and secret are valid by making a call against the test keys endpoint.
curl --location https://live.deck.co/api/v1/test/api_keys \
    --header 'x-deck-client-id: <insert client_id>' \
    --header 'x-deck-secret: <insert secret>' \
    --header 'Content-Type: application/json' \

Making requests to the API

All API requests are made against:
https://live.deck.co/api/v1
A full list of available API calls are available in the API Reference.

Setup Webhooks

Deck uses webhooks to communicate asynchronous updates back to you. You can add and manage webhook endpoints in the Dashboard. Endpoints must be HTTPS and accessible from the public internet. During development, you can test webhooks with a service such as Hookdeck. Common events you should expect to be delivered via webhooks:
  • An access_token when creating a connection
  • The output of the jobs you run
  • Notification of a failed job run
Deck supports one webhook endpoint per account and you are auto-subscribed to all webhook events Deck sends. A sample list of payloads are available in webhook events.