post https://api.fonestorm.com/v2/speeddials
Add a new SpeedDial to an account.
Notes
speed_dial
speed_dial 1 to 6 digit speed dial. Speed Dial should be unique for your account.
label
label Name/Label for the speed dial
service_type
service_type Destination type for the Speed Dial. FracTEL network will send incoming calls to the Speed Dial to this Destination.
| service_type | service_id | Example |
|---|---|---|
| Hangup | Hangup incoming call | |
| Reject | Reject incoming call | |
| Busy | Send busy signal to the incoming call | |
| Device | The ID for the destination device | 987123543678 |
| Forward | A forwarding phone number | 3215551111 |
| Conference | The ID for the destination Conference | 456123543123 |
| IVRMenu | The ID for the destination IVRMenu | 456123543678 |
| Scheduler | The ID for the destination Scheduler | 123123543678 |
| Voicemail | The ID for the destination Voicemail Box | 298123543678 |
service_id
service_id Destination Id depends on the destination type. service_id is REQUIRED unless service_type is Reject, Hangup or Busy.
Sample Response
{
"speedDial": {
"speed_dial": "101",
"label": "Agent 101",
"service_type": "Device",
"service_id": "101010101010",
"type": "manual",
"active": "yes"
}
}Response Properties
| Property | Type | Description |
|---|---|---|
| speed_dial | string | SpeedDial number. |
| label | string | Name/Label for speeddial. |
| service_type | string | One of the supported destinations - Conference, Hangup, Busy, Reject, Forward, IVRMenu, Scheduler, Device, Voicemail |
| service_id | string | Destination ID |
| type | string | SpeedDial Type - auto or manual |
| active | boolean | SpeedDial status active or inactive |