HostingDelivery

Get TraceMail dashboard

POST/api/delivery/tracemail/dashboard

Returns dashboard metrics, top accounts and alert groups for TraceMail.

X-Api-Token<token>

API token used to authenticate requests.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

account?string

Delivery account id to filter dashboard data.

domain?string

Delivery domain name to filter dashboard data.

timezone?string

Timezone used to aggregate dashboard data.

daily_activity?object
Fields: object
start_date?string

Daily activity start date.

end_date?string

Daily activity end date.

audience?string

Daily activity audience filter.

  • all = include every value.
  • active = value active.
  • top = value top.
Values all | active | top
traffic?string

Daily activity traffic filter.

  • transactional = transactional SMTP/API sending.
  • marketing = value marketing.
  • mixed = value mixed.
Values transactional | marketing | mixed
top_accounts?object
Fields: object
start_date?string

Top accounts start date.

end_date?string

Top accounts end date.

limit?integer

Top accounts limit.

Format int32
top5?object
Fields: object
start_date?string

Top accounts start date.

end_date?string

Top accounts end date.

limit?integer

Top accounts limit.

Format int32
overview?object
Fields: object
start_date?string

Overview start date.

end_date?string

Overview end date.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/delivery/tracemail/dashboard" \  -H "X-Api-Token: YOUR_API_TOKEN" \  -H "Accept: application/json" \  -H "Content-Type: application/json" \  -d '{}'
{  "resources": [    {      "timezone": "string",      "top_accounts_by_delivery_account": "string",      "top5_by_delivery_account": "string",      "daily_activity": "string",      "status_groups": "string",      "overview": "string"    }  ],  "pagination": {}}