Make A Call With Dymanic Variable

If the Variable used is "name", simply fill in the "name" variable in the variable field in the request body with the String data type. If the Variable used is "audio", please get your audio url from the audio upload process above and enter the url in the variable field in the request body

HTTP Method : GET

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

Request Body:

Property
Type

from_number

String (Phone numbers that get from numbers collection) Required

to_number

String (Destination phone number) Required

ivr_id

String (Get from ivr list) Required

variable

Object (filled with required variable and the value)

{
    "from_number":"02184788xxx",
    "to_number":"081211122xxxx",
    "ivr_id":"xxxxgyutfgv6767768hgxxxx",
    "variable":{
        "name": "galih",
        "audio_1": "https://webapigw.ocatelkom.co.id/audio/play/df82xxxx-a5xx-44xx-86xx-57f4e7e8xxxx.mp3"
    }
}

Response:

Property
Type

success

Boolean

call_id

String

{
    "success": true,
    "to_number":"xxxxfghjji10gdd112xxxx",
}

Last updated