BrandVox AI Documentation
Developers

Developers

Use BrandVox from your own code and your AI coding agents with an API key

Developers

What it is: a way to use BrandVox without opening the dashboard. Your code, a script or your AI coding agent sends web requests to the BrandVox API, and BrandVox does the work.

Where it runs: the API runs on BrandVox servers at https://api.brandvoxai.com. Your code runs wherever you like: your laptop, a server or an automation tool. Everything happens in your workspace, the same one you see in the dashboard.

Who uses it and when: developers and anyone who works with an AI coding agent such as Claude Code, Codex, Cursor or Gemini CLI. Typical moments: you are building a website and need a hero image, you want a LinkedIn post in your brand voice from a script, or you want to add a fact to your support agent's knowledge from your own tool.

The pieces

PieceWhat it is in one line
API keyA secret text that starts with bvx_. It proves to BrandVox that a request comes from you.
APIThe web addresses (endpoints) the dashboard calls. You can call the same ones with your key.
curlA small program that sends web requests from a terminal. It comes with macOS, Linux and recent Windows. The examples in these docs use it.

How it fits together

You, your script, or your AI agent (Claude Code, Codex, Cursor, ...)
                  |
                  |   HTTPS request with your API key (bvx_...)
                  v
   BrandVox API   https://api.brandvoxai.com   checks what the key may do
                  |
                  v
   Your workspace: brand, knowledge base, agents, images, posts, videos

What you create through the API shows up in the dashboard. It uses the same endpoints the dashboard uses.

Quick start

Create an API key

Open Settings → API keys in the dashboard: app.brandvoxai.com/account?tab=api-keys.

Click Create API key, give it a name and copy the key. It is shown once. See API keys for every option.

Check the key

Put the key in an environment variable, so it does not end up in your command history or in a file you share. An environment variable is a named value your terminal keeps for the programs you start from it.

export BRANDVOX_API_KEY="bvx_..."

curl https://api.brandvoxai.com/api/v1/api-keys/whoami \
  -H "Authorization: Bearer $BRANDVOX_API_KEY"

The answer shows your email, what the key may do and the workspaces it can use. Copy a workspace_id from it. You need it for the next step.

Make your first real call

Start an image in your brand style. Replace the workspace id with yours.

curl https://api.brandvoxai.com/api/v1/image-generation/generate \
  -H "Authorization: Bearer $BRANDVOX_API_KEY" \
  -F workspace_id=4f6d1c2e-8a3b-4c7d-9e1f-2b5a7c9d0e13 \
  -F "prompt=A latte on a marble table, morning light" \
  -F style=realistic \
  -F theme=brand \
  -F aspect_ratio=16:9

The answer holds a flow_id. Images take a little while, so you ask for the result with that id. See Long jobs for how.

API keys are included in every plan. Generating an image, a post or a video through the API uses the same workspace credits as it does in the dashboard.

Where to go next

Developers