channels
voice
file-management

Get audio file

Get a single audio file.

get/calls/1/files/{fileId}

Request

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

Path parameters

fileIdstring required

File ID.

Response

Success

idstring

File ID.

namestring required

File name.

fileFormat'MP3' | 'WAV' | 'MP4' 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.