Create a presigned URL to upload call audio

Mint a presigned URL for (re-)uploading a call's audio recording.

Returns {"user_uploads": {"url": ...}}. Upload the audio file directly
to that URL. The phone_call_leg_id is validated as a UUID at request validation (422),
and file_extension is constrained to mp3 by the request schema.
Returns 404 for an unknown id and 409 when the call cannot be
re-uploaded.

Path Params
uuid
required
Body Params

Request body for POST /phone_call_legs/{phone_call_leg_id}/audio/uploads.

The extension is nested under user_uploads:
{"user_uploads": {"file_extension": "mp3"}}. Unknown fields are rejected
(422) at request validation.

user_uploads
object
required

The user_uploads object on the request body.

Only file_extension
is sent (url is read-only / response-only).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json