---
updatedAt: 2025-01-08T23:23:57.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# Contact

A contact is a record in Front Contact Manager.

## Properties

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Property
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `id`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        ID of the contact.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `name`
      </td>

      <td style={{ textAlign: "left" }}>
        String (optional)
      </td>

      <td style={{ textAlign: "left" }}>
        Name of the contact.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `description`
      </td>

      <td style={{ textAlign: "left" }}>
        String (optional)
      </td>

      <td style={{ textAlign: "left" }}>
        Description of the contact.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `groupIds`
      </td>

      <td style={{ textAlign: "left" }}>
        Array of Contact Group IDs
      </td>

      <td style={{ textAlign: "left" }}>
        IDs of the groups the contact belongs to.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `handles`
      </td>

      <td style={{ textAlign: "left" }}>
        Array of Contact Handles
      </td>

      <td style={{ textAlign: "left" }}>
        Handles used by the contact.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `customAttributes`
      </td>

      <td style={{ textAlign: "left" }}>
        Array of Custom Attributes
      </td>

      <td style={{ textAlign: "left" }}>
        Custom attributes.
      </td>
    </tr>
  </tbody>
</Table>

### Contact Group

Contacts can be organized by group.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Property
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `id`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        ID of the group.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `name`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Name of the group.
      </td>
    </tr>
  </tbody>
</Table>

### Contact Handle

A handle represents a way to communicate with the contact. A handle can have multiple types:

* `email` for emails
* `phone` for text messages and phone call
* `twitter` for Twitter
* `custom` for Custom channels
* `facebook` for Facebook Messenger
* `intercom` for Intercom
* `smooch` for Smooch
* `frontChat` for Front Chat
* `whatsapp` for Whatsapp
* `googlePlay` for Google Play reviews

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Property
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `handle`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Handle used to send and receive messages.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `type`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Type of the handle.
      </td>
    </tr>
  </tbody>
</Table>

### Custom attributes

Front Contact Manager supports user-defined attributes on each contacts. Each Custom Attribute has a `type` which defines the type of its `value`:

* `string` for a String
* `datetime` for a Date
* `boolean` for a Boolean
* `number`  for a Number
* `teammateId` for the ID of a teammate

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Property
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `id`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        ID of the attribute.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `name`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Human readable name.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `type`
      </td>

      <td style={{ textAlign: "left" }}>
        String
      </td>

      <td style={{ textAlign: "left" }}>
        Type of the attribute.
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `value`
      </td>

      <td style={{ textAlign: "left" }}>
        Variable
      </td>

      <td style={{ textAlign: "left" }}>
        Value of the attribute.
      </td>
    </tr>
  </tbody>
</Table>