Bulk Move Participants
growsurf_bulk_move_participantsMoves up to 200 GrowSurf participants by ID or email to a specified group or Default in one atomic bulk request, returning per-row statuses.
Instructions
Move participants in your GrowSurf program to a group, or to Default with groupId: null. Each entry in participants is a GrowSurf participant ID or an email address (mixed lists are allowed), up to 200 entries per request. All found participants move together: if the move fails, no one moves. A move is a manual placement, so the groups' email and domain rules do not override it later. A move applies to new referrals only; rewards already earned keep their amounts. Returns a summary (total, groupId, movedCount, notFoundCount, duplicateCount, errorCount) plus per-row results in request order, each with status MOVED, NOT_FOUND, DUPLICATE, or ERROR. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"participants": "<participants>",
"groupId": "<groupId>",
"campaignId": "<campaignId>"
},
"name": "growsurf_bulk_move_participants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The group to move them to (`grp_…`), or `null` for Default. Required. | |
| campaignId | Yes | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. | |
| participants | Yes | GrowSurf participant IDs and/or email addresses to move (1-200 entries; mixed lists allowed). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | One entry per submitted identifier, in request order. | |
| summary | No | Counts across all submitted entries. |