GET /{mydomain}/stats/total
Returns total stats for a given domain.
| Parameter | Description |
|---|---|
| event | The type of the event. For a complete list of all events written to the log see the Event Types table below. (Required) |
| start | The starting time. Should be in RFC 2822#page-14 or unix epoch format. Default: 7 days from the current time. |
| end | The ending date. Should be in RFC 2822#page-14 or unix epoch format. Default: current time. |
| resolution | Can be either hour, day or month. Default: day |
| duration | Period of time with resoluton encoded. See Duration for more info. If provided, overwrites the start date. |
Servers
- https://api.mailgun.net
- https://api.eu.mailgun.net
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
mydomain |
String | Yes |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
resolution |
String | No |
Can be either hour, day or month. Default: day |
end |
String | No |
The ending date. Should be in RFC 2822#page-14 or unix epoch format. Default: current time. |
event |
String | No |
The type of the event. For a complete list of all events written to the log see the Event Types table below. (Required) |
start |
String | No |
The starting time. Should be in RFC 2822#page-14 or unix epoch format. Default: 7 days from the current time. |
duration |
String | No |
Period of time with resoluton encoded. See Duration for more info. If provided, overwrites the start date. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.