Get all Transcript Sentences by TranscriptSid
Get all Transcript Sentences by TranscriptSid
Path parameters
-
The unique SID identifier of the Transcript.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^GT[0-9a-fA-F]{32}$
.
Query parameters
-
Grant access to PII Redacted/Unredacted Sentences. If redaction is enabled, the default is
true
to access redacted sentences. -
Returns word level timestamps information, if word_timestamps is enabled. The default is
false
. -
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
GET
/v2/Transcripts/{TranscriptSid}/Sentences
curl \
--request GET 'https://intelligence.twilio.com/v2/Transcripts/{TranscriptSid}/Sentences' \
--user "username:password"
Response examples (200)
Read full
{
"meta": {
"key": "sentences",
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?PageSize=50&Page=0",
"previous_page_url": null
},
"sentences": [
{
"sid": "GXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"words": [
{
"word": "test",
"end_time": null,
"start_time": null
},
{
"word": "test",
"end_time": null,
"start_time": null
}
],
"end_time": null,
"confidence": null,
"start_time": null,
"transcript": "test test",
"media_channel": 1,
"sentence_index": 0
}
]
}
{
"meta": {
"key": "sentences",
"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?Redacted=true&WordTimestamps=true&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sentences?Redacted=true&WordTimestamps=true&PageSize=50&Page=0",
"previous_page_url": null
},
"sentences": [
{
"sid": "GXaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"words": [
{
"word": "test",
"end_time": null,
"start_time": null
},
{
"word": "test",
"end_time": null,
"start_time": null
}
],
"end_time": null,
"confidence": null,
"start_time": null,
"transcript": "test test",
"media_channel": 1,
"sentence_index": 0
}
]
}