---
title: "List a campaign's recipients"
method: GET
path: "/v1/campaigns/{id}/recipients"
tags: ["Campaigns"]
---

# List a campaign's recipients

`GET /v1/campaigns/{id}/recipients`

## Request

- Base URL: `https://api.mystars.tg`
- URL: `https://api.mystars.tg/v1/campaigns/{id}/recipients`
- Auth: API key in header `X-Api-Key`

Every stored entry in submission order (`position`), with its validation
verdict and delivery status. Filter by `verdict`, `status` (delivery) or
`reason` (matches either the validation or the delivery reason). Usernames
read `null` once a finished campaign's recipient handles have been
anonymised (counts, verdicts and reasons stay).

## Path parameters

- `id` string, uuid, required

## Query parameters

- `verdict` 'pending' | 'ok' | 'unverified' | 'rejected': `pending` (not checked yet), `ok`, `unverified` (the check could not decide — billed, fail-open, re-checked live before sending) or `rejected` (never billed; see `validation_reason`).
- `status` 'pending' | 'excluded' | 'queued' | 'delivered' | 'failed' | 'skipped': `excluded` = rejected at validation (never billed). `queued` = being delivered. `delivered`, `failed` and `skipped` are final; the value of a `failed` or `skipped` recipient is returned at settlement. In a `draft` every row reads `pending`, rejected ones included (a re-validation can still clear some rejections); confirm turns rejected rows `excluded`. A campaign cancelled before payment ends with rejected rows `excluded` and the rest `skipped` (`campaign_cancelled`); an expired campaign that was never paid keeps its deliverable rows `pending`, meaning never sent and never billed.
- `reason` string
- `limit` integer
- `cursor` string

## Response `200`

A page of recipients.

- CampaignRecipientsPage
  - `campaign_id` string, uuid, required
  - `recipients` CampaignRecipient[], required
    - `position` integer, required: Submission order, from 1.
    - `username` string, nullable, required: The canonical handle; `null` after anonymisation.
    - `validation_verdict` 'pending' | 'ok' | 'unverified' | 'rejected', required: `pending` (not checked yet), `ok`, `unverified` (the check could not decide — billed, fail-open, re-checked live before sending) or `rejected` (never billed; see `validation_reason`).
    - `validation_reason` 'invalid_format' | 'duplicate' | 'duplicate_active_campaign' | 'opted_out' | 'recipient_frequency_capped' | 'not_found' | 'not_a_user' | 'bot' | 'ineligible' | 'already_subscribed' | 'gifts_disallowed' | 'limited_gifts_disallowed' | 'unlimited_gifts_disallowed' | 'unverified', nullable, required: Why a recipient will not be delivered (or could not be checked): - `invalid_format` — not a valid username (1–32 of `a-z`, `0-9`, `_` after lower-casing and stripping `@`). - `duplicate` — already on this list. - `duplicate_active_campaign` — another of your locked campaigns will deliver this recipient. - `recipient_frequency_capped` — one of your campaigns delivered this recipient recently. - `opted_out` — the recipient opted out of campaigns (checked at validation, at confirm and again just before sending). - `not_found` — no such Telegram user. - `not_a_user`, `bot` — the handle is a channel, group or bot (gift campaigns). - `ineligible` — Telegram refuses this item for the recipient. - `already_subscribed` — the recipient has an active Premium subscription. - `gifts_disallowed`, `limited_gifts_disallowed`, `unlimited_gifts_disallowed` — the recipient's privacy settings refuse this kind of gift. - `unverified` — the check could not decide; billed and re-checked live before sending.
    - `validated_at` string, date-time, nullable, required
    - `delivery_status` 'pending' | 'excluded' | 'queued' | 'delivered' | 'failed' | 'skipped', required: `excluded` = rejected at validation (never billed). `queued` = being delivered. `delivered`, `failed` and `skipped` are final; the value of a `failed` or `skipped` recipient is returned at settlement. In a `draft` every row reads `pending`, rejected ones included (a re-validation can still clear some rejections); confirm turns rejected rows `excluded`. A campaign cancelled before payment ends with rejected rows `excluded` and the rest `skipped` (`campaign_cancelled`); an expired campaign that was never paid keeps its deliverable rows `pending`, meaning never sent and never billed.
    - `delivery_reason` 'privacy_restricted' | 'recipient_unreachable' | 'gift_sold_out' | 'message_refused' | 'message_suppressed' | 'campaign_cancelled' | 'internal_error' | 'insufficient_payment' | 'duplicate_active_campaign' | 'recipient_frequency_capped' | 'not_found' | 'not_a_user' | 'bot' | 'ineligible' | 'already_subscribed' | 'opted_out' | 'gifts_disallowed' | 'limited_gifts_disallowed' | 'unlimited_gifts_disallowed', nullable, required: Why a deliverable recipient was not delivered, or how a delivery went: - `recipient_unreachable` — the recipient could not be reached (refused, privacy, or already reached by another campaign). - `gift_sold_out` — the gift sold out; the rest of the campaign is skipped and its value returned. - `message_refused` — delivered, but Telegram refused the comment, so the gift went without it. - `message_suppressed` — delivered without the comment after Telegram refused it three times in this campaign. - `campaign_cancelled` — not yet sent when the campaign was cancelled. - `insufficient_payment` — beyond the recipients the payment funded. - `internal_error` — a failure on our side. - `privacy_restricted` — `star_gift`: the recipient's privacy settings refused the gift when it was sent (skipped; its value is returned at settlement). - Any validation reason (for example `not_found`, `already_subscribed`, `recipient_frequency_capped`) when the live check just before sending refused the recipient, and `opted_out` when the recipient opted out after validation.
    - `order_id` string, uuid, nullable, required: The delivery order of a Stars or Premium recipient.
    - `delivered_at` string, date-time, nullable, required
  - `next_cursor` string, nullable, required

## Other responses

- `400`: Malformed request (`bad_request`): a missing or invalid field, header or query parameter (the `message` names it), a malformed `cursor`, a body that is not valid JSON, or a body nested deeper than 64 levels. Send integer query parameters as plain decimal digits: the pricing, order, giveaway and series routes refuse any other spelling (a sign, decimal point, exponent, hex prefix or surrounding spaces) with a `400` naming the parameter. Fix the request; retrying it unchanged gets the same answer.
- `401`: Missing or invalid `X-Api-Key`.
- `403`: The API key is valid, but the tenant is suspended (for example after `/api_revoke` — run `/api_rotate` in the bot to restore access) or banned, or the product (campaigns, giveaways) is not enabled for it. Products are enabled per tenant on request. A source address blocked at our edge gets `403 forbidden` with the message `source blocked`, whatever the key.
- `404`: No such resource for this tenant (another tenant's id is also `404`).
- `429`: A rate limit was reached (`rate_limited`). See **Rate limits** in the overview. Which `429`s carry headers: - **Per-minute buckets** — the general request budget, the order-lifecycle bucket, the pricing/recipient-check probe cap (60 req/min), the campaign bucket, and your giveaway read, write, quote and attestation buckets. Every answer metered by one carries `RateLimit-Policy`, `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset` (seconds); a `429` adds `Retry-After` (seconds). - **Caps, no `Retry-After`** — the daily intake cap and the daily order cap on `POST /v1/orders` (UTC day), the per-recipient guard on unfinished orders to one `@username`, and the cap on live campaigns. These `429`s carry no `Retry-After`, but they do carry the `RateLimit-*` headers of the per-minute bucket the request passed (often with `RateLimit-Remaining` above zero): branch on `Retry-After`, never on `RateLimit-Remaining`. Back off; the daily intake and order caps clear at the next UTC midnight. - **The daily budget of ineligible-recipient refusals** on `POST /v1/orders` — its `429` carries `Retry-After` and `error.retry_after`, both the seconds until 00:00 UTC, when the budget resets, plus the `RateLimit-*` headers of the order bucket it passed. `error.retry_after` is what sets it apart from the other `429`s. While the budget's places are held only by your own checks still running, the create answers a short `429` instead: `Retry-After` of a few seconds and no `error.retry_after` — retry after `Retry-After`. - **The giveaway quote budget shared by all tenants** — its `429` carries `Retry-After` (seconds until the shared budget reopens) and the `RateLimit-*` headers of your own quote bucket, never figures for the shared budget. - **Edge throttle** — a coarse per-IP throttle in front of the API answers the same envelope with `Retry-After: 1` and no `RateLimit-*` headers.

## Changes

- **2026-10-31** `9f589c4dd26b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api/changes/v1/campaigns/:id/recipients/get.md)

---

[API](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api.md) - [All operations](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mystars/apis/mystars-faas-fulfilment-api/revisions/b6cdc8aff8c2?raw)
