assign_leads
Assign up to 50 leads to a team member in one batch, or clear assignees. Each change appears on the lead timeline, with a single notification for the whole batch.
Instructions
Assign one or more leads of the current team to a member, or clear the assignee. Pass every lead id in a single call (up to 50) — do not loop one call per lead. The assignee must be an active non-viewer member (see list_lead_settings.assignableMembers); pass "me" for yourself, or omit / null to unassign. Each change is recorded on the lead's timeline, and the assignee gets one aggregated notification for the whole batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leadIds | Yes | The lead ids to assign, max 50 per call | |
| assigneeId | No | The member userId to assign to, or "me" for the current token's own user. Omit (or pass null) to clear the assignee. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many leads were changed | |
| items | No | Per-lead result | |
| assigneeId | No | The member they were assigned to, or null when cleared |