Voice Logs

Get voice log

Retrieves one historical voice activity record by log ID for reporting or troubleshooting a known call segment. This read-only endpoint does not retrieve or control a live call; use Send call commands for live control.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice.

Learn more about API scopes.

get/api/voice/logs/{id}

Request

  • Base URL
    https://{Your_Space_Name}.signalwire.com
  • URL
    https://{Your_Space_Name}.signalwire.com/api/voice/logs/{id}
  • Auth
    HTTP basic

Path parameters

idstring uuid required

Universal Unique Identifier.

Unique ID of the log. This is the segment_id you can find in Relay call details in your Dashboard UI or in return objects when using the SDK.

Response

Response model for voice log retrieve endpoint

OR
OR
OR
OR

Example response

{
  "from": "+12065551212",
  "to": "+12065553434",
  "charge": 0.01,
  "charge_details": [],
  "created_at": "2024-05-06T12:20:00Z",
  "duration": 9,
  "duration_ms": 9638,
  "billing_ms": 60000
}

Changes

No operation changes found yet. Some revisions have not been checked.