List Active Giveaways
GET /giveaways
Retrieves all currently active public giveaways.
Giveaway History
GET /giveaways/history
Retrieves past (ended) public giveaways.
My Active Giveaways
GET /giveaways/my
Retrieves active giveaways created by the current user.
connected
Response
My Giveaway History
GET /giveaways/history/my
Retrieves past giveaways created by the current user.
connected
Response
Get Giveaway Details
GET /giveaways/details/:url
Retrieves detailed information about a specific giveaway, including participants and items.
The unique URL identifier of the giveaway.
Get Giveaway Comments
GET /giveaways/comments/:url
Retrieves paginated comments for a specific giveaway.
The unique URL identifier of the giveaway.
Page number (0-indexed). 10 comments per page.
Get Joined List
GET /giveaways/joinedList
Retrieves a list of giveaways the current user has joined.
connected
Response
Check If User Joined
GET /giveaways/isIn/:url
Checks if the current user has joined a specific giveaway.
connected
Path Parameters
The unique URL identifier of the giveaway.
Join Giveaway
POST /giveaways/join/:url
Joins a specific giveaway. Validates entry limits and activity status.
connected
Path Parameters
The unique URL identifier of the giveaway.
| Status | Message |
|---|---|
error | Cannot join this raffle |
error | Raffle url is required |
Leave Giveaway
POST /giveaways/leave/:url
Leaves a specific giveaway the user has previously joined.
connected
Path Parameters
The unique URL identifier of the giveaway.
Add Comment
POST /giveaways/comment
Adds a comment to a giveaway. Rate limited to one comment per 10 minutes.
connected
Body Parameters
The unique URL identifier of the giveaway.
The comment text (max 300 characters).
| Status | Message |
|---|---|
error | Comment cannot be empty |
error | Comment is too long (maximum 300 characters) |
error | You can only post one comment every 10 minutes |
Delete Comment (Admin)
POST /giveaways/deleteComment/:id
Deletes a comment from a giveaway. Admin only.
connected, admin
Path Parameters
The comment ID to delete.
Create Giveaway
POST /giveaways/create
Creates a new giveaway. Rate limited to 1 giveaway per hour. Transfers selected items from the user’s inventory to the giveaway pool.
connected
Body Parameters
Name of the giveaway.
Maximum number of participants. Minimum 100 for public, minimum 2 for private giveaways.
"0" for public, "1" for private.Description shown before entering the giveaway.
Description shown after entering the giveaway.
Duration of the giveaway.
Array of item IDs from the user’s inventory to include (max 50 items).
Whether Discord verification is required to join.
| Status | Message |
|---|---|
error | Rate limit exceeded. Maximum 1 giveaway per hour |
error | Invalid parameters |
error | Invalid time duration |
error | Items are required |
error | 2FA required |
error | Items not found or too many items (max 50) |
error | Minimum 100 entries required for public giveaways |
error | Minimum 2 entries required for private giveaways |