Comment on page
SparkPost.GetMetrics
Returns a table of available metrics from the SparkPost API v1
function (DaysOffset
as number,MetricsColumns
as text,path
as text) as table
This function can be used to pull specific metrics for a period of days at an hour-by-hour granularity. The function automatically handles the paging of data.
Accessing data
Source = SparkPost.GetMetrics(3, "count_sent,count_bounce", "metrics/deliverability")
table
Last modified 5yr ago