Skip to main content
GET
/
v1
/
stats
/
hourly
Get hourly time-series statistics
curl --request GET \
  --url https://api.mail.gorillaa.one/v1/stats/hourly \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "period": {
      "from": "2023-11-07T05:31:56Z",
      "to": "2023-11-07T05:31:56Z"
    },
    "hourly": [
      {
        "hour": "<string>",
        "total": 123,
        "delivered": 123,
        "bounced": 123,
        "opens": 123,
        "clicks": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your Gorillaa Mail API key as a Bearer token.

Example: Authorization: Bearer grl_live_xxxxxxxxxxxx

Keys prefixed grl_test_ operate in test mode with reduced limits.

Query Parameters

start_date
string<date-time>
required

Start of date range (ISO 8601 datetime)

end_date
string<date-time>
required

End of date range (ISO 8601 datetime). Must be after start_date.

Response

Hourly time-series data

data
object
required