Campaigns

List a campaign's recipients

Changed on

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).

get/v1/campaigns/{id}/recipients

Request

  • Base URL
    https://api.mystars.tg
  • Auth
    API key in header X-Api-Key

Path parameters

idstring uuid required

The campaign id (UUID, also the on-chain payment memo).

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.

reasonstring

A validation or delivery reason, for example not_found.

limitinteger
cursorstring

Opaque cursor from a previous page's next_cursor.

Response

A page of recipients.

campaign_idstring uuid required
next_cursorstring nullable required

Changes