Documentation
Comms
comms.get_call
REST
ShippingPOST /api/v1/comms/get_callMCP tool
Livecomms.get_callExposed on: REST API · Shop MCP server · Claude connector · Dash (in-app copilot) · Zapier. Part of the Comms domain.
Operating contract
One call's own record: which way it went, which numbers, when it started and ended, how long it ran, who picked it up, and which of the four artefacts exist (recording, voicemail, transcript, AI recap).
THE ARTEFACTS ARE FLAGS, NOT CONTENT. has_recording true means audio exists and comms.get_call_recording will mint a link for it; it does not put the audio in this response. Same for the transcript and the AI recap. That separation is what lets a shop grant an integration the call LOG without granting it every word a customer said.
duration_seconds is the whole call. recording_duration_seconds is only the recorded part, which starts when somebody answers — they differ on a call that rang for twenty seconds first, and reporting one as the other overstates talk time.
conversation is the thread this call is filed into, for comms.list_messages. A call with conversation: null was never matched to a contact — comms.resolve_contact on its from number is how to find out who it was.
Who may call it
- Permission
calls.accessThe caller must hold Calls at the ACT level. A read-only dashboard grant on the same section is refused.- Plan
- Every planNo plan gate. Available on every Service VIN plan.
- Retries
naturalNaturally idempotent — running it twice leaves the same world as running it once. A retrying integration needs no key.- Rate class
readCounted against the read budget — the widest of the four.
Input
| Field | Type | Description |
|---|---|---|
| callrequired | stringuuid | The call's id, as returned by comms.list_calls or comms.list_missed_calls. |
Output
| Field | Type | Description |
|---|---|---|
| id | string | — |
| conversation | string | null | — |
| customer_id | string | null | — |
| direction | string | — |
| status | string | — |
| from | string | — |
| to | string | — |
| started_at | string | — |
| ended_at | string | null | — |
| duration_seconds | number | null | — |
| answered_by | string | null | — |
| has_recording | boolean | — |
| recording_duration_seconds | number | null | — |
| has_voicemail | boolean | — |
| voicemail_duration_seconds | number | null | — |
| has_transcript | boolean | — |
| has_ai_summary | boolean | — |
Examples
Built from this capability's own schema — required fields and the ones carrying a default, and nothing invented. Paste one and it validates.
export SERVICEVIN_API_KEY=svk_live_…
curl -X POST https://www.servicevin.com/api/v1/comms/get_call \
-H "Authorization: Bearer $SERVICEVIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"call":"…"}'const res = await fetch("https://www.servicevin.com/api/v1/comms/get_call", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SERVICEVIN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"call": "…"
}),
});
// Success and failure are both envelopes. Switch on error.code, never
// on error.message — the codes are stable, the messages are for people.
const payload = await res.json();
if (!res.ok) throw new Error(payload.error.code);
const data = payload.data;import os, requests
res = requests.post(
"https://www.servicevin.com/api/v1/comms/get_call",
headers={"Authorization": f"Bearer {os.environ['SERVICEVIN_API_KEY']}"},
json={
"call": "…"
},
timeout=30,
)
payload = res.json()
if not res.ok:
raise RuntimeError(payload["error"]["code"])
data = payload["data"]{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "comms.get_call",
"arguments": {
"call": "…"
}
}
}Refusals
The four gates run in this order on every surface, and the order is not arbitrary — see Authentication.
| Status | Code | When |
|---|---|---|
| 404 | not_found | The id is unknown, or the feature is not enabled for this account. Deliberately the same answer for both. |
| 403 | forbidden | This login does not hold calls.access. |
| 422 | validation_error | An argument was wrong. The message names the field. |
| 429 | rate_limited | Too many read calls. Back off and retry. |
| 500 | internal_error | Something failed on our side. Nothing was changed. |