Skip to main content
POST
/
call
/
{callId}
/
recording
Upload call recording
curl --request POST \
  --url https://app2.freyavoice.ai/api/v2/call/{callId}/recording \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form recording='@example-file'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "callId": "<string>",
      "key": "<string>",
      "size": 123,
      "contentType": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

callId
string<uuid>
required

Query Parameters

workspaceId
string<uuid>
required

Body

multipart/form-data
recording
file
required

MP3 audio file

Response

Recording uploaded successfully

success
enum<boolean>
required
Available options:
true,
false
data
object
required