Private preview of the new site. Not live.

phone.outboundCalls

Recent AI call attempts for the shop, newest first: purpose, status, why it was refused, each check's result, and transcript_missing when a call reached the AI but no transcript came back (read it with the shop's provider). Owner or office.

WhoAgents can call this
RESTGET /v1/phone/ai-calls
MCP toolphone_outboundCalls
Writesno
AreaShop

When to use it

Recent AI call attempts for the shop, newest first: purpose, status, why it was refused, each check's result, and transcript_missing when a call reached the AI but no transcript came back (read it with the shop's provider). Owner or office.

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

Example

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

Output

FieldTypeAlways there
callsarrayyes
calls[].call_idstring (uuid)yes
calls[].job_idstring (uuid)yes
calls[].purposestringyes
calls[].statusstringyes
calls[].reason['string', 'null']yes
calls[].number['string', 'null']yes
calls[].gatesobjectyes
calls[].transcript_missingbooleanyes
calls[].created_atstring (date-time)yes
{
  "calls": [
    {
      "call_id": "00000000-0000-4000-8000-000000000000",
      "job_id": "00000000-0000-4000-8000-000000000000",
      "purpose": "...",
      "status": "...",
      "reason": "...",
      "number": "...",
      "gates": {},
      "transcript_missing": true,
      "created_at": "..."
    }
  ]
}

Errors

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