create_group
Create a new group within a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Groups are used to organize and segment participants.
create_group
When to use
Create a new group within a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token. Groups are used to organize and segment participants.
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)
group_name (string, required) — The name of the group (must be unique within the sweepstakes)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_name | Yes | The name of the group (must be unique within the sweepstakes) | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |