The URL
The URL can name the drawing with placeholders, filled in for each draw:
For example
https://api.acme.com/prizerail/{date}.
The URL must be https on a public host, with no redirects. Prizerail sends Accept: application/json and gives up after 8 seconds.
The response
The same body the send winners endpoint takes, with the same rules: exactly the expected count, no repeats, names and avatars optional.When it’s fetched
- Every 5 minutes in the 2 hours before each cutoff.
- Until your draw has happened, return
404, an empty list, or nowinnerskey. Prizerail tries again. - Nothing is stored until the full list is there.
- If the list changes before the cutoff, the newer one replaces the earlier one.
- At the cutoff the list locks, exactly as if it had been posted.

