---
title: "Send voicemails from HubSpot with the API"
url: "https://voicedeliver.com/hubspot-integration.md"
canonical_url: "https://voicedeliver.com/hubspot-integration"
last_updated: "2026-10-22"
type: "how-to"
summary: "Call the VoiceDeliver API from the HubSpot Send a webhook workflow action step: three tested requests, with their bodies and headers."
related: ["https://voicedeliver.com/voicedeliver-integration.md", "https://voicedeliver.com/docs/quickstart.md", "https://voicedeliver.com/docs/api.md"]
---

# Send voicemails from HubSpot

> **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.

Call the VoiceDeliver API from the HubSpot Send a webhook workflow action step: three tested requests, with their bodies and headers.

HubSpot can call the VoiceDeliver REST API from its own Send a webhook workflow action step. Three calls take a contact from a HubSpot trigger to a queued voicemail.

## Set up Send a webhook workflow action in HubSpot

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

1. In Automation, Workflows, open or create a workflow and add the Send a webhook action.
2. Set the method to POST and the URL to your API base URL followed by `/v1/consents`.
3. Build a custom request body from the fixed values and contact properties HubSpot offers, matching the field names in the first body below.
4. Choose an authentication type that places a key in a request header, and use the Authorization header described under "Headers" below.
5. Add a second Send a webhook action for your API base URL followed by `/v1/ringless-voicemails` with the second body.

HubSpot's page says this action needs a Data Hub Professional or Enterprise subscription.

## Headers

```http
Authorization: Bearer vd_live_YOUR_KEY
Content-Type: application/json
```

Use the action's header-based authentication type. Keys begin with `vd_live_`; see [authentication](https://voicedeliver.com/docs/authentication.md).

## 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.

```json
{
  "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.

```json
{
  "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

| Call | Status when it works |
| --- | --- |
| POST /v1/consents | 201 |
| POST /v1/ringless-voicemails | 202 |
| GET /v1/ringless-voicemails/{id} | 200 |

Failures use one envelope with a code, a message and a fix. See [errors](https://voicedeliver.com/docs/errors.md).

## Checking delivery

HubSpot 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

- [HubSpot documentation: https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows](https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows), read 2026-10-19. The three API calls were sent to the VoiceDeliver API in our tests.

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

## Related

- [VoiceDeliver integrations through the API](https://voicedeliver.com/voicedeliver-integration.md)
- [Quickstart: Send a First Ringless Voicemail](https://voicedeliver.com/docs/quickstart.md)
- [VoiceDeliver API Reference: Every Endpoint](https://voicedeliver.com/docs/api.md)
