---
title: "Get subscriber by ID"
method: GET
path: "/subscribers/{id}"
tags: ["subscribers"]
---

# Get subscriber by ID

`GET /subscribers/{id}`

Returns a single subscriber object

## Response `200`

OK

- Subscriber
  - `id` integer — The ID of the resource.
  - `created_at` string, date-time — The date and time when the resource was created.
  - `updated_at` string, date-time — The date and time when the resource was last updated.
  - `name` string — The name of the subscriber.
  - `email` string — The email of the subscriber.
  - `metadata` object — Metadata associated with the subscriber.
  - `blacklisted` boolean — Flag that indicates if the subscriber has been blacklisted (unsubscribed, marked email as spam, bounced).
  - `active` boolean — Flag that indicates if the subscriber is active or not (we send e-mails only to active subscribers).
  - `segments` Group[]
    - `id` integer — The ID of the resource.
    - `created_at` string, date-time — The date and time when the resource was created.
    - `updated_at` string, date-time — The date and time when the resource was last updated.
    - `name` string — The name of the group.
    - `subscribers_in_segment` integer — Number of subscribers inside the group.

## Other responses

- `401` — Unauthorized
- `404` — Not found
- `default` — Unexpected error

---

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