---
title: "Record Origination Failed"
method: POST
path: "/api/voice/origination-failed"
tags: ["voice"]
---

# Record Origination Failed

`POST /api/voice/origination-failed`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/voice/origination-failed`
- Auth: none declared

The browser telling us it could not place a call.

⛔THIS ROUTE EXISTS BECAUSE THE FACT NEVER REACHED US. On 2026-09-18 five
of six agents could not place a call for a whole morning -- one shared
Plivo endpoint, one call at a time -- and we learned about it from a
Slack message. `SoftphonePanel.tsx`'s `onCallFailed` knew the reason, told
the agent, and told nobody else. There was no row to fail to write.

⛔ALWAYS 200, EVEN WHEN THE WRITE FAILS. This is reported by somebody who
has just failed to reach a customer; the one thing worse than losing the
record is turning it into a second visible failure. `record` swallows and
logs, and the agent's own error message never depended on this landing.

## Request body

- OriginationFailedRequest: What the agent's browser says went wrong. ⛔EVERY FIELD IS SELF-REPORTED AND UNTRUSTED. The softphone dials browser-to-Plivo directly, so this is the only account of a refusal that exists -- Plivo may hold nothing for an origination it refused. Bounded and stored opaque; never interpolated, never rendered as markup.
  - `reason` string, nullable
  - `to_number` string, nullable
  - `ticket_id` string, uuid, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
