post https://api.fonestorm.com/v2/announcements
Add a new Announcement to an account.
Notes
label
label Name/Label for the announcement
soundfile
soundfile Sound File ID or Text to Speech string (prefixed with tts:).
destination_type
destination_type Destination type for the Announcement. FracTEL network will send incoming calls to the Announcement to this Destination.
| destination_type | destination | 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 |
destination
destination Destination depends on the destination type. destination is REQUIRED unless destination_type is Reject, Hangup or Busy.
Sample Response
{
"announcement": {
"id": "bb336b0b698288",
"label": "Test 1",
"destination_type": "Hangup",
"destination": "",
"soundfile": "SF123456789"
}
}Response Properties
| Property | Type | Description |
|---|---|---|
| Announcement | object | Announcement |