|Help Centre

Voicemail greetings

Last updated at

In this example, we will learn how to use the API to record a voicemail greeting and how to enable voicemail for a source.

1. Record greeting

To create a new voicemail greeting, POST to the voicemail_greetings resource:

POST /customers/407382/voicemail_greetings
  "timestamp":"2012-03-14 20:43:17",

Now we've created a voicemail greeting placeholder, but we need to record a greeting message. To record a message, dial the number seen in record_number and enter your pin code, record_pin.

2. Enable voicemail

Once recorded, you will need to enable voicemail for a source:

PUT /sources/219982
  "timestamp":"2012-03-13 23:00:00",
  "created":"2012-03-14 20:56:46",
  "modified":"2012-03-14 20:58:09",

Not only did we enable this source to divert to our previously created voice greeting on busy and no answer, but we also enabled email notifications when someone leaves a new voicemail. Cool, huh?

3. Download greeting

If you want to download your voice greeting, you can GET the voicemail_greetings resource:

GET /customers/407382/voicemail_greetings/303
  "timestamp":"2012-03-14 20:51:25",

Congratulations! You've now learned how to create a voicemail greeting and to assign it to a source using the Freespee API.

Can't find what you're looking for?