> 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.inbox.CreateInbox

- Component: `appmixer.front.inbox.CreateInbox`
- 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.inbox.CreateInbox>

Create an inbox in the specified team.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Team ID (`teamId`) | text | The ID of the team to create the inbox in |
| Inbox Name (`name`) | text | The name of the inbox to create |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Inbox ID (`id`) | string | - |
| Inbox Name (`name`) | string | - |
| Is Private (`is_private`) | boolean | - |
| Is Public (`is_public`) | boolean | - |
| Custom Fields (`custom_fields`) | object | - |
| Self Link (`_links.self`) | string | - |
| Channels Link (`_links.related.channels`) | string | - |
| Conversations Link (`_links.related.conversations`) | string | - |
| Teammates Link (`_links.related.teammates`) | string | - |
| Owner Link (`_links.related.owner`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.front.inbox.CreateInbox",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Create an inbox in the specified team.",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:front"
  },
  "quota": {
    "manager": "appmixer:front",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "teamId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "teamId",
          "name"
        ]
      },
      "inspector": {
        "inputs": {
          "teamId": {
            "type": "text",
            "label": "Team ID",
            "index": 0,
            "tooltip": "The ID of the team to create the inbox in",
            "source": {
              "url": "/component/appmixer/front/team/ListTeams?outPort=out",
              "data": {
                "message": {
                  "in/outputType": "array"
                },
                "properties": {
                  "isSource": true
                },
                "transform": "./ListTeams#toSelectArray"
              }
            }
          },
          "name": {
            "type": "text",
            "label": "Inbox Name",
            "index": 1,
            "tooltip": "The name of the inbox to create"
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Inbox ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "inb_1ix6"
          }
        },
        {
          "label": "Inbox Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Customer Support"
          }
        },
        {
          "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": "Self Link",
          "value": "_links.self",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/inboxes/inb_1ix6"
          }
        },
        {
          "label": "Channels Link",
          "value": "_links.related.channels",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/inboxes/inb_1ix6/channels"
          }
        },
        {
          "label": "Conversations Link",
          "value": "_links.related.conversations",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/inboxes/inb_1ix6/conversations"
          }
        },
        {
          "label": "Teammates Link",
          "value": "_links.related.teammates",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/inboxes/inb_1ix6/teammates"
          }
        },
        {
          "label": "Owner Link",
          "value": "_links.related.owner",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/teams/tim_k30"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
