> 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.contacts.GetContact

- Component: `appmixer.front.contacts.GetContact`
- 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.contacts.GetContact>

Retrieve a single contact by ID.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Contact ID (`id`) | text | Id of the contact (e.g., cnt_123) |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Contact ID (`id`) | string | - |
| Name (`name`) | string | - |
| Description (`description`) | string | - |
| Avatar URL (`avatar_url`) | string | - |
| Is Private (`is_private`) | boolean | - |
| Account (`account`) | object | - |
| Links (`links`) | array | - |
| Handles (`handles`) | array | - |
| Groups (`groups`) | array | - |
| Custom Fields (`custom_fields`) | object | - |
| Created At (`created_at`) | number | - |
| Updated At (`updated_at`) | number | - |
| Links (`_links`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.front.contacts.GetContact",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Retrieve a single contact by ID.",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:front"
  },
  "quota": {
    "manager": "appmixer:front",
    "resources": "requests"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "inspector": {
        "inputs": {
          "id": {
            "type": "text",
            "tooltip": "Id of the contact (e.g., cnt_123)",
            "label": "Contact ID",
            "index": 0
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Contact ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "crd_3cgz4ge"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Jane Doe"
          }
        },
        {
          "label": "Description",
          "value": "description",
          "schema": {
            "type": "string",
            "example": "Head of Operations at Example Corp"
          }
        },
        {
          "label": "Avatar URL",
          "value": "avatar_url",
          "schema": {
            "type": "string",
            "example": "https://api2.frontapp.com/contacts/crd_3cgz4ge/avatar-1717430400000"
          }
        },
        {
          "label": "Is Private",
          "value": "is_private",
          "schema": {
            "type": "boolean",
            "example": false
          }
        },
        {
          "label": "Account",
          "value": "account",
          "schema": {
            "type": "object",
            "example": {
              "id": "acc_1w3d",
              "name": "Example Corp"
            }
          }
        },
        {
          "label": "Links",
          "value": "links",
          "schema": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "https://www.example.com",
              "https://blog.example.com"
            ]
          }
        },
        {
          "label": "Handles",
          "value": "handles",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string",
                  "example": "email"
                },
                "handle": {
                  "type": "string",
                  "example": "jane@example.com"
                }
              }
            },
            "example": [
              {
                "source": "email",
                "handle": "jane@example.com"
              },
              {
                "source": "phone",
                "handle": "+15555550123"
              }
            ]
          }
        },
        {
          "label": "Groups",
          "value": "groups",
          "schema": {
            "type": "array",
            "example": [
              {
                "_links": {
                  "self": "https://api2.frontapp.com/contact_lists/grp_3j342",
                  "related": {
                    "contacts": "https://api2.frontapp.com/contact_lists/grp_3j342/contacts",
                    "owner": "https://api2.frontapp.com/teammates/tea_6r55a"
                  }
                },
                "id": "grp_3j342",
                "name": "VIP Customers",
                "is_private": false
              }
            ]
          }
        },
        {
          "label": "Custom Fields",
          "value": "custom_fields",
          "schema": {
            "type": "object",
            "example": {
              "city": "London, UK",
              "isVIP": true
            }
          }
        },
        {
          "label": "Created At",
          "value": "created_at",
          "schema": {
            "type": "number",
            "example": 1717430400.123
          }
        },
        {
          "label": "Updated At",
          "value": "updated_at",
          "schema": {
            "type": "number",
            "example": 1717434000.456
          }
        },
        {
          "label": "Links",
          "value": "_links",
          "schema": {
            "type": "object",
            "properties": {
              "self": {
                "type": "string",
                "example": "https://api2.frontapp.com/contacts/crd_3cgz4ge"
              },
              "related": {
                "type": "object"
              }
            },
            "example": {
              "self": "https://api2.frontapp.com/contacts/crd_3cgz4ge",
              "related": {
                "notes": "https://api2.frontapp.com/contacts/crd_3cgz4ge/notes",
                "conversations": "https://api2.frontapp.com/contacts/crd_3cgz4ge/conversations",
                "owner": null
              }
            }
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
