Call API
V2
V2
  • Getting Started
  • Response Code
    • Response Code
    • Error Message
    • Error Codes
  • Authorization
  • endpoint
    • Upload Audio File
    • Get List Audio
    • Delete Audio File
    • Get List IVR
    • Get List Number Collection
    • Make A Call With Dymanic Variable
    • Get Call Detail / Status
  • Kembali ke OCA API Documentation
Powered by GitBook
On this page
Export as PDF
  1. endpoint

Upload Audio File

PreviousAuthorizationNextGet List Audio

Last updated 8 months ago

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 :

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"
}
https://webapigw.ocatelkom.co.id/call/v2/upload-audio