phone.emergency
How the shop's voice agent handles emergency calls, with suggested trigger words. Owner or office.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/phone/emergency |
| MCP tool | phone_emergency |
| Writes | no |
| Area | Shop |
When to use it
How the shop's voice agent handles emergency calls, with suggested trigger words. Owner or office.
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
| Field | Type | Required |
|---|
shop_id | string (uuid) | yes |
Example
GET https://doingwork.work/v1/phone/emergency?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
on | boolean | yes |
words | array | yes |
suggested_words | array | yes |
transfer | boolean | yes |
text_alert | boolean | yes |
on_call_phone | ['string', 'null'] | yes |
{
"on": true,
"words": [
"..."
],
"suggested_words": [
"..."
],
"transfer": true,
"text_alert": true,
"on_call_phone": "..."
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |