Open giveaway
POST
/api/giveaways/{id}/openOpen a giveaway for entries.
Needs the RunGiveaways permission.
AuthorizationBearer <token>
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
id*string
Format
uuidResponse Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/giveaways/497f6eca-6276-4993-bfeb-53cbbbba6f08/open"Empty
Preview giveaway rules POST
How many people match a rule tree right now, and the first page of them. Figures counted from presence reports are close rather than exact; `fromPolledData` says when that is so, and `closeCalls` counts the people near a threshold. A rule reaching further back than the facts Modbot still keeps comes back in `unanswerable` instead of an answer. Needs the `RunGiveaways` permission.
Close giveaway POST
Close a giveaway to entries. Needs the `RunGiveaways` permission.