Message delivery times

Message counts, grouped by seconds-in-flight (time elapsed between enqueing the message and it being delivered to its recipient).

Resource URL:

GET https://api.essential.to/v2/account/messages/analytics/seconds_in_flight

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

start_date
optional

Beginning time range for this query.

end_date
optional

Ending time range for this query.

carrier
optional

Filter by the Subscriber's Carrier.

Sample code:

curl -X GET \
     -u '[SID]:[TOKEN]' \
     'https://api.essential.to/v2/account/messages/analytics/seconds_in_flight'

# Sample response
{
  "0": 9760,
  "1": 23208,
  "2": 22741,
  "3": 9088,
  "4": 3963,
  "5": 1764,
  "6": 2045,
  "7": 4173,
  "8": 6621,
  "9": 8256,
  "10": 8030,
  "11": 6171,
  "12": 4361,
  "13": 3264,
  "14": 2803,
  "15": 2276,
  "16": 1890,

  ...
}
Python coming soon.
Node coming soon.