Private preview of the new site. Not live.

phone.calls

Recent calls to the shop number, newest first: who called, whether it was answered, went to voicemail or was missed, and the voicemail link.

WhoAgents can call this
RESTGET /v1/phone/calls
MCP toolphone_calls
Writesno
AreaShop

When to use it

Recent calls to the shop number, newest first: who called, whether it was answered, went to voicemail or was missed, and the voicemail link.

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/calls?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
dataarrayyes
data[].idstring (uuid)yes
data[].fromstringyes
data[].outcomestringyes
data[].statusstringyes
data[].duration_s['integer', 'null']yes
data[].voicemail_url['string', 'null']yes
data[].voicemail_seconds['integer', 'null']yes
data[].voicemail_emailedbooleanyes
data[].started_atstring (date-time)yes
data[].ended_at['string', 'null', ' ', '(', 'd', 'a', 't', 'e', '-', 't', 'i', 'm', 'e', ')']yes
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000000000",
      "from": "...",
      "outcome": "...",
      "status": "...",
      "duration_s": "...",
      "voicemail_url": "...",
      "voicemail_seconds": "...",
      "voicemail_emailed": true,
      "started_at": "...",
      "ended_at": "..."
    }
  ]
}

Errors

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