conduyt_set_smart_view_audience
Set who can access a shared Smart View—everyone on the account, a Team group whose current members update automatically, or specific reps—so only intended users see and dial from it.
Instructions
Who a SHARED Smart View is for (admin key): everyone on the account, one Team group (its CURRENT members, resolved when the view is read, so a rep added to the group later sees it and dials from it), or picked reps. A group replaces picked reps and vice versa. Personal views (a rep's own) have no audience.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Smart View UUID (from conduyt_list_smart_views) | |
| groupId | No | The Team group (conduyt_list_groups) when audience = group | |
| audience | Yes | everyone | group (pass groupId) | reps (pass memberIds) | |
| memberIds | No | The reps' user ids when audience = reps |