Path Parameters
The unique draw ID. Returned when you create a draw or list draws.
Query Parameters
Export file format. Must be one of
csv, xlsx, or md.Data to export.
winners exports the selected winners, entries exports all collected replies. Default winners.Headers
Your API key. This endpoint also accepts session cookie authentication.
Response
- 200 OK
- 400 Invalid ID
- 400 Invalid Params
- 401 Unauthenticated
- 404 Not Found
Returns a file download with the appropriate
Winner export columns: Position, Username, Text, BackupEntry export columns: Username, Text, Passed Filter, LanguageEntry exports are capped at 50,000 rows.
Content-Type and Content-Disposition headers.| Format | Content-Type | Filename |
|---|---|---|
csv | text/csv; charset=utf-8 | draw-winners-{id}.csv |
xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | draw-winners-{id}.xlsx |
md | text/markdown; charset=utf-8 | draw-winners-{id}.md |
Related: Get Draw to retrieve draw details and winners as JSON · List Draws to find draw IDs.