Headers
Your community API key.
Body
application/json
ID of a Discord channel in your server where the raffle should be created.
Number of milliseconds before the raffle ends and the prize is distributed. Cannot be longer than 30 days.
Maximum number of entries. Must be an integer between 1 and 500.
Required range:
1 <= x <= 500
Maximum number of winners.
Required range:
1 <= x <= 100
Note that will be shown on the raffle message.
Maximum length:
256
Roles that are allowed to enter the raffle.
Maximum length:
16
ID of a Discord role.
Users that are allowed to enter the raffle.
Maximum length:
16
ID of a Discord user.
Roles that are forbidden from entering the airdrop.
Maximum length:
16
ID of a Discord role.
Users that are forbidden from entering the airdrop.
Maximum length:
16
ID of a Discord user.
Response
201
Raffle has been created successfully