# Unthread

> Manage support conversations, accounts, knowledge base articles, and tags.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/unthread

## Actions

### Create knowledge base article

Create knowledge base article in Unthread.

**Inputs**

- Title (`title`, text, required): Title.
- Content (`content`, text, required): Content.
- Article URL (`url`, text): Article URL.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "content": "example",
    "createdAt": "example",
    "id": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}
```

### Create tag

Create tag in Unthread.

**Inputs**

- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "id": "example",
    "name": "example"
  }
}
```

### Delete knowledge base article

Delete knowledge base article in Unthread.

**Inputs**

- Knowledge base article (`article_id`, text, required): Knowledge base article.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {}
}
```

### Delete tag

Delete tag in Unthread.

**Inputs**

- Tag (`tag_id`, text, required): Tag.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {}
}
```

### Get account

Get account in Unthread.

**Inputs**

- Account (`account_id`, text, required): Account.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get conversation

Get conversation in Unthread.

**Inputs**

- Conversation (`conversation_id`, text, required): Conversation.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "assignedToUserId": "example",
    "createdAt": "example",
    "customerId": "example",
    "id": "example",
    "priority": 1,
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}
```

### Get customer

Get customer in Unthread.

**Inputs**

- Customer (`customer_id`, text, required): Customer.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "createdAt": "example",
    "id": "example",
    "name": "example",
    "updatedAt": "example"
  }
}
```

### Get knowledge base article

Get knowledge base article in Unthread.

**Inputs**

- Knowledge base article (`article_id`, text, required): Knowledge base article.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "content": "example",
    "createdAt": "example",
    "id": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}
```

### Get tag

Get tag in Unthread.

**Inputs**

- Tag (`tag_id`, text, required): Tag.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "id": "example",
    "name": "example"
  }
}
```

### List accounts

List accounts in Unthread.

**Inputs**

- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### List conversation messages

List conversation messages in Unthread.

**Inputs**

- Conversation (`conversation_id`, text, required): Conversation.
- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### List conversations

List conversations in Unthread.

**Inputs**

- Most recent first (`descending`, true/false): Most recent first.
- Status (`status`, text): Status. One of: `open`, `in_progress` (In progress), `on_hold` (On hold), `closed`.
- Customer (`customer_id`, text): Customer.
- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### List customers

List customers in Unthread.

**Inputs**

- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### List knowledge base articles

List knowledge base articles in Unthread.

**Inputs**

- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### List tags

List tags in Unthread.

**Inputs**

- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### List users

List users in Unthread.

**Inputs**

- Page size (`limit`, number): Page size. From 1 to 100.
- Page cursor (`cursor`, text): Page cursor.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "cursors": {
      "hasNext": false,
      "hasPrevious": false,
      "next": "example",
      "previous": "example"
    },
    "data": [],
    "totalCount": 1
  }
}
```

### Send conversation message

Send conversation message in Unthread.

**Inputs**

- Conversation (`conversation_id`, text, required): Conversation.
- Message (`message`, text, required): Write the message to post. Markdown is supported.
- Post as a private note (`is_private_note`, true/false): Post as a private note.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {}
}
```

### Update conversation

Update conversation in Unthread.

**Inputs**

- Conversation (`conversation_id`, text, required): Conversation.
- Title (`title`, text): Title.
- Status (`status`, text): Status. One of: `open`, `in_progress` (In progress), `on_hold` (On hold), `closed`.
- Priority (`priority`, number): Priority. One of: `3`, `5`, `7`, `9`.
- Assignee (`assigned_to_user_id`, text): Assignee.
- Customer (`customer_id`, text): Customer.
- Reopen at (`wake_up_at`, date and time): Reopen at.
- Notes (`notes`, text): Notes.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "assignedToUserId": "example",
    "createdAt": "example",
    "customerId": "example",
    "id": "example",
    "priority": 1,
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}
```

### Update knowledge base article

Update knowledge base article in Unthread.

**Inputs**

- Knowledge base article (`article_id`, text, required): Knowledge base article.
- Title (`title`, text): Title.
- Content (`content`, text): Content.
- Article URL (`url`, text): Article URL.
- Status (`status`, text): Status. One of: `active`, `inactive`.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "content": "example",
    "createdAt": "example",
    "id": "example",
    "status": "example",
    "title": "example",
    "updatedAt": "example"
  }
}
```

### Update tag

Update tag in Unthread.

**Inputs**

- Tag (`tag_id`, text, required): Tag.
- Name (`name`, text): Name.

**Outputs**

- `data` (object): The Unthread response.

**Example output**

```json
{
  "data": {
    "id": "example",
    "name": "example"
  }
}
```
