> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prizerail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Status and lifecycle

> How a campaign moves from draft to active, paused and ended.

A campaign's status moves one way:

```
draft ──► active ◄──► paused
  │          │           │
  └──────► ended ◄───────┘
```

| Status | Draws | Public page and proofs |
| - | - | - |
| `draft` | None | Hidden |
| `active` | On the schedule | Shown |
| `paused` | None | Shown |
| `ended` | None. Final. | Shown |

## Rules

* **Nothing goes back to draft.** A campaign that has run has published its proofs, and a draft's are hidden.
* **Ended is final.** To run again, create a new campaign.
* **Activating needs a payout wallet,** and once a campaign has started the wallet can be changed but not removed.

## Pausing

* Draws stop, and the guarantee period clock stops with them.
* Upcoming drawings are removed, including any winners already sent for them. On resume, new drawings are made, so send those lists again. A pull campaign fetches them again on its own.
* A list already past its cutoff when you pause still draws.

## Ending

* Upcoming drawings are removed, and the end date is set to now.
* Payouts and guarantee checks still finish.
* Sending winners returns `409 campaign_ended`.

## End dates

A campaign with an end date stops scheduling draws after it. Once the end date has passed and every drawing is drawn, the campaign ends on its own. Moving the end date earlier removes the drawings after it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.