curl --request POST \
--url https://www.closient.com/signals/api/v1/voice-sessions/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"page_url": "https://www.closient.com/pip/00614524740689/",
"transcript": "The packaging smelled off when I opened the box."
}
'import requests
url = "https://www.closient.com/signals/api/v1/voice-sessions/"
payload = {
"page_url": "https://www.closient.com/pip/00614524740689/",
"transcript": "The packaging smelled off when I opened the box."
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
page_url: 'https://www.closient.com/pip/00614524740689/',
transcript: 'The packaging smelled off when I opened the box.'
})
};
fetch('https://www.closient.com/signals/api/v1/voice-sessions/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.closient.com/signals/api/v1/voice-sessions/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'page_url' => 'https://www.closient.com/pip/00614524740689/',
'transcript' => 'The packaging smelled off when I opened the box.'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.closient.com/signals/api/v1/voice-sessions/"
payload := strings.NewReader("{\n \"page_url\": \"https://www.closient.com/pip/00614524740689/\",\n \"transcript\": \"The packaging smelled off when I opened the box.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://www.closient.com/signals/api/v1/voice-sessions/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"page_url\": \"https://www.closient.com/pip/00614524740689/\",\n \"transcript\": \"The packaging smelled off when I opened the box.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/signals/api/v1/voice-sessions/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"page_url\": \"https://www.closient.com/pip/00614524740689/\",\n \"transcript\": \"The packaging smelled off when I opened the box.\"\n}"
response = http.request(request)
puts response.read_body{
"id": "a1b2c3d4e5f6g7h8j9k0mn",
"transcript": "The packaging smelled off when I opened the box."
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}Capture a voice note (transcription only)
Create a transcription-only voice capture session for a signal. The transcript is produced client-side by the browser’s Web Speech API — the same capture mechanism the existing voice-feedback pipeline uses — and stored as readable text; no audio bytes are uploaded by this endpoint. Returns the session id, which the consumer form then sends back as voice_session_id on the signal create call (linking it via Signal.voice_session).
This is the transcription-only branch of the in-production voice pipeline: it deliberately does NOT run the LLM enrichment / Linear-issue step. Transcription is a format conversion to make the note readable, not content analysis .
Requires an authenticated (social-auth) consumer.
201— session created.400— empty/whitespace-only transcript.429— submission rate limit exceeded (per-identity / per-IP).
curl --request POST \
--url https://www.closient.com/signals/api/v1/voice-sessions/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"page_url": "https://www.closient.com/pip/00614524740689/",
"transcript": "The packaging smelled off when I opened the box."
}
'import requests
url = "https://www.closient.com/signals/api/v1/voice-sessions/"
payload = {
"page_url": "https://www.closient.com/pip/00614524740689/",
"transcript": "The packaging smelled off when I opened the box."
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
page_url: 'https://www.closient.com/pip/00614524740689/',
transcript: 'The packaging smelled off when I opened the box.'
})
};
fetch('https://www.closient.com/signals/api/v1/voice-sessions/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.closient.com/signals/api/v1/voice-sessions/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'page_url' => 'https://www.closient.com/pip/00614524740689/',
'transcript' => 'The packaging smelled off when I opened the box.'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://www.closient.com/signals/api/v1/voice-sessions/"
payload := strings.NewReader("{\n \"page_url\": \"https://www.closient.com/pip/00614524740689/\",\n \"transcript\": \"The packaging smelled off when I opened the box.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://www.closient.com/signals/api/v1/voice-sessions/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"page_url\": \"https://www.closient.com/pip/00614524740689/\",\n \"transcript\": \"The packaging smelled off when I opened the box.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/signals/api/v1/voice-sessions/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"page_url\": \"https://www.closient.com/pip/00614524740689/\",\n \"transcript\": \"The packaging smelled off when I opened the box.\"\n}"
response = http.request(request)
puts response.read_body{
"id": "a1b2c3d4e5f6g7h8j9k0mn",
"transcript": "The packaging smelled off when I opened the box."
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}Authorizations
Body
Payload to create a transcription-only voice session for a signal.
The transcript is produced client-side by the browser's Web Speech API — the same capture mechanism the existing voice-feedback pipeline uses — so the consumer reviews and (optionally) edits the text before attaching it. Audio bytes are never uploaded to Closient by this endpoint; the session stores the readable transcript only. Crucially this path is transcription-only: it never runs the LLM enrichment / Linear-issue analysis step the superuser "/feedback" stream uses.
Transcribed voice note, produced client-side by the browser's Web Speech API and reviewable/editable by the consumer before submit. Whitespace-only values are rejected with 400. Stored verbatim; never analysed (transcription is a format conversion, not content analysis — epic dumb-pipe rule).
1^[^\x00]{1,}$"The packaging smelled off when I opened the box."
URL of the hosted product page the voice note was captured on. Stored verbatim for context; empty when not provided.
2000^[^\x00]{0,}$Response
Created
The created voice session, returned so the form can attach it to a signal.
The consumer form takes id and sends it back as voice_session_id when
it POSTs the signal, which links the session via the
Signal.voice_session FK. No enrichment/Linear fields are exposed
— the signals voice path never runs that step.
Public short-UUID of the created voice session. Send this as voice_session_id when creating the signal to link the transcript to it.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$The stored transcript, echoed back so the client can confirm what was captured.