Timestamps
Timestamps in responses are ISO 8601 strings in UTC with millisecond precision:Z or an explicit offset.
Durations
Call durations are in milliseconds. Fields ending inMs are milliseconds:
Fields in other units
The unit is part of every field name except for two speech-analysis fields (noted below). Don’t assume milliseconds for these:Money
Wallet amounts (for exampleamountMicro, balanceAfter) are strings in micro-units of the currency, so they
keep full precision. Parse them as decimals or big integers, not floats.
Campaign time zones and calling windows
timezoneis an IANA time zone name such asAsia/KolkataorAmerica/New_York. When it is not set, campaigns useAsia/Kolkata.dailyWindowStartanddailyWindowEndare local times inHH:MMformat in the campaign’s time zone. The start is inclusive and the end exclusive. Without them, calls are placed between 09:00 and 21:00 local time.- Voice calls are placed only between 09:00 and 21:00 local time, even if the window you set is wider, unless Pineyard has agreed a different range for your workspace.
- Windows cannot cross midnight. A start at or after the end means the window is closed.
dialDayslists the allowed weekdays,0= Sunday through6= Saturday, in the campaign’s time zone.scheduledStartAtandscheduledEndAtare absolute ISO 8601 timestamps.
Date filters and reporting days
- Date-range filters (
from,to) take ISO 8601 timestamps. OnGET /callsboth ends are inclusive. - Preset periods such as
todayorlast_7_days(call exports, wallet ledger), thetodayanalytics filter and daily analytics buckets use India Standard Time (Asia/Kolkata) calendar days. GET /analytics/heatmapaccepts atzparameter (defaultUTC) to bucket by hour in your time zone.

