myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

List voice calls

GET

/api/v1/ext/voice-agents/calls

Every AI call of a workspace, on every channel, newest first.

Auth: Bearer access_token
Scope: voice_agents.read

The lasting record of AI calls (*Place an AI call*, inbound answers, automation calls): who was called, on which line, how long, how it ended, and the turn and response-time metrics. Rows carry no transcript — *Get voice call* does. Test calls from the Voice Agents page are left out unless include_tests=1.

Parameters

NameInTypeRequiredDescription
workspace_id
query
number
yes
A workspace of the installer.
voice_agent_id
query
stringnoOne voice agent's calls.
contact_id
query
numbernoOne contact's calls.
q
query
stringnoPart of a contact name or number.
include_tests
query
booleanno1 = include test calls.
page
query
numbernoDefault 1.
limit
query
numberno1–100, default 25.

Responses

StatusWhen
200
OK
401
Missing or invalid token
403
Missing scope
404
Workspace does not exist or is not the installer's (same response for both)
Request
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/voice-agents/calls" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "data": [
    {
      "id": "vc_01HZX9A1B2",
      "voice_agent_id": "va_01HZX4Q8K2",
      "voice_agent_name": "Sales Voice",
      "voice_agent_deleted": false,
      "contact_id": "1234",
      "contact_name": "Ann Lee",
      "contact_phone": "+61412345678",
      "channel": "whatsapp",
      "direction": "outbound",
      "status": "ended",
      "is_test": false,
      "started_at": "2026-11-04T03:00:00+00:00",
      "ended_at": "2026-11-04T03:02:10+00:00",
      "duration_seconds": 130,
      "end_reason": "user_hangup",
      "turns": 9,
      "response_ms_p50": 820,
      "metrics": {
        "turns": 9,
        "response_ms": {
          "p50": 820,
          "p95": 1400
        }
      },
      "created_at": "2026-11-04T03:00:00+00:00"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 25,
    "max_limit": 100,
    "total": 1,
    "total_pages": 1
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Query parameters

A workspace of the installer.

One voice agent's calls.

One contact's calls.

Part of a contact name or number.

1 = include test calls.

Default 1.

1–100, default 25.

Request URL
GEThttps://backend.mysmsgateway.app/api/v1/ext/voice-agents/calls
Previous

« Set inbound voice agent

Next

Get voice call »