---
updatedAt: 2025-05-08T18:55:55.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# EntryPoint

Represents data about the entry point that opened a plugin. Available from the [Context](ref:plugin-sdk-context) object.

## 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" }}>
        `type`
      </td>

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

      <td style={{ textAlign: "left" }}>
        Specifies the location from which the user opened the plugin. One of:

        * `SIDE_PANEL`
        * `COMPOSER_TOOLBAR`
        * `CONTACT_HANDLE`
        * `URL`
      </td>
    </tr>

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

      <td style={{ textAlign: "left" }}>
        [PhoneEntryPointData](#phoneentrypointdata)  | [CustomContextProperties](#customcontextproperties) | Undefined
      </td>

      <td style={{ textAlign: "left" }}>
        `EntryPoint` specific data. Currently only available for plugins opened through a contact's phone handle or through a URL found in a Front message or comment.
      </td>
    </tr>
  </tbody>
</Table>

## PhoneEntryPointData

Only available for `EntryPoint` of type `CONTACT_HANDLE`

### Properties

| Property    | Type    | Description                                                                                                               |
| :---------- | :------ | :------------------------------------------------------------------------------------------------------------------------ |
| `type`      | `phone` | The type of entry point data. In this case, it will be `phone` since the plugin was opened from a contact's phone handle. |
| `handle`    | String  | The phone handle that was clicked to open the plugin.                                                                     |
| `timestamp` | Date    | The time at which the phone handle was clicked as a Unix timestamp.                                                       |

## CustomContextProperties

Only available for `EntryPoint` of type `URL`

### Properties

| Property               | Type   | Description                                                                                                                      |
| :--------------------- | :----- | :------------------------------------------------------------------------------------------------------------------------------- |
| *custom property name* | String | The custom properties passed as query strings in the URL that [opened the sidebar plugin](https://dev.frontapp.com/docs/open-a-sidebar-plugin-from-a-url). |