Voice API · sessions
Link a session started before there was a quote to the draft quote the conversation made
POST /sessions/{sessionId}/quote
Link a session started before there was a quote to the draft quote the conversation made: the order whose reference is the session's vcs_ id — the platform agent creates the draft with it as its key — read from fulfillment with the rep's own bearer.
From then the session's utterances name that quote and its transcript is kept on it. 404 VoiceSessionNotFound; 404 VoiceQuoteNotMade while no order carries the session's id yet; 502 VoiceQuoteUnavailable when fulfillment cannot be asked. Appends voice.session-linked. Idempotent by state: a session is linked once, so linking one already on a quote (started on it, or linked before) answers it as it is and appends nothing.
Access
Requires orders:write.
How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.
Retries
Idempotent by state: a session is linked once, so linking one already on a quote (started on it, or linked before) answers it as it is and appends nothing.
Why every write carries a key: Idempotency and retries.
Facts appended
voice.session-linked
What a fact is: Facts and the journal.
AI agent tool
No agent tool. The rep's screen links its live conversation to the draft quote the agent made from it (keyed by the session's id), then moves to that draft; nothing an agent decides.
Connecting an agent: AI agents.
Example
curl -X POST 'https://voice.getmanifold.io/sessions/vcs_01a15a32-7d10-7f3b-a2c6-4e8b1d0f5c33/quote' \
-H "Authorization: Bearer $MANIFOLD_TOKEN"const response = await fetch("https://voice.getmanifold.io/sessions/vcs_01a15a32-7d10-7f3b-a2c6-4e8b1d0f5c33/quote", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();{
"id": "vcs_01a15a32-7d10-7f3b-a2c6-4e8b1d0f5c33",
"status": "listening",
"orderId": "ord_01a15a33-19a4-7b5d-b0e1-2c7f6a8d9e44",
"source": {
"kind": "browser",
"channels": 1
},
"consent": {
"notice": "2026-10-28",
"accepted": true
},
"startedBy": "usr_01a15a31-0b7e-7a12-8d44-6c5e2b9f1a20",
"startedAt": "2026-10-28T03:10:00.000Z"
}The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web
page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: voice-manager.openapi.json. Base URL https://voice.getmanifold.io.
Errors
Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.
401
| Refusal | What it means | What to do |
|---|---|---|
Unauthorized reason | The token is missing, expired or not one Manifold issued. | Get a fresh token and send the call again. |
TokenAlreadyUsed tokenId | A single-use app token was already spent. | Mint a new token for this call. |
402
| Refusal | What it means | What to do |
|---|---|---|
SubscriptionRequired status | The organization's subscription has lapsed, so writes are refused. | An owner settles billing. Reads still work meanwhile. |
403
| Refusal | What it means | What to do |
|---|---|---|
TenantRequired userId | The token names no organization. | Choose the organization, then get a new token. |
ScopeRequired required | The token's roles do not grant the scope this call needs. | Ask an owner or admin for a role that grants it. |
404
| Refusal | What it means | What to do |
|---|---|---|
VoiceSessionNotFound sessionId | No such record in this organization. | Check the id in the path or the body. |
VoiceQuoteNotMade sessionId | No order carries the session's id yet. | Check the id in the path or the body. |
409
| Refusal | What it means | What to do |
|---|---|---|
MirroredFromSource source | This area is fed by your source system until the organization goes live. | Make the change in the source system, or go live first. |
502
| Refusal | What it means | What to do |
|---|---|---|
VoiceQuoteUnavailable reason | Fulfillment cannot be asked. | Send the same request again shortly. |
503
| Refusal | What it means | What to do |
|---|---|---|
RequestLogUnavailable tokenId, reason | The service could not record the request, so it did nothing. | Send the same request again shortly. |
How refusals work everywhere: Errors.