> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.front.channels.ListChannels

- Component: `appmixer.front.channels.ListChannels`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.front 1.1.1](https://connectors.appmixer.com/connector/appmixer.front/1.1.1.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.front/1.1.1/component/appmixer.front.channels.ListChannels>

List all channels in an inbox. Channels are the sources of incoming conversations (email, chat, SMS, etc.).

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Team ID (`teamId`) | text | The ID of the team |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/front/channels/ListChannels?outPort=out`.

## Full metadata (component.json)

```json
{
  "name": "appmixer.front.channels.ListChannels",
  "author": "Appmixer <info@appmixer.com>",
  "description": "List all channels in an inbox. Channels are the sources of incoming conversations (email, chat, SMS, etc.).",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:front"
  },
  "quota": {
    "manager": "appmixer:front",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string"
          },
          "outputType": {
            "type": "string"
          }
        },
        "required": [
          "teamId"
        ]
      },
      "inspector": {
        "inputs": {
          "teamId": {
            "type": "text",
            "label": "Team ID",
            "index": 0,
            "tooltip": "The ID of the team",
            "source": {
              "url": "/component/appmixer/front/team/ListTeams?outPort=out",
              "data": {
                "message": {
                  "in/outputType": "array"
                },
                "properties": {
                  "isSource": true
                },
                "transform": "./ListTeams#toSelectArray"
              }
            }
          },
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 1,
            "defaultValue": "array",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file.",
            "options": [
              {
                "label": "First Item Only",
                "value": "first"
              },
              {
                "label": "All items at once",
                "value": "array"
              },
              {
                "label": "One item at a time",
                "value": "object"
              },
              {
                "label": "Store to CSV file",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/front/channels/ListChannels?outPort=out",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/teamId": "abc",
            "in/outputType": "inputs/in/outputType"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
