phone.threads
Text threads with customers, newest first. Owner and office see all; a field worker sees threads for jobs they are assigned to.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/phone/threads |
| MCP tool | phone_threads |
| Writes | no |
| Area | Shop |
When to use it
Text threads with customers, newest first. Owner and office see all; a field worker sees threads for jobs they are assigned to.
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 |
limit | integer | no |
Example
GET https://doingwork.work/v1/phone/threads?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
data | array | yes |
data[].id | string (uuid) | yes |
data[].contact | string | yes |
data[].customer_id | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | yes |
data[].job_id | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | yes |
data[].assigned_to | string | yes |
data[].assigned_to_me | boolean | yes |
data[].sends_paused | boolean | yes |
data[].paused_reason | ['string', 'null'] | yes |
data[].last_message_at | string (date-time) | yes |
{
"data": [
{
"id": "00000000-0000-4000-8000-000000000000",
"contact": "...",
"customer_id": "00000000-0000-4000-8000-000000000000",
"job_id": "00000000-0000-4000-8000-000000000000",
"assigned_to": "...",
"assigned_to_me": true,
"sends_paused": true,
"paused_reason": "...",
"last_message_at": "..."
}
]
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |