Skip to content

List Calls

This example assumes using Ultravox; is in scope and apiKey contains your Ultravox API key.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
using var client = new UltravoxClient(apiKey);

PaginatedCallList calls = await client.Calls.CallsListAsync();

foreach (var call in calls.Results)
{
    Console.WriteLine($"Call ID: {call.CallId}");
    Console.WriteLine($"  Created: {call.Created}");
    Console.WriteLine($"  Ended: {call.Ended}");
    Console.WriteLine();
}