---
title: "Quickstart: Send a First Ringless Voicemail"
url: "https://voicedeliver.com/docs/quickstart.md"
canonical_url: "https://voicedeliver.com/docs/quickstart"
last_updated: "2026-11-14"
type: "how-to"
summary: "Record permission for a number and send a first ringless voicemail with cURL: the request shapes for the VoiceDeliver API."
related: ["https://voicedeliver.com/docs/recipient-records.md", "https://voicedeliver.com/docs/errors.md"]
---

# Quickstart

> **For AI agents:** the complete index of VoiceDeliver pages is [llms.txt](https://voicedeliver.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Record permission for a number and send a first ringless voicemail with cURL: the request shapes for the VoiceDeliver API.

Two requests: record permission, then send.

Examples use placeholder keys, ids and phone numbers.

## 1. Get a key

Email hello@voicedeliver.com and we set up your account and send your key with your API base URL. Keep them in the environment variables `VOICEDELIVER_API_KEY` and `VOICEDELIVER_API_URL`, which the examples below read. Keys begin with `vd_live_` and are sent as a bearer token. See [authentication](https://voicedeliver.com/docs/authentication.md).

## 2. Record permission

A send to a number is refused until permission for it is on file. Store the wording the person saw and how they agreed.

```bash
curl $VOICEDELIVER_API_URL/v1/consents \
  -H "Authorization: Bearer $VOICEDELIVER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+13125550123",
    "seller_name": "Acme Dental",
    "method": "web_form",
    "disclosure_text": "By checking this box ... prerecorded or artificial-voice voicemails ... Consent is not a condition of purchase ...",
    "source_url": "https://acme.example/book",
    "signed_name": "Pat Example",
    "captured_at": "2026-10-17T15:04:05Z"
  }'
```

## 3. Send a voicemail

```bash
curl $VOICEDELIVER_API_URL/v1/ringless-voicemails \
  -H "Authorization: Bearer $VOICEDELIVER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+13125550123",
    "from": "+13125550199",
    "type": "ai",
    "voice_clone_id": "vc_123",
    "script": "Hi {{first_name}}, this is a reminder about your visit on Friday.",
    "timezone": "America/Chicago",
    "state": "IL",
    "passthrough": { "crm_id": "42" }
  }'
```

The response is `202` with the send. Read it later with `GET /v1/ringless-voicemails/{id}`. You are charged only if the whole message connects.

A send outside the recipient's calling window stays `queued` with the reason `outside_calling_window` and goes out when the window opens. The platform's send job runs every 30 seconds to submit sends that are due.

## 4. Choose a plan

`POST /v1/billing/checkout` takes `plan` (`budget`, `individual`, `growth`, `scale` or `enterprise`) and `billing` (`monthly` or `yearly`), and returns a Stripe Checkout `url`. Individual, Growth and Scale start with a 7-day trial that costs $1 and comes with 100 voice units. A plan and its voice units reach the account only from the signed Stripe event after payment; no endpoint sets them. `enterprise` is set up on a [call](https://voicedeliver.com/book.md), not a checkout. `GET /v1/account` shows the plan, the trial and the voice-unit balance. To start a plan without calling the endpoint yourself, email hello@voicedeliver.com and we set it up with you.

## 5. If the trial units run out

Sending pauses with the error `trial_allowance_exhausted` and nothing is charged. Email hello@voicedeliver.com and we end the trial and start the plan; it is never done for you. A first paid month can be refunded within 7 days of the first payment.

## Related

- [Recipient Records and Sending Checks](https://voicedeliver.com/docs/recipient-records.md)
- [API Error Codes and How to Fix Them](https://voicedeliver.com/docs/errors.md)
