Voice Logs
Get voice log
Find a log by ID.
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}
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
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
}