curl https://api.mcpbytes.com/v1/tools/run_draw/jobs \
-H "Authorization: Bearer $MCPBYTES_API_KEY" \
-H "Content-Type: application/json" \
-d '{"idempotency_key":"giveaway-example-001",
"options":{"title":"October giveaway",
"count":2,"alternates":1,"publish_entries":true,
"entries":"ticket-01\nticket-02\nticket-03\nticket-04\nticket-05\nticket-06\nticket-07\nticket-08\nticket-09\nticket-10\nticket-11\nticket-12"}}'
{
"id": "j_ms3h6bzdpe8d4g5skh96a531cy",
"tool": "run_draw",
"status": "succeeded",
"input_kind": "parameters",
"draw": {
"id": "d_twh8fkzwkksxh7y6ykpfexdc4v",
"status": "drawn",
"receipt_url": "https://mcpbytes.com/draws/d_twh8fkzwkksxh7y6ykpfexdc4v",
"draw_at": "2026-09-24T18:24:12.644Z"
},
"options": {
"title": "October giveaway",
"mode": "pick",
"count": 2,
"alternates": 1,
"publish_entries": true,
"entries_count": 12,
"entries_sha256": "08b4ee8c7fa858181f549277d7bff2b65edd0baf252920884b0103272a5c587e",
"draw_id": "d_twh8fkzwkksxh7y6ykpfexdc4v"
}
}