Fetch Entry Page Info API endpoint for Sweeppea. Retrieve entry page data for a given sweepstakes programmatically through the Sweeppea API.
GET /entrypage/{sweepstakes_id}
| Parameter | Type | Required | Description |
|---|---|---|---|
sweepstakes_id |
String | Yes | Unique identifier of the sweepstakes |
curl -X GET "https://api-v3.sweeppea.com/entrypage/{sweepstakes_id}" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"const response = await fetch('https://api-v3.sweeppea.com/entrypage/{sweepstakes_id}', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();
console.log(data);import requests
url = "https://api-v3.sweeppea.com/entrypage/{sweepstakes_id}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}
response = requests.get(url, headers=headers)
print(response.json())200 OK
{
"success": true,
"data": {},
"message": "Operation completed successfully"
}