Skip to main content
POST
Create an API key

Authorizations

Authorization
string
header
required

A VidJutsu API key (vj_live_...) from POST /auth/verify or POST /keys, or an OAuth access token (MCP clients).

Headers

VidJutsu-Version
string

The API version you wrote your integration against, a date. Without it you get the latest version. The current version is 2026-11-03. See https://docs.vidjutsu.ai/api-reference/introduction#versioning.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-11-03"

Body

application/json
name
string
required

A label to recognize the key by.

scopes
enum<string>[]

Optional rights for the new key. Leave it out for both; [] for neither. A key can't make a key with rights it doesn't have.

billing: change auto-reload and the spend limit, and open the billing portal. keys: create and revoke API keys. Every key can work on projects.

Available options:
billing,
keys

Response

The new key, with its secret

key_id
string
required
name
string
required
prefix
string
required

The key's first characters, to recognize it.

created_at
number
required

Unix milliseconds.

secret
string
required

vj_live_.... Shown only once.

scopes
enum<string>[]

The key's optional rights.

billing: change auto-reload and the spend limit, and open the billing portal. keys: create and revoke API keys. Every key can work on projects.

Available options:
billing,
keys
revoked_at
number | null