GET
/
v2
/
accounts
/
{account_id}
/
statistics
/
transactional
/
deliverability
Get Deliverability Statistics
curl --request GET \
  --url https://api.ahasend.com/v2/accounts/{account_id}/statistics/transactional/deliverability \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "time_bucket": "2023-11-07T05:31:56Z",
      "direction": "inbound",
      "sent": 123,
      "delivered": 123,
      "bounced": 123,
      "failed": 123,
      "suppressed": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

account_id
string<uuid>
required

Account ID

Query Parameters

from_date
string<date-time>

Filter statistics after this date (RFC3339 format)

to_date
string<date-time>

Filter statistics before this date (RFC3339 format)

sender_domain
string

Filter by sender domain

recipient_domain
string

Filter by recipient domain

tags
string

Filter by tags (comma-separated)

group_by
enum<string>
default:day

Group by time period

Available options:
hour,
day,
week,
month

Response

200
application/json

Deliverability statistics

The response is of type object.