| Parameter | Type | Description |
|---|---|---|
| external_id * | string | Your unique identifier for this competition. |
| name * | string | Public name/title of the competition. |
| max_tickets * | integer | Total available tickets. |
| draw_at * | timestamp | Scheduled draw time (ISO 8601 format). |
| prizes * | array | Array of prizes for this competition (minimum 1 prize required). |
| prizes[].external_id * | string | Your unique identifier for this prize within the competition. |
| prizes[].name * | string | Name/title of the prize. |
Example Request
{
"id": "956774e8-9835-4c54-9eb2-ce099db4e5f0",
"external_id": "APPLE_PRODUCTS",
"name": "Apple Mega Giveaway",
"max_tickets": 1000,
"draw_at": "2025-12-25T12:00:00Z",
"prizes": [
{
"external_id": "MACBOOK",
"title": "Macbook Pro"
},
{
"external_id": "IPAD",
"title": "iPad Air"
},
{
"external_id": "IPHONE17PRO",
"title": "iPhone 17 Pro"
}
]
}