Skip to main content
POST
Verify the code

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
attempt
string
required

From POST /auth/email.

code
string
required

The code from the email.

name
string

A name for the API key this creates.

Maximum string length: 64
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

Signed in, with a new API key

api_key
string
required

vj_live_.... Shown once: keep it. Send it as Authorization: Bearer <api_key>.

key_id
string
required
account_id
string
required
status
enum<string>
required

no_plan: make your first payment (POST /billing/checkout) to start work. active: everything works. payment_failed: your wallet is below zero; reads work, new work is paused until you top up (POST /billing/top-up).

Available options:
no_plan,
active,
payment_failed
scopes
enum<string>[]

The new 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
checkout_url
string

When status is no_plan: a Stripe Checkout link to add a card and start the monthly plan.

note
string