Request a presigned url
Request a presigned URL to upload a call recording, before creating the call. To upload the file you must send a PUT request to the returned url, with the headers provided by the endpoint (single-part upload). This uploaded file automatically expires after 3 days unless used to create a call.
post/calls/presign_recording_url
Request
- Base URL: https://public-api.leexi.ai/v1
- URL: https://public-api.leexi.ai/v1/calls/presign_recording_url
- Auth: API key in header Authorization
Request body
Response
200
Example response
{
"data": {
"headers": {
"x-amz-tagging": "temporary=true"
},
"recording_s3_key": "acme/recordings/upload/bec9d04c-ba91-43c1-8a46-79f690a844c1.mp3",
"url": "https://foo.s3.eu-west-3.amazonaws.com/acme/recordings/upload/bec9d04c-ba91-43c1-8a46-79f690a844c1.mp3?X-Amz-Algorithm=AWS4-HMAC-SHA256"
},
"message": "recording url presigned",
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.