THISBIT VOICE & TRANSCRIPTS / DOCUMENTATION
POST /v1/captures
Create an invokable recording and its scoped recorder link.
Implemented. Requires STUDIO_CAPTURE_CONFIG on customer API and worker, current membership, project write access and processing entitlement.
POST $STUDIO_CUSTOMER_URL/v1/captures- Host
- Customer API
- Caller
- Configured integration backend
- Authorization
- Integration bearer secret; delegates a fixed member, project allowlist and enrolled licensed device. Recorder capabilities cannot create sessions.
Request
Exact JSON fields: id (lowercase UUID), project_id, title (1–300 characters), source (microphone or captions), language_profile, external_session_id (1–300 characters), timeline_origin_ms (external session Unix epoch milliseconds). Optional embed_origins: 0–20 distinct pages allowed to frame the recorder strip, each a CSP source scheme://host[:port] in lowercase: https, or http only for localhost, 127.0.0.1 and [::1]; the host may start with *. (subdomains only) and the port may be *. Only microphone captures take a non-empty list. It is part of the request fingerprint: send the same sorted list on every retry. Optional vocabulary, vocabulary_hints and prompt_terms arrays accept strings or {term, aliases} entries. Each array and the combined session vocabulary allow at most 200 terms (1-120 characters) with up to 20 aliases (1-120 characters each). Hints affect only the additional full transcription reading, with the existing 2,000-character prompt limit; the live and unhinted readings are retained. Hints are part of the request fingerprint.
{
"id": "44444444-4444-4444-8444-444444444444",
"project_id": "22222222-2222-4222-8222-222222222222",
"title": "Synthetic voice memo",
"source": "microphone",
"language_profile": "en-US",
"external_session_id": "browser-review-42",
"timeline_origin_ms": 1791712800000,
"embed_origins": [
"https://review.example.com"
]
}Return value
200 with capture metadata, state, counters, source clocks, limits and relative result/events URLs. Microphone sessions also receive recorder_url: its secret fragment allows recording for two hours and reads for a further 24 hours under current access. Caption sessions receive no browser capability. Only this response also carries embed_url (/record/embed?session={id} on this host, no credential): a page listed in embed_origins frames it and hands the strip recorder_url over postMessage. Every view returns embed_origins. Either way the person starts the microphone in Studio's own recorder.
Response example · selected fields
{
"id": "44444444-4444-4444-8444-444444444444",
"state": "ready",
"chunk_count": 0,
"event_cursor": 1,
"recorded_ms": 0,
"started_at_ms": null,
"embed_origins": [
"https://review.example.com"
]
}Errors and retrying
Retain the ID and exact body on a lost response. The same request returns the same capture; changed input (including embed_origins) or four active captures returns 409; invalid embed_origins return 400. A recreated ID does not extend its recorder expiry.
Read the error codes and limits before retrying. A missing or inaccessible resource can produce the same refusal; do not infer its existence.