Skip to main content
GET
Get call duration statistics

Authorizations

Authorization
string
header
required

Enter your API Key (sk_live_xxx or sk_test_xxx)

Query Parameters

sequenceId
string

Filter by sequence ID

userMembershipId
string

Filter by user membership ID

callType
enum<string>
default:all

Filter by call type. "all" includes sequence + direct calls.

Available options:
all,
sequence,
direct,
inbound,
outbound
granularity
enum<string>
default:none

Time granularity for grouping results

Available options:
hour,
day,
week,
month,
none
startDate
string

Start date (ISO format)

endDate
string

End date (ISO format)

workspaceId
string

Filter stats by a single workspace ID (must be within the API key scope). Stats endpoints accept exactly one workspace, unlike list endpoints which support a comma-separated workspaceIds filter. Replaces the deprecated teamId.

teamId
string

Deprecated — use workspaceId instead. When set, the response includes a Deprecation: true header.

Response

Call duration statistics

data
object[]
required