# setOrganizationInboxDefaultView

What the inbox shows before a person chooses: INDIVIDUAL (their own lines) or TEAM (every line, for members who may view all phones; it grants no one that permission). Organization admins only.

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

## Variables

- `view`: `InboxDefaultView!` (required, one of `INDIVIDUAL`, `TEAM`). What the workspace inbox shows a VIEW_ALL_PHONES holder who has not chosen for themselves. See `Organization.inboxDefaultView`. INDIVIDUAL: The viewer's own lines. The behavior every organization has before choosing. TEAM: Every inbox-eligible line in the organization: texts and calls. Email stays per-mailbox. Widens nothing for a member without VIEW_ALL_PHONES.

## Response (data, an example)

```json
{
  "organizationMutation": {
    "updateOrganizationInboxDefaultView": {
      "id": "<ID>",
      "inboxDefaultView": "INDIVIDUAL"
    }
  }
}
```

## 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": "setOrganizationInboxDefaultView",
    "variables": {
      "view": "INDIVIDUAL"
    }
  }'
```
