Caller leaves a voice message - recording saved as an MP3 and retrievable via admin API. XML elements used:Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
<Speak>, <Record>, <Hangup>
View on GitHub
Clone and run the full working example
Getting started
Overview
When a caller dials in, they hear a greeting and are prompted to leave a message after the beep. The recording is saved immediately when the caller hangs up or presses#. When the MP3 file is ready, a second callback fires with the download URL. All voicemails are stored and accessible via a simple admin API.
Call flow
Vobiz webhooks
Set/answer as the Answer URL in your Vobiz application.
| Method | Path | Description |
|---|---|---|
| POST | /answer | Greeting + start recording |
| POST | /voicemail-done | Action URL - fires immediately when recording ends |
| POST | /voicemail-file | Callback - fires when MP3 file is ready |
| POST | /hangup | Call ended webhook |
App API
| Method | Path | Description |
|---|---|---|
| GET | /voicemails | List all voicemails, newest first |
| GET | /voicemails/stats | Total / unread count |
| GET | /voicemails/{id} | Single voicemail + MP3 URL |
| PATCH | /voicemails/{id}/read | Mark as read |
| DELETE | /voicemails/{id} | Delete a voicemail |
Environment variables
| Variable | Required | Description |
|---|---|---|
HTTP_PORT | No | Server port (default: 8000) |
PUBLIC_URL | No | Production URL - skips ngrok if set |
NGROK_AUTH_TOKEN | No | ngrok auth token for local dev |