Discussions
Transcripts API
about 1 month ago by null
When I use the transcripts API as follows, I only get the call ID back and not the transcript.
Example:
def get_transcript(call_id):
url = f"https://dialpad.com/api/v2/transcripts/{call_id}?apikey={apikey}"
response = requests.get(url, headers={"accept": "application/json"})
return response.json()
for test in tries:
print(get_transcript(test['call_id']))
{'call_id': '5207974055329792'}
{'call_id': '5344910279524352'}
{'call_id': '5692086025273344'}