channels
voice
interactive-voice-response
ivr-uploaded-files

Upload file

Upload an audio file to be played in IVR calls. The file will be removed if it is not used for 90 days. Supported formats: .wav and .mp3.

post/voice/ivr/1/uploads

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body multipart/form-data

filestring binary required

Response

Success

idstring

File ID.

namestring required

File name.

fileFormatstring required

File format.

sizeinteger

File size in bytes.

creationTimestring date-time

File creation time.

expirationTimestring date-time

File expiration time.

durationinteger

File duration in seconds.

Example response

{
  "id": "218eceba-c044-430d-9f26-8f1a7f0g2d03",
  "name": "Example file",
  "fileFormat": "WAV",
  "size": 292190,
  "duration": 3
}

Changes

No recorded changes to this operation across all 1 revision of this API.