Headers
Your community API key.
Body
application/json
ID of a Discord channel in your server where the airdrop should be created.
Number of milliseconds before the airdrop ends and the prize is distributed. Cannot be longer than 30 days.
Maximum number of entries.
Required range:
1 <= x <= 500
Note that will be shown on the airdrop message.
Maximum length:
256
Roles that are allowed to enter the airdrop.
Maximum length:
16
ID of a Discord role.
Users that are allowed to enter the airdrop.
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
Airdrop has been created successfully