phone.voiceAi
The shop's voice AI setup: provider, SIP address, whether a webhook secret is set (never the secret), and the URLs to give the provider. Owner or office.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/phone/voice-ai |
| MCP tool | phone_voiceAi |
| Writes | no |
| Area | Shop |
When to use it
The shop's voice AI setup: provider, SIP address, whether a webhook secret is set (never the secret), and the URLs to give the provider. 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/voice-ai?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
set_up | boolean | yes |
provider | ['string', 'null'] | yes |
sip_uri | ['string', 'null'] | yes |
webhook_secret_set | boolean | yes |
share_job_status | boolean | yes |
post_call_webhook | ['string', 'null'] | yes |
tools_base | string | yes |
{
"set_up": true,
"provider": "...",
"sip_uri": "...",
"webhook_secret_set": true,
"share_job_status": true,
"post_call_webhook": "...",
"tools_base": "..."
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |