API Reference
Contests
List and retrieve contest details
Contests
Manage and retrieve information about your contests.
List Contests
/api/v1/contestsReturns a paginated-style list of campaigns belonging to the team associated with your API key. Tool contests (content gates and instant win games) are excluded by default.
Query Parameters
toolTypestring optional Filter by tool type. Omit to return campaigns only (`toolType: null`). Use `content_gate` or `instant_win` to list those tools instead.
Request
curl -X GET https://blitzrocket.com/api/v1/contests \
-H "x-api-key: your_api_key_here"
Response
{
"success": true,
"data": [
{
"id": "clx1abc123def456",
"title": "Summer Giveaway 2025",
"description": "Win amazing prizes this summer!",
"status": "active",
"startDate": "2025-06-01T00:00:00.000Z",
"endDate": "2025-08-31T23:59:59.000Z",
"isEvergreen": false,
"mode": "giveaway",
"slug": "summer-giveaway-2025",
"entriesCount": 1523
},
{
"id": "clx2def456ghi789",
"title": "Product Launch Contest",
"description": null,
"status": "draft",
"startDate": null,
"endDate": null,
"isEvergreen": true,
"mode": "leaderboard",
"slug": "product-launch",
"entriesCount": 0
}
]
}
Response Fields
idstringUnique identifier for the contest
titlestringThe contest title
descriptionstring | nullContest description text
statusstringCurrent status: draft, active, ended, or paused
startDatestring | nullISO 8601 start date, null if not set
endDatestring | nullISO 8601 end date, null if not set
isEvergreenbooleanWhether the contest runs indefinitely
modestringContest mode: giveaway, leaderboard, or waitlist
slugstringURL-friendly unique identifier
entriesCountnumberTotal number of entries in the contest
Get Contest
/api/v1/contests/:contestIdRetrieve detailed information about a specific contest.
Path Parameters
contestIdstring required The unique contest identifier
Request
curl -X GET https://blitzrocket.com/api/v1/contests/clx1abc123def456 \
-H "x-api-key: your_api_key_here"
Response
{
"success": true,
"data": {
"id": "clx1abc123def456",
"title": "Summer Giveaway 2025",
"description": "Win amazing prizes this summer!",
"status": "active",
"startDate": "2025-06-01T00:00:00.000Z",
"endDate": "2025-08-31T23:59:59.000Z",
"isEvergreen": false,
"mode": "giveaway",
"slug": "summer-giveaway-2025",
"entriesCount": 1523,
"viewsCount": 12847
}
}
Error Responses
Common error responses for this endpoint.
| Status | Error | Description |
|---|---|---|
400 | Missing contestId | The contestId path parameter is required |
401 | Invalid API key | API key is missing or invalid |
404 | Contest not found | No contest exists with the given ID |