Skip to content

Retrieve a call's transcript

GET
/calls/{id}/transcript
import MoreVoice from "@morevoice/sdk";
const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment
const transcript = await mv.calls.retrieveTranscript("call_7Hk2Lm9Qp");
console.log(transcript);

Everything said on the call, in order, with the speaker of each segment. While the call runs, the transcript so far.

Try it in the API playground with a test-mode key.

id
required
string
<= 200 characters /^call_[0-9A-Za-z]+$/

A call ID (call_…).

MoreVoice-Version
string
/^\d{4}-\d{2}-\d{2}$/

The API version to use for this request. Defaults to the version the API key is pinned to.

Example
2026-11-01

OK

Media typeapplication/json

Everything said on a call, in order.

object
call_id
required

A call ID (prefix call_).

string
/^call_[0-9A-Za-z]+$/
language
required

The call’s main language (BCP 47), when known.

string | null
object
required
string
Allowed value: transcript
segments
required
Array<object>
object
end_ms
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
interrupted
required

The speaker was cut off (barge-in).

boolean
participant

Who spoke, on a call with more than two parties: a stable speaker_id within the call (customer, agent:, party:, supervisor:, ai:), a display name (a phone number is shown with its middle hidden) and the role (agent = the company side, client = the customer side, ai).

object
name
required
string
role
required
string
Allowed values: agent client ai
speaker_id
required
string
sentiment

The customer’s sentiment on this line (final customer lines, with segment sentiment on). Partials and the other speakers’ lines have none.

object
label
required

negative, neutral or positive: the scale of the call summary’s sentiment (a single line is never mixed).

string
Allowed values: negative neutral positive
score
required

-1 (very negative) to 1 (very positive); 0 when the line carries no sentiment cue.

number
>= -1 <= 1
sources

On an assistant’s final line, with turn tracing on: what the answer came from (your knowledge-base documents); empty when it used none. Only your own documents.

Array<object>

Something an assistant turn’s answer came from.

object
id
required

Its ID (kbd_… for a knowledge-base document).

string
/^kbd_[0-9A-Za-z]+$/
type
required

What the turn used. kb_document: a document of your knowledge base (GET /v1/kb/documents/{id}). New types may be added.

string
Allowed values: kb_document
speaker
required

Customer (the caller or called party), assistant (AI), agent (human), supervisor (barge-in), participant (a third party, a conference guest) or tool (an assistant tool call).

string
Allowed values: customer assistant agent supervisor participant tool
start_ms
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
text
required
string
tool
required
Any of:
object
arguments
required
name
required
string
result
required
tool_call_id

On a tool segment, with turn tracing on: the tool call it records.

string
/^tc_[0-9A-Za-z]+$/
tool_call_ids

On an assistant’s final line, with turn tracing on: the tools the assistant called during that turn, in order; empty when none.

Array<string>
Example
{
"call_id": "call_8tRPaZp5hLMbrGqdJ9AmNa",
"language": "he",
"object": "transcript",
"segments": [
{
"end_ms": 3900,
"interrupted": false,
"speaker": "assistant",
"start_ms": 820,
"text": "שלום, כאן דנה ממוקד השירות. במה אפשר לעזור?",
"tool": null
},
{
"end_ms": 6100,
"interrupted": false,
"speaker": "customer",
"start_ms": 4400,
"text": "רציתי לבדוק מה עם ההזמנה שלי",
"tool": null
}
]
}

The request is invalid: a parameter is missing, malformed or unknown, or the version header is unknown.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "parameter_missing",
"doc_url": "https://docs.morevoice.ai/api/errors#parameter-missing",
"message": "Missing required parameter: to.",
"param": "to",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "invalid_request_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No valid API key was sent.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "invalid_api_key",
"doc_url": "https://docs.morevoice.ai/api/errors#invalid-api-key",
"message": "Invalid API key.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "authentication_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

The key may not do this (a missing scope, a plan limit, or a compliance block).

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "missing_scope",
"doc_url": "https://docs.morevoice.ai/api/errors#missing-scope",
"message": "This API key lacks the calls:write scope.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "permission_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No object with this ID (in the path or the body) exists in this organisation and mode.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "resource_missing",
"doc_url": "https://docs.morevoice.ai/api/errors#resource-missing",
"message": "No such object: 'call_4Gk2'.",
"param": "id",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "not_found"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Too many requests, or no call capacity right now. Retry after the Retry-After delay.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "rate_limited",
"doc_url": "https://docs.morevoice.ai/api/errors#rate-limited",
"message": "Too many requests. Retry after 1 second.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "rate_limit_error"
}
}
Retry-After
integer

Seconds to wait before retrying.

X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Something went wrong on MoreVoice’s side. Retry with the same Idempotency-Key.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "internal_error",
"doc_url": "https://docs.morevoice.ai/api/errors#internal-error",
"message": "Something went wrong on MoreVoice's side.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "api_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.