Skip to content
VibeQL

Get started

Authentication

Send your VibeQL API key in the DeepL, Bearer, Google or Azure style, and keep it safe.

Markdown

Every API request needs an API key. Create and manage keys in API keys.

Key format

A VibeQL key is vql_ followed by 40 letters and digits:

vql_4fJ9kQ2mXp7RtL0aZc8VbN3sHd6WeY1uGi5oKj2M

The dashboard shows the full key once, when you create it. After that it shows only the first 12 characters, so you can tell keys apart.

Send the key

The API accepts the key in five ways, on every endpoint. Use the one your client library already uses.

Method Example Typical use
DeepL-Auth-Key header Authorization: DeepL-Auth-Key YOUR_KEY DeepL client libraries
Bearer header Authorization: Bearer YOUR_KEY Generic HTTP clients, MCP
auth_key form field auth_key=YOUR_KEY in the request body Old DeepL integrations
key query parameter ?key=YOUR_KEY Google Translate v2 clients
Ocp-Apim-Subscription-Key header Ocp-Apim-Subscription-Key: YOUR_KEY Azure Translator clients

The MCP server at https://vibeql.com/mcp accepts only the Bearer header and the key query parameter. See MCP setup.

curl https://vibeql.com/v2/translate \
  -H "Authorization: DeepL-Auth-Key $VIBEQL_API_KEY" \
  -d "text=Hello" -d "target_lang=FR"
curl https://vibeql.com/v2/translate \
  -H "Authorization: Bearer $VIBEQL_API_KEY" \
  -d "text=Hello" -d "target_lang=FR"
curl "https://vibeql.com/language/translate/v2?key=$VIBEQL_API_KEY" \
  -d "q=Hello" -d "target=fr"
curl "https://vibeql.com/translate?api-version=3.0&to=fr" \
  -H "Ocp-Apim-Subscription-Key: $VIBEQL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"Text": "Hello"}]'

Invalid keys

A missing, malformed, revoked or unknown key returns 403 Forbidden. On the DeepL endpoints the body is:

{ "message": "Authorization failure, check auth_key" }

Google and Azure endpoints return the same status in their own error format. See Limits and errors.

Keep keys secret

  • Keep keys on your server. Do not put them in browser code, mobile apps or public repositories.
  • Read the key from an environment variable or a secret store.
  • A URL with ?key= contains the key. Treat the full URL as a secret, and keep it out of logs and screenshots.
  • Use one key for each app or environment, so you can revoke one without breaking the others.

Rotate or revoke a key

  1. Create a new key in API keys.
  2. Put the new key in your app and deploy.
  3. Select Revoke next to the old key. Requests with a revoked key fail with 403.

The API keys page shows when each key was last used. Use it to find keys that you no longer need.