Fetch Entry Page Info
GET
https://api-v3.sweeppea.com/api/v3/entrypage/{sweepstakes_id}
Description
This endpoint allows you to fetch entry page info. Use this to manage your entry page data programmatically through the Sweeppea API.
Code Examples
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())
Response
{
"success": true,
"data": {},
"message": "Operation completed successfully"
}