Voicegram

List recent completed voicegrams

Returns the N most-recent completed voicegrams for the PAT's account, in the canonical `voicegram.completed` payload shape.

On this page

Returns the N most-recent completed voicegrams for the PAT's account, in the canonical voicegram.completed payload shape. Used by Zapier's "Test Trigger" button so the trigger-setup UI shows real sample data.

When the account has zero completed voicegrams, returns one synthetic sample row so the setup UI is never empty.

Endpoint

http
GET /api/v1/voicegrams/recent

Authentication

Bearer Personal Access Token. See Authentication.

Query parameters

NameTypeRequiredDescription
limitintegernoHow many voicegrams to return. Defaults to 3. Values outside the allowed range are clamped (not rejected) so Zapier's test button, which always passes 3, can never fail validation. Non-integer or unparseable input also falls back to the default.

Example request

bash
curl https://www.voicegram.io/api/v1/voicegrams/recent \
  -H "Authorization: Bearer vg_pat_<your-token>"

Responses

200OK

Recent voicegrams in webhook-payload shape

FieldTypeRequiredDescription
voicegramsarray of objectyes
voicegrams[].eventenum ("voicegram.completed")yes
voicegrams[].event_idstringyesStable event identifier of the form evt_<uuid>. The SAME value is sent across retries of the same event. Customers requiring exactly-once delivery should deduplicate on this field.
voicegrams[].delivered_atstring (date-time)yesISO 8601 timestamp when this delivery attempt fired.
voicegrams[].dataobjectyes
voicegrams[].data.idstringyesVoicegram row identifier.
voicegrams[].data.created_atstring (date-time)yes
voicegrams[].data.completed_atstring (date-time)yes
voicegrams[].data.duration_secondsnumberyesAudio duration in seconds.
voicegrams[].data.senderobjectyes
voicegrams[].data.sender.verification_methodenum ("email", "sms")yesHow the caller verified themselves. Reserved for future SMS verification; only email is produced today.
voicegrams[].data.sender.emailstring | nullyesPopulated when verification_method=email, null when verification_method=sms. email and phone are mutually exclusive.
voicegrams[].data.sender.phonestring | nullyesPopulated when verification_method=sms, null when verification_method=email. email and phone are mutually exclusive.
voicegrams[].data.channelobjectyes
voicegrams[].data.channel.typeenum ("domain", "campaign")yes
voicegrams[].data.channel.idstringyes
voicegrams[].data.channel.namestringyes
voicegrams[].data.channel.page_urlstring | nullyesPage URL where the voicegram was recorded. Null for campaign-sourced voicegrams.
voicegrams[].data.transcriptobjectyes
voicegrams[].data.transcript.textstringyesFull transcript text.
voicegrams[].data.transcript.confidencenumberyesTranscription confidence score, 0.0 to 1.0.
voicegrams[].data.summaryobjectyesStructured AI summary. Groups urgency, sentiment, intent, callback_required, action items, and extracted entities so consumers can route on any of them without parsing prose.
voicegrams[].data.summary.textstringyesAI-generated prose summary (max ~200 words).
voicegrams[].data.summary.urgencystring | nullyesAI-classified urgency. Null when not classified.
voicegrams[].data.summary.sentimentstring | nullyesAI-classified overall sentiment.
voicegrams[].data.summary.intentstring | nullyesAI-classified intent (free-form, e.g. inquiry, support, complaint, scheduling, follow-up, sales).
voicegrams[].data.summary.callback_requiredbooleanyesTrue when the caller explicitly requested a callback.
voicegrams[].data.summary.action_itemsarray of objectyesAI-extracted action items, normalized to objects with task, priority, and deadline.
voicegrams[].data.summary.action_items[].taskstringyes
voicegrams[].data.summary.action_items[].priorityenum ("low", "medium", "high")yes
voicegrams[].data.summary.action_items[].deadlinestring | nullyesFree-form deadline (e.g. ASAP, by Friday).
voicegrams[].data.summary.mentionedobjectyesAI-extracted entities mentioned in the call. Mirrors the "Mentioned" section on the voicegram detail page.
voicegrams[].data.summary.mentioned.namesarray of stringyesPeople or companies mentioned by name.
voicegrams[].data.summary.mentioned.phonesarray of stringyesPhone numbers in E.164 (+CCNNNNNNNNNN). Includes spelled-out digits and respects geographic cues ("I'm in London" → +44...).
voicegrams[].data.summary.mentioned.emailsarray of stringyesEmail addresses. Includes obfuscated forms ("at" / "dot").
voicegrams[].data.audioobjectyes
voicegrams[].data.audio.urlstring (uri)yesSigned listen URL backed by a per-recipient listener token. Validity is plan-scaled: 30 days (Free), 90 days (Starter), 365 days (Pro / Business / Enterprise). After expiry or revocation, the URL returns 403. If the underlying audio file has been deleted (plan retention reached), the URL returns 410. For permanent access, use the auth-gated dashboard_url or re-fetch the voicegram via this API to receive a fresh URL.
voicegrams[].data.audio.expires_atstring (date-time)yesISO 8601 timestamp at which url stops working.
voicegrams[].data.audio.content_typeenum ("audio/webm")yesMIME type of the audio at url. Literal audio/webm in v1.
voicegrams[].data.dashboard_urlstring (uri)yesPermanent (auth-gated) link to the voicegram in the Voicegram dashboard.
voicegrams[].data.tagsarray of stringyesUser-supplied tags from the dashboard Tags input. Distinct from the AI-derived summary.urgency / .sentiment / .intent fields. Empty array when the user has not tagged the voicegram.
json
{
  "voicegrams": [
    {
      "event": "voicegram.completed",
      "event_id": "evt_sample-12345678",
      "delivered_at": "2026-05-14T19:23:45.000Z",
      "data": {
        "id": "vg_sample_12345678",
        "created_at": "2026-05-13T19:22:00.000Z",
        "completed_at": "2026-05-13T19:23:00.000Z",
        "duration_seconds": 47,
        "sender": {
          "verification_method": "email",
          "email": "sample.customer@example.com",
          "phone": null
        },
        "channel": {
          "type": "domain",
          "id": "sample-domain-id",
          "name": "example.com",
          "page_url": "https://example.com/pricing"
        },
        "transcript": {
          "text": "Hi, I wanted to ask about your enterprise pricing options. Please call me back at four one five, five five five, oh one two three or email pricing.questions@example.com. Thanks.",
          "confidence": 0.94
        },
        "summary": {
          "text": "Customer asking about enterprise pricing. Wants a callback or follow-up email.",
          "urgency": "medium",
          "sentiment": "neutral",
          "intent": "inquiry",
          "callback_required": true,
          "action_items": [
            {
              "task": "Send enterprise pricing details",
              "priority": "medium",
              "deadline": null
            },
            {
              "task": "Call back at +14155550123",
              "priority": "medium",
              "deadline": null
            }
          ],
          "mentioned": {
            "names": [
              "Example Corp"
            ],
            "phones": [
              "+14155550123"
            ],
            "emails": [
              "pricing.questions@example.com"
            ]
          }
        },
        "audio": {
          "url": "https://www.voicegram.io/api/listen/vg_sample_12345678?t=sample-token-redacted",
          "expires_at": "2026-05-15T19:23:45.000Z",
          "content_type": "audio/webm"
        },
        "dashboard_url": "https://voicegram.io/dashboard/inbox/vg_sample_12345678",
        "tags": [
          "pricing",
          "enterprise"
        ]
      }
    }
  ]
}
401Unauthorized

The PAT is missing, malformed, expired, or revoked.

See Errors for the shared error response shape.

403Forbidden

PAT is valid but the account is on the free plan.

See Errors for the shared error response shape.

429Too Many Requests

Per-account rate limit exceeded.

See Errors for the shared error response shape.

500Internal Server Error

Unexpected server error.

See Errors for the shared error response shape.

Need help? Email support@voicegram.io.