v1

latestOpenAPI 3.1.02026-08-0410576180.0 KB
Accounts

Get Account

Read an account's credit balance by uuid.

Read-only on purpose: an unknown uuid is a 404 rather than a new account, so a typo cannot mint wallets. Use POST /accounts/lookup to create one.

get/api/v1/accounts/{org_id}

Path parameters

org_idstring required

Headers

x-api-keystring nullable
Leaguestring nullable

Response

Successful Response

org_idstring required

Account uuid — send this as org_id on POST /videos

org_namestring required

The account's email handle

video_quotainteger required

Credits ever granted to this account

video_usageinteger required

Credits already spent

remaininginteger required

Credits left (never negative)

can_uploadboolean required

False means the next POST /videos returns 402 — send the user to the purchase page first