Upload Voice

To use a custom voice in a call, the client has to first upload the file and retrieve the identifier. this identifier can then be used in call APIs

The file should be in binary format and the limit must be less than 128 megabytes.

POST https://api.bitel.rest/api/v2/files/upload

Headers

Name
Type
Description

content-type

string

multipart/formdata

Request Body

Name
Type
Description

data

object

the binary voice to be uploaded

{
  "result": {
    "id": "9e8b2e5565774d3ebfa29082a7c61e6f",
    "dateCreated": 1564642810
  },
  "error": null
}

The uploaded file can later be downloaded using the voiceId

Last updated