Was this helpful?
Retrieve details of action url of virtual receptionist.
The unique ID of virtual receptionist.
The unique ID of the resource.
The unique ID of action url.
GET /api/ivrs/{id}/action_urls/{url_id} HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "name": "text", "enabled": true, "type": "DTMF", "caller_mask": "text", "dtmf_mask": "text", "method": "GET", "headers": "text", "connection_timeout": 1, "request_timeout": 1, "auth": "DISABLE", "username": "text", "password": "text", "token": "text", "url": "text" }
Retrieves a list of action urls of virtual receptionist.
GET /api/ivrs/{id}/action_urls HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
{ "items": [ { "id": "NzAwNTUxOTA5NzczMTQ4MTYw", "name": "text", "enabled": true, "type": "DTMF", "caller_mask": "text", "dtmf_mask": "text", "method": "GET", "headers": "text", "connection_timeout": 1, "request_timeout": 1, "auth": "DISABLE", "username": "text", "password": "text", "token": "text", "url": "text" } ] }
Create an action url for virtual receptionist.
POST /api/ivrs/{id}/action_urls HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 240 { "name": "text", "enabled": true, "type": "DTMF", "method": "GET", "headers": "text", "caller_mask": "text", "dtmf_mask": "text", "connection_timeout": 1, "request_timeout": 1, "auth": "DISABLE", "username": "text", "password": "text", "token": "text", "url": "text" }
{ "id": "NzAwNTUxOTA5NzczMTQ4MTYw" }
Set action url of virtual receptionist.
POST /api/ivrs/{id}/action_urls/{url_id} HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 240 { "name": "text", "enabled": true, "type": "DTMF", "caller_mask": "text", "dtmf_mask": "text", "method": "GET", "headers": "text", "connection_timeout": 1, "request_timeout": 1, "auth": "DISABLE", "username": "text", "password": "text", "token": "text", "url": "text" }
No Content