> ## Documentation Index
> Fetch the complete documentation index at: https://docs.condotta.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Front Connector: Conversations, Inboxes, Contacts

> Work with Front shared inboxes from your workflows: read conversations, send messages from a channel, tag conversations, and create or look up contacts.

The Front connector lets your workflows manage shared inboxes, conversations, contacts, and messages through the Front API.

> [!NOTE]
>
> For the full API reference, see the [Front API documentation](https://dev.frontapp.com/docs/welcome).

> [!NOTE]
>
> This connector requires a **connection** with valid credentials before it can be used in a workflow. See [Managing Connections](https://docs.condotta.ai/platform/connections.md) for setup instructions.

## Connection setup

**1. Create an API token**

In Front, go to **Settings > Developers > API Tokens**. Click **Create API Token**, give it a name, and select the scopes your workflows need. Copy the generated token.

**2. Add the connection in Condotta**

Go to **Connections** in Condotta, click **Add Connection**, select **Front**, and enter:

* **API Token**: Your Front API token

## Tools

### Conversations

> [accordion] list-conversations: List conversations
>
> **q** `string`
>
> Search query to filter conversations.
>
> **page\_token** `string`
>
> Pagination token from `_pagination.next`.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "q": "order shipping"
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "_pagination": {
>     "next": "https://api2.frontapp.com/conversations?page_token=abc123"
>   },
>   "_results": [
>     {
>       "id": "cnv_abc123",
>       "subject": "Order #1234 - delivery question",
>       "status": "open",
>       "assignee": {
>         "id": "tea_xyz789",
>         "email": "alice@company.com",
>         "first_name": "Alice",
>         "last_name": "Johnson"
>       },
>       "recipient": {
>         "handle": "customer@example.com",
>         "role": "from"
>       },
>       "tags": [
>         { "id": "tag_shipping", "name": "Shipping" }
>       ],
>       "last_message": {
>         "id": "msg_111222",
>         "body": "Hi, when will my order arrive?",
>         "created_at": 1718460000
>       },
>       "created_at": 1718400000,
>       "is_private": false
>     },
>     {
>       "id": "cnv_def456",
>       "subject": "Billing inquiry",
>       "status": "open",
>       "assignee": null,
>       "recipient": {
>         "handle": "billing@example.com",
>         "role": "from"
>       },
>       "tags": [],
>       "created_at": 1718380000,
>       "is_private": false
>     }
>   ]
> }
> ```

> [accordion] get-conversation: Get a conversation by ID
>
> **id** `string` *required*
>
> Conversation ID.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "id": "cnv_abc123"
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "id": "cnv_abc123",
>   "subject": "Order #1234 - delivery question",
>   "status": "open",
>   "assignee": {
>     "id": "tea_xyz789",
>     "email": "alice@company.com",
>     "first_name": "Alice",
>     "last_name": "Johnson"
>   },
>   "recipient": {
>     "handle": "customer@example.com",
>     "role": "from"
>   },
>   "tags": [
>     { "id": "tag_shipping", "name": "Shipping" }
>   ],
>   "inboxes": [
>     { "id": "inb_support", "name": "Support" }
>   ],
>   "created_at": 1718400000,
>   "is_private": false,
>   "_links": {
>     "self": "https://api2.frontapp.com/conversations/cnv_abc123",
>     "related": {
>       "messages": "https://api2.frontapp.com/conversations/cnv_abc123/messages",
>       "events": "https://api2.frontapp.com/conversations/cnv_abc123/events"
>     }
>   }
> }
> ```

### Inboxes

> [accordion] list-inboxes: List inboxes
>
> No parameters required. Returns all inboxes accessible to the authenticated token.
>
> **Example response:**
>
> ```json theme={null}
> {
>   "_results": [
>     {
>       "id": "inb_support",
>       "name": "Support",
>       "address": "support@company.com",
>       "type": "smtp",
>       "is_private": false
>     },
>     {
>       "id": "inb_sales",
>       "name": "Sales",
>       "address": "sales@company.com",
>       "type": "smtp",
>       "is_private": false
>     },
>     {
>       "id": "inb_billing",
>       "name": "Billing",
>       "address": "billing@company.com",
>       "type": "smtp",
>       "is_private": true
>     }
>   ]
> }
> ```

### Contacts

> [accordion] list-contacts: List contacts
>
> **q** `string`
>
> Search query to filter contacts.
>
> **page\_token** `string`
>
> Pagination token from `_pagination.next`.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "q": "example.com"
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "_pagination": {},
>   "_results": [
>     {
>       "id": "crd_abc123",
>       "name": "John Smith",
>       "description": "VIP customer",
>       "handles": [
>         { "handle": "john@example.com", "source": "email" }
>       ],
>       "groups": [
>         { "id": "grp_vip", "name": "VIP" }
>       ],
>       "is_spammer": false,
>       "updated_at": 1718460000
>     },
>     {
>       "id": "crd_def456",
>       "name": "Jane Doe",
>       "description": "",
>       "handles": [
>         { "handle": "jane@example.com", "source": "email" },
>         { "handle": "+15005550006", "source": "phone" }
>       ],
>       "groups": [],
>       "is_spammer": false,
>       "updated_at": 1718400000
>     }
>   ]
> }
> ```

> [accordion] get-contact: Get a contact by ID
>
> **id** `string` *required*
>
> Contact ID.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "id": "crd_abc123"
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "id": "crd_abc123",
>   "name": "John Smith",
>   "description": "VIP customer",
>   "handles": [
>     { "handle": "john@example.com", "source": "email" }
>   ],
>   "groups": [
>     { "id": "grp_vip", "name": "VIP" }
>   ],
>   "is_spammer": false,
>   "updated_at": 1718460000,
>   "_links": {
>     "self": "https://api2.frontapp.com/contacts/crd_abc123",
>     "related": {
>       "conversations": "https://api2.frontapp.com/contacts/crd_abc123/conversations"
>     }
>   }
> }
> ```

> [accordion] create-contact: Create a new contact
>
> **name** `string`
>
> Contact name.
>
> **description** `string`
>
> Contact description or notes.
>
> **handles** `object[]` *required*
>
> Contact handles (email, phone, etc.). Each object has `handle` (the value) and `source` (e.g., `email`, `phone`, `twitter`).
>
> **Example request:**
>
> ```json theme={null}
> {
>   "name": "Emily Chen",
>   "description": "New enterprise lead",
>   "handles": [
>     { "handle": "emily@bigcorp.com", "source": "email" },
>     { "handle": "+15005550007", "source": "phone" }
>   ]
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "id": "crd_ghi789",
>   "name": "Emily Chen",
>   "description": "New enterprise lead",
>   "handles": [
>     { "handle": "emily@bigcorp.com", "source": "email" },
>     { "handle": "+15005550007", "source": "phone" }
>   ],
>   "groups": [],
>   "is_spammer": false,
>   "updated_at": 1718550000
> }
> ```

### Messages

> [accordion] send-message: Send a message from a channel
>
> **channelId** `string` *required*
>
> Channel ID to send from.
>
> **to** `string[]` *required*
>
> Array of recipient handles.
>
> **body** `string` *required*
>
> Message body (HTML supported).
>
> **subject** `string`
>
> Message subject (for email channels).
>
> **options** `object`
>
> Additional options (e.g., `{ "archive": true, "tag_ids": [] }`).
>
> **Example request:**
>
> ```json theme={null}
> {
>   "channelId": "cha_abc123",
>   "to": ["customer@example.com"],
>   "body": "<p>Hi John,</p><p>Your order #1234 shipped today via FedEx. Tracking number: <strong>7891011</strong>.</p><p>Best,<br>Support Team</p>",
>   "subject": "Your order has shipped"
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "success": true,
>   "data": {
>     "status": "accepted",
>     "message_uid": "msg_uid_abc123"
>   }
> }
> ```

### Tags

> [accordion] list-tags: List tags
>
> No parameters required. Returns all tags in the workspace.
>
> **Example response:**
>
> ```json theme={null}
> {
>   "_results": [
>     {
>       "id": "tag_shipping",
>       "name": "Shipping",
>       "is_private": false
>     },
>     {
>       "id": "tag_billing",
>       "name": "Billing",
>       "is_private": false
>     },
>     {
>       "id": "tag_urgent",
>       "name": "Urgent",
>       "is_private": false
>     }
>   ]
> }
> ```

> [accordion] add-tag: Add tags to a conversation
>
> **conversationId** `string` *required*
>
> Conversation ID.
>
> **tag\_ids** `string[]` *required*
>
> Array of tag IDs to add.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "conversationId": "cnv_abc123",
>   "tag_ids": ["tag_urgent", "tag_shipping"]
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "success": true
> }
> ```

### Teammates

> [accordion] list-teammates: List teammates
>
> No parameters required. Returns all teammates in the workspace.
>
> **Example response:**
>
> ```json theme={null}
> {
>   "_results": [
>     {
>       "id": "tea_xyz789",
>       "email": "alice@company.com",
>       "first_name": "Alice",
>       "last_name": "Johnson",
>       "is_admin": true,
>       "is_available": true
>     },
>     {
>       "id": "tea_uvw456",
>       "email": "bob@company.com",
>       "first_name": "Bob",
>       "last_name": "Williams",
>       "is_admin": false,
>       "is_available": true
>     }
>   ]
> }
> ```

### Advanced

> [accordion] raw-api-request: Make an arbitrary API request
>
> Send a request to any Front API endpoint.
>
> **method** `string` *required*
>
> HTTP method: `GET`, `POST`, `PUT`, `PATCH`, or `DELETE`.
>
> **path** `string` *required*
>
> API path (e.g., `/conversations`, `/contacts`).
>
> **body** `object`
>
> Request body for POST/PUT/PATCH requests.
>
> **Example request:**
>
> ```json theme={null}
> {
>   "method": "GET",
>   "path": "/events"
> }
> ```
>
> **Example response:**
>
> ```json theme={null}
> {
>   "_results": [
>     {
>       "id": "evt_111",
>       "type": "assign",
>       "emitted_at": 1718460000,
>       "conversation": { "id": "cnv_abc123" },
>       "target": {
>         "id": "tea_xyz789",
>         "email": "alice@company.com"
>       }
>     }
>   ]
> }
> ```

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.