---
title: "May We Ring This Callback"
method: GET
path: "/api/voice/callbacks/{ticket_id}/may-we-ring"
tags: ["voice"]
---

# May We Ring This Callback

`GET /api/voice/callbacks/{ticket_id}/may-we-ring`

## 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/callbacks/{ticket_id}/may-we-ring`
- Auth: none declared

The softphone's question before it dials a TICKET: is it inside the
customer's calling hours right now, and if not, when?

⛔WHY THIS EXISTS, 2026-09-24. Frederick: the out-of-hours pop-up applies
to "every ticket dial path that can refuse for hours ... the softphone
path currently speaks the refusal and hangs up, so also show the pop-up in
the browser." `/outbound/from-browser` is a Plivo webhook: its answer goes
to Plivo as XML, never to the browser, so the browser cannot learn from it
why the call died. So the browser asks here first, and gets the SAME
verdict -- `ringing_back.may_the_desk_ring`, the one function
`/outbound/from-browser` and `/outbound/cell-bridge` both refuse with.

⛔A READ, AND NOT THE GATE. The refusal at the dial stays exactly where it
is: a screen's copy of the hour is as old as its last fetch, so
`/outbound/from-browser` still speaks the refusal and hangs up if the
hour turned between this answer and the call.

## Path parameters

- `ticket_id` string, uuid, required

## Query parameters

- `phone` string

## Response `200`

Successful Response

- CallbackHoursResponse: Whether a ticket's callback may be dialled NOW, asked BEFORE dialling. `ok` true: go ahead. `ok` false: the pop-up's facts -- same fields as `OutsideCallingHoursBody`, so the browser draws one dialog for both.
  - `ok` boolean, required
  - `detail` string, nullable
  - `next_allowed_at` string, nullable
  - `customer_zone` string, nullable

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