Retrieve a Transcription
Use this endpoint for the Recording Transcriptions method to retrieve a single recording transcription.
Parameters
Parameter | Description |
---|---|
Sid Required | The Call SID that uniquely identifies the recording transcription to retrieve. |
Request
Retrieve a single recording transcription.
- cURL
- Node.js
- C#
- Python
- Ruby
curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Transcriptions/{Sid}.json \
-X GET \
-u "YourProjectID:YourAuthToken"
const { RestClient } = require('@signalwire/compatibility-api')
const client = RestClient('YourProjectID', 'YourAuthToken', { signalwireSpaceUrl: 'example.signalwire.com' })
client.transcriptions('Sid')
.fetch()
.then(transcription => console.log(transcription.dateCreated))
.done();
using System;
using System.Collections.Generic;
using Twilio;
using Twilio.Rest.Api.V2010.Account;
class Program
{
static void Main(string[] args)
{
TwilioClient.Init("YourProjectID", "YourAuthToken", new Dictionary<string, object> { ["signalwireSpaceUrl"] = "{SPACE}.signalwire.com" });
var transcription = TranscriptionResource.Fetch(
pathSid: "Sid"
);
Console.WriteLine(transcription.DateCreated);
}
}
from signalwire.rest import Client as signalwire_client
client = signalwire_client("YourProjectID", "YourAuthToken", signalwire_space_url = 'example.signalwire.com')
transcription = client.transcriptions('Sid') \
.fetch()
print(transcription.date_created)
require 'signalwire/sdk'
@client = Signalwire::REST::Client.new 'YourProjectID', 'YourAuthToken', signalwire_space_url: "example.signalwire.com"
transcription = @client.transcriptions('Sid')
.fetch
puts transcription.date_created