Twilio Get Call Recording Transcript

Has anybody successfully gotten transcripts from Twilio API? I’ve got the Get Calls API call setup and working, and from that I am able to use the Get Recordings but no matter which way I attempt to get the transcript I am getting 0 results returned by Twilio (either using Get all Transcripts or for a specific transcript by the twilio SID for the transcript).

Other attempts get error message saying call doesn’t support the http request method.



Any ideas on where I’m going wrong on this?

@boston85719 To generate transcriptions from call recordings, use the TwiML <Record> verb and set `transcribe=“true”.

Did you set the record transcribe attribute to true? Check this Twilio Doc

An alternative solution is to retrieve the call audio file and then send it to the OpenAI Whisper API.

Thank you for this. I’m in the process of replacing a google script for a client. I do not think the transcribe attribute is set to true, so that might be the first thing I look toward.

Apparently the script would use Twilio Intelligence to transcribe the fetched recording, which definitely sounds like transcribe attribute is not set to true. After that it used OpenAI to summarize, so the OpenAI whisper API is definitely something I’ll check out too as I suspect it might allow one call to get the full transcript and summary.

Thanks for the help.

1 Like