--- title: phone.calls | Doing Work API description: Recent calls to the shop number, newest first: who called, whether it was answered, went to voicemail or was missed, and the voicemail link. url: https://doingwork.work/docs/reference/phone-calls/ --- # 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. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/phone/calls` | | MCP tool | `phone_calls` | | Writes | no | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## 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 | Field | Type | Required | |---|---|---| | `shop_id` | string (uuid) | yes | | `limit` | integer | no | ## Example ```http GET https://doingwork.work/v1/phone/calls?shop_id=00000000-0000-4000-8000-000000000000 ``` ## Output | Field | Type | Always there | |---|---|---| | `data` | array | yes | | `data[].id` | string (uuid) | yes | | `data[].from` | string | yes | | `data[].outcome` | string | yes | | `data[].status` | string | yes | | `data[].duration_s` | ['integer', 'null'] | yes | | `data[].voicemail_url` | ['string', 'null'] | yes | | `data[].voicemail_seconds` | ['integer', 'null'] | yes | | `data[].voicemail_emailed` | boolean | yes | | `data[].started_at` | string (date-time) | yes | | `data[].ended_at` | ['string', 'null', ' ', '(', 'd', 'a', 't', 'e', '-', 't', 'i', 'm', 'e', ')'] | yes | ```json { "data": [ { "id": "00000000-0000-4000-8000-000000000000", "from": "...", "outcome": "...", "status": "...", "duration_s": "...", "voicemail_url": "...", "voicemail_seconds": "...", "voicemail_emailed": true, "started_at": "...", "ended_at": "..." } ] } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |