Skip to content

Get a conversation transcript

GET
/v1/Accounts/{auth_id}/Conversation/Transcription/{conversationId}
curl --request GET \
--url https://api.siprtc.io/v1/Accounts/example/Conversation/Transcription/example \
--header 'Authorization: Basic <credentials>'

Returns the messages of one conversation, oldest first, as a single plain-text transcript with one Name: message line per message. Messages sent by a contact-centre agent are labelled with the agent’s name. A conversation ID with no messages on the account returns 200 with an empty transcription. The conversation is looked up on the account whose credentials you use.

auth_id
required
string

Your account’s Auth ID

conversationId
required
string

Conversation ID (the conversationId of its messages)

The transcript

Media type application/json
object
transcription

The conversation, oldest message first, one “Name: message” line per message.

string

Example

{
"transcription": "Alex Agent: Hello, how can I help?\nAlex Agent: Your order has shipped.\n"
}

The lookup failed

Media type application/json
object
error

Same text as message.

string
message

The storage error.

string
status

Always failed.

string

Example

{
"error": "context deadline exceeded",
"message": "context deadline exceeded",
"status": "failed"
}

Missing or wrong credentials (body: "Authentication failed")

Media type application/json
string

Example generated

example