I’m trying to GET transcribed texts by using a python program to extract transcribed texts using OAuth Zoom App from Zoom > Phone System Management > Logs > Recordings using Zoom API calls.
I see transcript texts being shown when listening to the calls on the Zoom Web Console under Zoom > Phone System Management > Logs > Recordings.
I want to just download all transcribed texts under Phone System Management > Logs > Recordings between a fixed date/time interval.
# Authenticate and get the access token
# OAuth access token retrieval
def get_access_token():
auth_url = 'https://zoom.us/oauth/token'
data = {
'grant_type': 'client_credentials'
}
response = requests.post(auth_url, data=data, auth=(API_KEY, API_SECRET))
if response.status_code == 200:
return response.json()['access_token']
else:
raise Exception('Failed to authenticate with Zoom API')
def download_call_transcriptions():
access_token = get_access_token()
headers = {
'Authorization': f'Bearer {access_token}',
'Content-Type': 'application/json'
}
# Get the list of call recordings
url = 'https://api.zoom.us/v2/phone/recording_transcript/download/'
response = requests.get(url, headers=headers)
print(str(response))
Under Scopes, i could not find phone:read:admin & phone_recording:read:admin.
Hi @rsurendra
Thanks for reaching out to the Zoom Developer Forum and welcome to our community, I am happy to help here!
Are you able to initially get the access token? Or you are not able to get the access token at all?
If you are using Oauth please make sure to use client ID and client Secret as your auth method:
Q: Are you able to initially get the access token? Or you are not able to get the access token at all ?
Ans : I’m able to get a 491 alphanumeric characters access token back using client ID and client Secret keys which i obtained by creating a Account Level App and also tried it with a User Managed App. But i was unable to download any of the Phone Call Recordings.
Zoom Web Console under Zoom > Phone System Management > Logs > Recordings.(I want to download all these recordings)
The above mentioned URL is mentioned in the API documentation, but 404 means it does not exist. I’m not sure if its a Scope issue. I have enabled everything related to Phone module in Scopes, but no luck so far.
I have the following scopes in my Account level app:
phone:read:admin
phone_recording:read:admin
So that should be good.
Do you know where i can find / get or download the {recordingId} ?
Because i’m not able to find {recordingId} in the Web Console i.e. When i navigate to :
Zoom Home Screen > Phone System Management > Logs > Calls / Recordings
I only see the following fields =>
Direction From To Forward to Device Time Result Path Duration (hh:mm:ss) Client Code Site Department Cost Center Charge End-to-End Encryption FAC Required
I cannot find {recordingId} .
Can you help me find it ?
Thanks.