---
title: "Count segment subscribers."
method: GET
path: "/segments/{segmentId}/count"
tags: ["Segments"]
---

# Count segment subscribers.

`GET /segments/{segmentId}/count`

## Request

- Base URL: `https://api.maildroppa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maildroppa.com/segments/{segmentId}/count`
- Auth: API key in header `X-API-Key`

Counts subscribers matching a stored segment expression.

## Path parameters

- `segmentId` string, uuid, required

## Response `200`

Segment subscriber count returned.

- SegmentCount: Number of subscribers matching a segment.
  - `subscriberCount` integer

## Other responses

- `401`: Not Authorized
- `403`: Not Allowed
- `404`: Segment not found.
- `428`: Accept the customer agreements in the app before using API keys.

---

[API](https://skmtc.dev/maildroppa/apis/maildroppa-api-beta.md) · [All operations](https://skmtc.dev/maildroppa/apis/maildroppa-api-beta/llms.txt) · [OpenAPI document](https://skmtc.dev/maildroppa/apis/maildroppa-api-beta/revisions/a9f5a3fd1fb0?raw)
