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

extensionstring required

VIDEO: .mp4 .mkv .avi .webm .mov .wmv .mpg .mpeg .m4v AUDIO: .mp3 .wav .aac .flac .ogg .m4a .wma .opus .aiff .alac .amr .ape .dts .ac3 .mid .mp2 .mpc .ra .tta .vox

Response

200

messagestring
successboolean

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.