# setSuggestionAudience

Set who contact suggestion cards go to: WHOLE_TEAM or POINT_PERSON. Organization admins only.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "setSuggestionAudience", "variables": {...} }`
- Scope: `ADMIN`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `audience`: `OrganizationSuggestionAudience!` (required, one of `WHOLE_TEAM`, `POINT_PERSON`). Who contact suggestion cards go to. WHOLE_TEAM: Everyone who can see the contact (the default). POINT_PERSON: The contact's point person; the whole team when it has none.

## Response (data, an example)

```json
{
  "organizationMutation": {
    "updateOrganizationSuggestionAudience": {
      "id": "<ID>",
      "suggestionAudience": "WHOLE_TEAM"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "setSuggestionAudience",
    "variables": {
      "audience": "WHOLE_TEAM"
    }
  }'
```
