> 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.teamwork.core.ListTeams

- Component: `appmixer.teamwork.core.ListTeams`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.teamwork 1.1.0](https://connectors.appmixer.com/connector/appmixer.teamwork/1.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.teamwork/1.1.0/component/appmixer.teamwork.core.ListTeams>

List teams in Teamwork.com

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Search Term (`searchTerm`) | text | - |

## Output ports

### Port `teams`

| Field | Type | Description |
| --- | --- | --- |
| Teams (`teams`) | array | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.teamwork.core.ListTeams",
  "auth": {
    "service": "appmixer:teamwork"
  },
  "author": "sinead.cullinane@teamwork.com",
  "description": "List teams in Teamwork.com",
  "private": false,
  "version": "1.0.0",
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "searchTerm": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "searchTerm": {
            "index": 0,
            "type": "text",
            "label": "Search Term"
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "teams",
      "options": [
        {
          "label": "Teams",
          "value": "teams",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number",
                  "title": "ID"
                },
                "name": {
                  "type": "string",
                  "title": "Name"
                },
                "handle": {
                  "type": "string",
                  "title": "Handle"
                },
                "description": {
                  "type": "string",
                  "title": "Description"
                },
                "members": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number",
                        "title": "ID"
                      },
                      "name": {
                        "type": "string",
                        "title": "Name"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
