Skip to main content
Raffles let customers spend points on entries for a prize draw. The full lifecycle runs through the API:
Two things the platform handles for you:
  • The draw is automatic and fair. When the raffle ends — at ends_at, or immediately when you call the end endpoint — Rigaly draws one provisional winner per slot (distinct customers). You never pick the initial winners by hand; you review the draw.
  • Cancelling refunds everyone. POST /raffles/{id}/cancel returns all entry points to participants.

1. Create the raffle

Want artwork? Attach an image with POST /raffles/{id}/image — see the images guide.

2. Manage while it runs

3. End it — the draw happens automatically

Let the raffle reach ends_at (Rigaly ends it and draws on schedule), or close it early:
Either way, provisional winners are drawn immediately — one distinct customer per slot.

4. Review the winners

Not happy with a draw? Before confirming you can:

5. Confirm — winners are notified

This completes the raffle and notifies every winner in the app. Done!
If a confirmed winner never shows up to claim the prize: POST /winners/{slot}/replace forfeits them and draws a provisional replacement, then POST /winners/{slot}/confirm locks in the new winner.

Prefer to just ask an AI?

With the AI connector: “Start a raffle for an espresso machine, 200 points per entry, ends August 31st”“End the raffle and show me the winners”“Confirm the winners.”