Skip to main content

Get email campaign statistics

GET 

https://api.emelia.io/stats

Get email campaign statistics

Request

Query Parameters

    campaignId stringrequired

    Campaign ID

    detailed boolean

    Whether to include detailed statistics

    start date-time

    Start date for filtering statistics

    end date-time

    End date for filtering statistics

    providerId string

    Filter by email provider ID

Responses

Campaign statistics

Schema
    globalobject

    Global campaign statistics

    stepsarray

    Statistics broken down by campaign step

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: The API key to use for authentication.
You can find it in your [Emelia account](https://app.emelia.io/settings/api).
You just need to pass the API key in the Authorization header.
import http.client

conn = http.client.HTTPSConnection("api.emelia.io")
payload = ''
headers = {
'Accept': 'application/json',
'Authorization': '<Authorization>'
}
conn.request("GET", "/stats", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://api.emelia.io
Auth
Parameters
— queryrequired
— query
— query
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!