7-day trialTry VoiceDeliver for $1 on Individual, Growth and Scale.Try VoiceDeliver for $1See pricing
Integration

Send voicemails from Make

Make can call the VoiceDeliver REST API from its own HTTP app, Make a request step. Three calls take a contact from a Make trigger to a queued voicemail.

Set up HTTP app, Make a request in Make

Your API key and your API base URL come by email from hello@voicedeliver.com when we set up your account.

  1. In a scenario, add the HTTP app and choose its Make a request module.
  2. Enter your API base URL followed by /v1/consents as the URL (the module takes https addresses only) and set the method to POST.
  3. Set the body content type to application/JSON, choose a raw JSON body, and paste the first body below with your mapped fields in place of the examples.
  4. Add the Authorization header described under "Headers" below. Make recommends keeping credentials in a keychain rather than typing them into a header field, so use that option where the module offers it.
  5. Add a second Make a request module for your API base URL followed by /v1/ringless-voicemails with the second body.

Headers

Headers on every call
Authorization: Bearer vd_live_YOUR_KEY
Content-Type: application/json

Prefer Make's keychain for the key. Keys begin with vd_live_; see authentication.

The three calls

Before the first send, register the caller ID you send from with POST /v1/sender-numbers and use that number as from. Only numbers registered on your account belong in from.

1. POST /v1/consents

Store the contact's written agreement and its evidence. The API refuses a send to a number with nothing on file, so this call comes first.

POST /v1/consents
{
  "phone": "+13125550123",
  "seller_name": "Acme Roofing",
  "method": "web_form",
  "disclosure_text": "By checking this box and entering my phone number, I agree to receive prerecorded or artificial-voice voicemails and calls, which may use an AI-generated voice, from or on behalf of Acme Roofing at the number I provided, including messages sent by automated technology. Consent is not a condition of purchase of any goods or services. I can withdraw consent at any time by replying STOP or telling Acme Roofing.",
  "source_url": "https://example.com/book"
}

2. POST /v1/ringless-voicemails

Queue one voicemail from a recording. passthrough carries your own record id back to you.

POST /v1/ringless-voicemails
{
  "to": "+13125550123",
  "from": "+14155552671",
  "type": "static",
  "audio_url": "https://example.com/greeting.mp3",
  "timezone": "America/Chicago",
  "passthrough": {
    "crm_id": "42"
  }
}

3. GET /v1/ringless-voicemails/{id}

Read the state of the send, using the id the previous call returned.

What comes back

CallStatus when it works
POST /v1/consents201
POST /v1/ringless-voicemails202
GET /v1/ringless-voicemails/{id}200

Failures use one envelope with a code, a message and a fix. See errors.

Checking delivery

Make can poll the third call with the id from the second to read the state of a send. The id is the one VoiceDeliver returns in step two.

Source

Spot something wrong or out of date? Write to hello@voicedeliver.com and we will review it.

Try it for yourself