Skip to main content
GET
/
v1
/
stats
Get aggregate email statistics
curl --request GET \
  --url https://api.mail.gorillaa.one/v1/stats \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "period": {
      "from": "2023-11-07T05:31:56Z",
      "to": "2023-11-07T05:31:56Z"
    },
    "stats": {
      "total": 123,
      "queued": 123,
      "sending": 123,
      "sent": 123,
      "delivered": 123,
      "bounced": 123,
      "failed": 123,
      "opens": 123,
      "clicks": 123,
      "deliveryRate": 50,
      "openRate": 50,
      "clickRate": 50,
      "bounceRate": 50
    }
  }
}

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.

domain_id
string<uuid>

Filter by specific domain UUID

Response

Aggregate statistics

data
object
required