Skip to main content
POST
Connect an account

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
platform
enum<string>
required
Available options:
tiktok,
instagram,
youtube
return_to
enum<string>

Where the browser lands after the platform's sign-in: page (a plain "connected, you can close this tab" page, for agents and scripts) or app (Settings › Accounts in the web app). Default page.

Available options:
page,
app

Response

The sign-in link

url
string

Open it in a browser to sign in to the platform and allow posting.

handoff_url
string

The same sign-in as a page with a QR code, to finish it on a phone.

expires_at
any

When the links stop working (about 30 minutes). Get a fresh one for each connect.

platform
enum<string>
Available options:
tiktok,
instagram,
youtube
next
any

What to do next, in words an agent can follow.