Edit an IVR
Edit the IVR settings, such as number, name, etc.
Endpoint
POST /api/v1.1.0/ivr/update?token={token}
Request Parameters
Name | Importance | Type | Description |
---|---|---|---|
ivrid |
Required | String | A unique identifier of the configured IVR (IVR number). |
ivrnumber |
Optional | String | Modified IVR number. |
ivrname |
Optional | String | The IVR name. |
promptrepeat |
Optional | String | How many times will the prompt be repeated. |
responsetimeout |
Optional | Int | Response timeout in seconds. |
digittimeout |
Optional | Int | Digit timeout in seconds. |
dialext |
Optional | String |
Allow the caller to dial extension.
|
dialtocheckvoicemail |
Optional | String |
Allow to check voicemail.
|
Examples
Request SampleModify IVR
number.
Response
SamplePOST /api/v1.1.0/ivr/update?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: api.yeastarcloud.com { "ivrid": "6500", "ivrnumber": "6501" }
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }