Archive Sweepstakes

Archive Sweepstakes API endpoint for Sweeppea. POST /sweepstakes/{id}/archive. Complete documentation with code examples in cURL, JavaScript, and Python.

POST /api/v3/sweepstakes/{id}/archive

Description

This endpoint allows you to archive sweepstakes. Use this to manage your sweepstakes data programmatically through the Sweeppea API.

Code Examples

curl -X POST "https://api-v3.sweeppea.com/sweepstakes/{id}/archive" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "key": "value", "name": "example" }'

Response

200 OK

{ "success": true, "data": {}, "message": "Operation completed successfully" }