contact_center.recording_transcript_completed
I would like to get a copy of any transcript. I have created a server-to-server app that calls to a webhook with the contact_center.recording_transcript_completed event.
I have successfully validated the webhook and I am receiving events. One of the items returned is
transcript_url
string
The URL to download the recording transcript file.
If a user has authorized and installed your OAuth app containing contact center recording scopes, use the user’s OAuth access token to download the file, and set the access_token as a Bearer token in the Authorization header.
curl -H 'Authorization: Bearer ' https://{{base-domain}}/rec/archive/download/xyz
I want to download this url.
I have followed the instructions here - Server-to-Server OAuth to get a Authorization token for a server to server app.
When I attempt to download with the curl above… I get the following error:
code 124
message Access token is required.
Here is a sample of the request I am making (xyz replaces transcript url and auth token):
[
{
"ca": null,
"qs": [],
"url": "https://www.zoom.us/v2/contact_center/recording/transcripts/download/xyz?type=voice",
"gzip": true,
"method": "get",
"headers": [
{
"name": "Authorization",
"value": "xyz"
}
],
"timeout": null,
"useMtls": false,
"authPass": null,
"authUser": null,
"bodyType": null,
"serializeUrl": false,
"shareCookies": false,
"parseResponse": true,
"followRedirect": true,
"useQuerystring": false,
"followAllRedirects": false,
"rejectUnauthorized": true
}
]
Is there a way to get more information about what is happening and how to resolve?