> 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.team.GetTeam

- Component: `appmixer.front.team.GetTeam`
- 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.team.GetTeam>

Fetch a team (workspace) by its ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Team ID (`teamId`) | text | The ID of the team (workspace) to fetch |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Team ID (`id`) | string | - |
| Name (`name`) | string | - |
| Is Private (`is_private`) | boolean | - |
| Is Public (`is_public`) | boolean | - |
| Custom Fields (`custom_fields`) | object | - |
| Links (`_links`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.front.team.GetTeam",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Fetch a team (workspace) by its ID.",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:front"
  },
  "quota": {
    "manager": "appmixer:front",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string"
          }
        },
        "required": [
          "teamId"
        ]
      },
      "inspector": {
        "inputs": {
          "teamId": {
            "type": "text",
            "label": "Team ID",
            "index": 0,
            "tooltip": "The ID of the team (workspace) to fetch",
            "source": {
              "url": "/component/appmixer/front/team/ListTeams?outPort=out",
              "data": {
                "message": {
                  "in/outputType": "array"
                },
                "properties": {
                  "isSource": true
                },
                "transform": "./ListTeams#toSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Team ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "tim_123"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Customer Success"
          }
        },
        {
          "label": "Is Private",
          "value": "is_private",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Is Public",
          "value": "is_public",
          "schema": {
            "type": "boolean",
            "example": true
          }
        },
        {
          "label": "Custom Fields",
          "value": "custom_fields",
          "schema": {
            "type": "object",
            "example": {}
          }
        },
        {
          "label": "Links",
          "value": "_links",
          "schema": {
            "type": "object",
            "properties": {
              "self": {
                "type": "string",
                "title": "Links.Self",
                "example": "https://api2.frontapp.com/teams/tim_123"
              },
              "related": {
                "type": "object",
                "title": "Links.Related",
                "properties": {
                  "channels": {
                    "type": "string",
                    "title": "Links.Related.Channels",
                    "example": "https://api2.frontapp.com/teams/tim_123/channels"
                  },
                  "conversations": {
                    "type": "string",
                    "title": "Links.Related.Conversations",
                    "example": "https://api2.frontapp.com/teammates/tea_123/conversations"
                  },
                  "teammates": {
                    "type": "string",
                    "title": "Links.Related.Teammates",
                    "example": "https://api2.frontapp.com/teams/tim_123/teammates"
                  },
                  "owner": {
                    "type": "string",
                    "title": "Links.Related.Owner",
                    "example": "https://api2.frontapp.com/teams/tim_123"
                  }
                }
              }
            },
            "example": {
              "self": "https://api2.frontapp.com/teams/tim_123",
              "related": {
                "channels": "https://api2.frontapp.com/teams/tim_123/channels",
                "conversations": "https://api2.frontapp.com/teams/tim_123/conversations",
                "teammates": "https://api2.frontapp.com/teams/tim_123/teammates",
                "owner": "https://api2.frontapp.com/teams/tim_123"
              }
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
