# getContactFieldVisibility

Each contact field's show-when rule: visibleWhen { fieldId, optionIds } (shown only when that dropdown is any of those options), null when always shown.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getContactFieldVisibility", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

None.

## Response (data, an example)

```json
{
  "contactCustomFieldQuery": {
    "getMyOrganizationsCustomFields": [
      {
        "id": "<ID>",
        "name": "…",
        "visibleWhen": {
          "fieldId": "<ID>",
          "optionIds": [
            "<ID>"
          ]
        }
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getContactFieldVisibility",
    "variables": {}
  }'
```
