Private preview of the new site. Not live.

phone.threads

Text threads with customers, newest first. Owner and office see all; a field worker sees threads for jobs they are assigned to.

WhoAgents can call this
RESTGET /v1/phone/threads
MCP toolphone_threads
Writesno
AreaShop

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.

Input

FieldTypeRequired
shop_idstring (uuid)yes
limitintegerno

Example

GET https://doingwork.work/v1/phone/threads?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
dataarrayyes
data[].idstring (uuid)yes
data[].contactstringyes
data[].customer_id['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']yes
data[].job_id['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']yes
data[].assigned_tostringyes
data[].assigned_to_mebooleanyes
data[].sends_pausedbooleanyes
data[].paused_reason['string', 'null']yes
data[].last_message_atstring (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

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.