count_participants
Get participant counts for a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Supports filtering by type (all, participants, amoe, optouts) and date range.
count_participants
When to use
Get participant counts for a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Supports filtering by type (all, participants, amoe, optouts) and date range.
Pre-calls required
fetch_sweepstakes if the user gave you a sweepstakes name instead of a token
Parameters to validate before calling
sweepstakes_token (string, required) — The sweepstakes token (UUID format)
filter_type (string, optional) — one of: all, participants, amoe, optouts — Filter type: all (default), participants, amoe (alternate method of entry), or optouts
start_date (string, optional) — Start date filter (ISO 8601 format, e.g., 2025-01-01)
end_date (string, optional) — End date filter (ISO 8601 format, e.g., 2025-12-31)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date filter (ISO 8601 format, e.g., 2025-12-31) | |
| start_date | No | Start date filter (ISO 8601 format, e.g., 2025-01-01) | |
| filter_type | No | Filter type: all (default), participants, amoe (alternate method of entry), or optouts | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |