Upload Audio File

Upload audio file is method to store your audio file in OCA’s cloud storage, you can retrieve your audio by url that oca provide after you successfully upload your audio.

HTTP Method : POST

Endpoint URL : https://webapigw.ocatelkom.co.id/call/v2/upload-audio

Form Data (Body)

Property
Type

audio

File (accepted file is mp3)

Response:

Property
Type

id

String

filename

String

name

String

url

URL String

{
    "id": "xxxxf03d61fae4001267xxxx",
    "filename": "df82xxxx-a5xx-44xx-86xx-57f4e7e8xxxx.mp3",
    "name":"OCA Audio Rekam.mp3",
    "url": "https://webapigw.ocatelkom.co.id/audio/play/df82xxxx-a5xx-44xx-86xx-57f4e7e8xxxx.mp3"
}

Last updated