Close giveaway
POST
/api/giveaways/{id}/closeClose a giveaway to 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/close"Empty
Open giveaway POST
Open a giveaway for entries. Needs the `RunGiveaways` permission.
Draw giveaway POST
Draw a giveaway. Drawing again makes a new draw beside the old one. Freezes the entrant list with every weight, reveals the seed that was promised, and picks the winners from the two. The rules are checked again here, so somebody who qualified when they entered and does not now is shown as such rather than dropped. Needs the `RunGiveaways` permission.