---
title: "Retrieve emails and tickets"
method: GET
path: "/v1/tickets/summary/emails"
tags: ["tickets-summary"]
---

# Retrieve emails and tickets

`GET /v1/tickets/summary/emails`

Retrieve a summary of emails and associated tickets for a workspace. The summary includes the total number of open tickets, closed tickets, emails with associated tickets, and emails with no associated tickets.

## Query parameters

- `resolvedFromTime` integer

## Headers

- `Workspace` string, required

## Response `200`

Success

- EmailsSummaryResponse
  - `openTickets` TicketCountResponse[] — The number of open tickets, grouped by the ticket trigger. — unresolved $ref
  - `closedTickets` TicketCountResponse[] — The number of closed tickets, grouped by the ticket trigger; includes all email triggers. — unresolved $ref
  - `topDomains` DomainResponse[] — A list of up to five domains from which the largest amount of suspicious emails were sent.
    - `name` string — The domain name from which suspicious emails were sent.
    - `count` integer — The number of tickets generated by emails that were sent from this domain.
    - `percentage` number, float — The percentage of tickets generated due to emails coming from this domain out of the top five domains.
  - `emailsScanned` integer — The total number of emails that were scanned.

## Other responses

- `400` — Bad request, validation error
- `401` — Unauthorized request
- `403` — Access forbidden
- `429` — Too Many Requests
- `500` — Internal server error

---

[API](https://skmtc.dev/coro/apis/coro-cybersecurity-public-api.md) · [All operations](https://skmtc.dev/coro/apis/coro-cybersecurity-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coro/coro-cybersecurity-public-api/revisions/b635522b2393/schema)
