get raffles
GET
/v1/raffles
raffle
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/raffles'
Response Response Example
{
"raffles": [
{
"id": 1,
"title": "Luxury Car Giveaway",
"statusText": "Open for reservations",
"slug": "luxury-car-giveaway",
"status": "ACTIVE",
"startsAt": "2025-02-14T18:54:03.613Z",
"quotaQuantity": 100,
"quotaPrice": "50",
"endsAt": "2025-02-21T18:54:03.613Z",
"freeCampaign": false,
"photoUrl": "https://example.com/photo.jpg",
"createdAt": "2025-02-14T18:54:03.615Z",
"privacy": "PUBLIC",
"showProgressBar": true,
"showPrices": true,
"isHighlighted": false,
"subtitle": "News!",
"certificateCode": null,
"_count": {
"luckyNumbers": 0
}
}
],
"count": 1,
"totalPages": 1
}
Request
Query Params
startDate
string <date>
optional
Example:
2024-12-24
endDate
string <date>
optional
Example:
2025-01-30
status
enum<string>
optional
Allowed values:
ACTIVEFINISHEDSOONFULLPAUSED
Example:
SOON
page
string
optional
Example:
1