OverviewAuthentication

Authentication - Client ID & API Key

Learn how to authenticate with the Deepvue Workflows API using your client ID and API key headers. Includes code examples and failure handling.

{
  "error": "missing credentials: send client-id + x-api-key headers"
}

Overview

Every request to the Workflows API carries two credentials, sent as headers. There is no token exchange step: the pair authenticates each call directly.

header
client-idstring
Required

Your Deepvue client identifier.

header
x-api-keystring
Required

Your Deepvue API key.

x-api-key is a secret. Keep it server-side. It must never be exposed in a browser or a mobile client.

Getting your credentials

Log in to the Dashboard

Visit the Deepvue Dashboard and sign in to your account.

Open the credentials tab

Find your client ID and API key.

Send both on every request

Store them as server-side environment variables and attach them to each call.

Making an authenticated request

curl 'https://api.deepvue.link/v1/workflows' \
  -H 'client-id: YOUR_CLIENT_ID' \
  -H 'x-api-key: YOUR_API_KEY'

Authentication failures

Status CodeMeaningDescription
401Missing credentialsNo usable credential was supplied
401Invalid credentialsThe credential pair was rejected
403Account disabledThe account exists but is not yet approved
403Not authorizedThe account is not authorized for this API
502Authorize failedAuthorization service temporarily unreachable, retry
503Auto-provisioning disabledFirst-time setup not yet completed

Retry 502 responses with backoff. Treat 401 and 403 as configuration problems rather than transient faults, and do not retry them in a loop.

Bearer tokens

One route also accepts a dashboard Bearer token instead of the header pair: POST /v1/signals/{run_id}/{signal_name}, used to record a review verdict. Every other route requires client-id and x-api-key.

Next steps