Aggregate

Get statistics

Use this method to get email statistics.

GEThttps://api.emaillabs.io/v2.1/email/aggregate
Query parameters
Response

Request was successfully processed

Body
metaMetaObject (object)

Additional data

Request
const response = await fetch('https://api.emaillabs.io/v2.1/email/aggregate', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "meta": {
    "numberOfErrors": 0,
    "numberOfData": 1,
    "status": 200,
    "uniqId": "00d928f759"
  }
}
var client = new RestClient("https://api.messageflow.com/v2.1/email/aggregate?smtpAccount=SOME_STRING_VALUE&dateFrom=SOME_STRING_VALUE&dateTo=SOME_STRING_VALUE&withTags=SOME_INTEGER_VALUE");
var request = new RestRequest(Method.GET);
request.AddHeader("authorization", "REPLACE_KEY_VALUE");
request.AddHeader("application-key", "REPLACE_KEY_VALUE");
IRestResponse response = client.Execute(request);

Last updated