# listEmployeeChannelOptions

What an AI employee can be bound to right now: `availableMailboxes` (connected Gmail or Outlook inboxes shared with the organization that no employee owns yet; the `id` attachEmployeeMailbox takes) and `availableTriggerForms` (the organization's forms, any status; ids for setEmployeeTriggerForms). Phone numbers are not assigned to employees: an employee replies on the number the conversation is on, otherwise a shared organization number.

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

## Variables

None.

## Response (data, an example)

```json
{
  "aiEmployeesQuery": {
    "availableMailboxes": [
      {
        "id": "<ID>",
        "emailAddress": "…",
        "provider": "…",
        "hasActiveConnection": true,
        "isSharedWithOrg": true
      }
    ],
    "availableTriggerForms": [
      {
        "id": "<ID>",
        "name": "…",
        "status": "…"
      }
    ]
  }
}
```

## Example

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