---
title: "Count messages for an email inbox"
method: GET
path: "/addresses/{email}/message-count"
tags: ["Messages"]
---

# Count messages for an email inbox

`GET /addresses/{email}/message-count`

Get the number of messages for an email inbox address.
**It is NOT necessary to reserve the address** before using this route. Whether it is an address on a custom domain, or a public domain, or mailsac.com, the mail can be counted as long as nobody else owns it.

## Response `200`

Email messages

- object
  - `count` number
  - `inbox` string

## Other responses

- `401` — Not authorized. You may need to log in first.
- `403` — Requested email address is owned by another user

---

[API](https://skmtc.net/mailsac/apis/mailsac-api-specification.md) · [All operations](https://skmtc.net/mailsac/apis/mailsac-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mailsac/mailsac-api-specification/versions/5f8b55c76229/schema)
