phone.twilioNumbers
The phone numbers in the shop's connected Twilio account, and whether each one already sends its calls or texts somewhere else.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/phone/twilio-numbers |
| MCP tool | phone_twilioNumbers |
| Writes | no |
| Area | Shop |
When to use it
The phone numbers in the shop's connected Twilio account, and whether each one already sends its calls or texts somewhere else.
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/twilio-numbers?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
data | array | yes |
data[].phone | string | yes |
data[].points_elsewhere | boolean | yes |
{
"data": [
{
"phone": "...",
"points_elsewhere": true
}
]
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |