---
title: "Update to Webcast Metrics API"
slug: "update-to-webcast-metrics-api"
updated: 2026-01-15T17:56:33Z
published: 2026-01-15T17:56:33Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.tritondigital.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update to Webcast Metrics API

As of December 22, 2025, Triton Digital has updated the API for Webcast Metrics (WCM).

To see full details in the *Webcast Metrics API User Guide*, please [contact Triton](https://help.tritondigital.com/contact-support).

## Authentication

Authenticate with an authorization token only. You can create an authorization token with the [Triton Login API](https://login.tritondigital.com/docs).

To create a token, use the API user name and password that was provided to you by your Triton Digital Client Relations Manager.

## Average Time Spent Listening

When Average Time Spent Listening (`atsl`) is not calculated, its value is now null, not NaN.

The responses to these endpoints include the `atsl` member:

- `/audience/{broadcasterEntityType}/{broadcasterEntityID}/{audienceMetricsType}`
- `/audience/{broadcasterEntityType}/{broadcasterEntityID}/hours`

## Error Output

Error output has changed. Along with more details, `"errorCode"` has been replaced with a boolean member, `"isValid"`.

Example:

```json
{
    "isValid": false,
    "message": "publisher 54546 was not found.",
    "details": [],
    "stack": []
}
```

## Changes to Parameters in Audience Endpoints

The `/audience` endpoints have these changes:

- The parameters `platformID` and `broadcasterEntityID` are now `platformId` and `broadcasterEntityId`, respectively.
- The parameters `platformId` and `datepart` are now required, they no longer have a default `ALL` value. To keep the previous default behavior, requests that require these parameters must now add `&amp;platformId=ALL&amp;datepart=ALL`.
