Build powerful integrations with full programmatic control over giveaways, entries, participants, and analytics.
A simple request to list your giveaways. That is all it takes to get up and running.
curl -X GET \
https://sweepwidget.com/sw_api/v2/giveaways \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": [
{
"id": 12345,
"title": "Summer Giveaway",
"status": "active",
"entries": 1847,
"participants": 923
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 48
}
}
Everything you need to integrate giveaways into your platform.
Create, update, duplicate, and delete giveaways programmatically.
Track entries, manage participants, and monitor engagement in real time.
Access daily stats, geographic data, entry method breakdowns, and fraud reports.
Get real-time notifications when entries, completions, and milestones occur.
Configure IP checks, VPN blocking, email verification, and country restrictions.
Control participant access with email whitelists and value-based blacklists.
74 endpoints organized into intuitive categories covering every aspect of your giveaways.
Choose the authentication method that works best for your integration.
Authorization: Bearer YOUR_API_KEY
Pass your API key in the Authorization header. This is the most secure and recommended approach.
X-API-Key: YOUR_API_KEY
An alternative header-based approach. Useful when the Authorization header is already in use.
?api_key=YOUR_API_KEY
Append your key as a query parameter. Best for quick testing. Not recommended for production use.
Available exclusively on the Enterprise plan.