CM.com · Schema

Conversation

Details of a conversation.

CompanyCPaaSMessagingSMSVoicePaymentsVerificationTicketing

Properties

Name Type Description
answeredOn stringnull The timestamp the call was answered.
apiAccount stringnull API account user name. (if applicable)
calleeDestination stringnull The callee's destination.
calleeDestinationId stringnull The callee's destination ID.
calleeId stringnull The phone number identifying the callee.
callerId stringnull The phone number identifying the caller.
callId stringnull The unique call ID identifying the call.
cost numbernull Call cost, precision of 4.
currency stringnull Currency of the call cost.
direction stringnull The direction of the call.
durationInSeconds integer The duration in seconds.
externalReference stringnull Unique identifier of the call. (if applicable)
finishedOn string The timestamp the call was finished.
isAnonymous boolean Whether the call was anonymous.
sipAccount stringnull SIP Account user name. (if applicable)
customSipAccountName stringnull Custom name of the SIP Account. (if applicable)
startedOn string The timestamp the call started.
surchargeAmount numbernull The surcharge amount, precision of 4. (if applicable)
surchargeType stringnull Can be either 'penalty surcharge' or 'Non-EER to EER'. (if applicable)
surchargeUnitPrice numbernull Surcharge unit price per minute, precision of 4. (if applicable)
unitPrice numbernull Call cost per minute, precision of 4.
voiceAccountId stringnull The unique identifier of the Voice Account.
voiceAccountName stringnull The name of the Voice Account.
customResellerPrice numbernull Custom reseller price of the call, precision of 4. (only included for Voice Resellers)
customResellerSetupCost numbernull Custom reseller setup cost of the call, precision of 4 (if applicable). (only included for Voice Resellers)
customResellerUnitPrice numbernull Custom reseller unit price per minute, precision of 4. (only included for Voice Resellers)
View JSON Schema on GitHub

JSON Schema

cm-com-api-conversation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-api-conversation-schema.json",
  "title": "Conversation",
  "description": "Details of a conversation.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-voice-cdr-v1-openapi.yml#/components/schemas/ApiConversation",
  "type": "object",
  "properties": {
    "answeredOn": {
      "type": [
        "string",
        "null"
      ],
      "description": "The timestamp the call was answered.",
      "format": "date-time"
    },
    "apiAccount": {
      "type": [
        "string",
        "null"
      ],
      "description": "API account user name. (if applicable)"
    },
    "calleeDestination": {
      "type": [
        "string",
        "null"
      ],
      "description": "The callee's destination."
    },
    "calleeDestinationId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The callee's destination ID.",
      "format": "uuid"
    },
    "calleeId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The phone number identifying the callee."
    },
    "callerId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The phone number identifying the caller."
    },
    "callId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The unique call ID identifying the call."
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Call cost, precision of 4.",
      "format": "double"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "Currency of the call cost."
    },
    "direction": {
      "type": [
        "string",
        "null"
      ],
      "description": "The direction of the call."
    },
    "durationInSeconds": {
      "type": "integer",
      "description": "The duration in seconds.",
      "format": "int32"
    },
    "externalReference": {
      "type": [
        "string",
        "null"
      ],
      "description": "Unique identifier of the call. (if applicable)"
    },
    "finishedOn": {
      "type": "string",
      "description": "The timestamp the call was finished.",
      "format": "date-time"
    },
    "isAnonymous": {
      "type": "boolean",
      "description": "Whether the call was anonymous."
    },
    "sipAccount": {
      "type": [
        "string",
        "null"
      ],
      "description": "SIP Account user name. (if applicable)"
    },
    "customSipAccountName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Custom name of the SIP Account. (if applicable)"
    },
    "startedOn": {
      "type": "string",
      "description": "The timestamp the call started.",
      "format": "date-time"
    },
    "surchargeAmount": {
      "type": [
        "number",
        "null"
      ],
      "description": "The surcharge amount, precision of 4. (if applicable)",
      "format": "double"
    },
    "surchargeType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Can be either 'penalty surcharge' or 'Non-EER to EER'. (if applicable)"
    },
    "surchargeUnitPrice": {
      "type": [
        "number",
        "null"
      ],
      "description": "Surcharge unit price per minute, precision of 4. (if applicable)",
      "format": "double"
    },
    "unitPrice": {
      "type": [
        "number",
        "null"
      ],
      "description": "Call cost per minute, precision of 4.",
      "format": "double"
    },
    "voiceAccountId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The unique identifier of the Voice Account."
    },
    "voiceAccountName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name of the Voice Account."
    },
    "customResellerPrice": {
      "type": [
        "number",
        "null"
      ],
      "description": "Custom reseller price of the call, precision of 4. (only included for Voice Resellers)",
      "format": "double"
    },
    "customResellerSetupCost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Custom reseller setup cost of the call, precision of 4 (if applicable). (only included for Voice Resellers)",
      "format": "double"
    },
    "customResellerUnitPrice": {
      "type": [
        "number",
        "null"
      ],
      "description": "Custom reseller unit price per minute, precision of 4. (only included for Voice Resellers)",
      "format": "double"
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cm-com-api-conversation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.