Voice Token
Mint a short-lived Twilio Voice access token for the browser softphone.
EITHER PERMISSION that can start a browser leg: escalate_dispatch (police) or notify_property_owner (the property contact). read_only holds neither and is refused, which is pinned by test.
Widening WHO may hold a token does not widen what can be dialled with one: the grant is outgoing-only and bound to our TwiML App, and build_softphone_twiml still enforces the per-row identity, one-shot and freshness checks before any number is dialled, and re-reads the operator's permissions against the reservation's target_type — and the reservation's event against their current tenant scope — at that moment, so a token held on one permission cannot consume a reservation that needs the other, and a revoked tenant grant cannot be dialled through. 503 until browser calling is configured AND the dispatch launch gate is on.
Request
- Base URLhttps://api.verdun.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.verdun.ai/telephony/voice-token
- AuthHTTP bearer
Response
Successful Response
Example response
{
"token": "eyJhbGciOi...voice",
"identity": "3fa85f6457174562b3fc2c963f66afa6",
"ttl_seconds": 3600,
"incoming_allowed": true
}Changes
No recorded changes to this operation across all 2 revisions of this API.