# Featurebase

> Manage feedback posts and comments, and read tickets, contacts, companies, and changelogs.

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

## Actions

### Create comment

Creates a new comment or reply to an existing comment.

**Inputs**

- Content (`content`, text, required): Content.
- Post (`post_id`, text): Post ID.
- Changelog (`changelog_id`, text): Changelog ID.
- Is private (`is_private`, true/false): Only let admins see the comment.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Create post

Creates a new post (feedback submission) in the specified board.

**Inputs**

- Title (`title`, text, required): Title.
- Content (`content`, text): Content.
- Board (`board_id`, text): Board ID.
- Status (`status_id`, text): Status ID.
- Eta (`eta`, date): Eta.
- Tags (`tags`, list): Tags.
- Comments enabled (`comments_enabled`, true/false): Comments enabled.
- Visibility (`visibility`, text): Visibility. One of: `public`, `authorOnly`, `companyOnly`.
- Internal (`internal`, true/false): Internal.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Delete comment

Deletes a comment by its unique identifier.

**Inputs**

- Comment ID (`comment_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "deleted": false,
    "id": "example"
  }
}
```

### Delete post

Permanently deletes a post. This action cannot be undone.

**Inputs**

- Post (`post_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "deleted": false,
    "id": "example"
  }
}
```

### Get changelog

Retrieves a single Changelog by its unique identifier. Supply the `id` returned by the API, not its public-page slug.

**Inputs**

- Changelog (`changelog_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Get comment

Retrieves a single comment by its unique identifier.

**Inputs**

- Comment ID (`comment_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Get contact

Retrieves a single contact by their Featurebase ID.

**Inputs**

- Contact ID (`contact_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Get conversation

Retrieve conversation from Featurebase.

**Inputs**

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

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Get post

Retrieves a single post by its unique identifier.

**Inputs**

- Post (`post_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### Get ticket

Retrieves a single ticket by its ticket number.

**Inputs**

- Ticket ID (`ticket_id`, text, required): ID.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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

### List boards

Returns all boards (post categories) for the authenticated organization.

**Inputs**: None.

**Outputs**

- `data` (list): The result returned by Featurebase.

**Example output**

```json
{
  "data": []
}
```

### List changelogs

Returns the Changelogs (release notes) of your organization.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### List comments

Returns comments for your organization.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.
- Post (`post_id`, text): Post ID.
- Changelog (`changelog_id`, text): Changelog ID.
- Privacy (`privacy`, text): Privacy. One of: `public`, `private`, `all`.
- Sort by (`sort_by`, text): Sort by. One of: `best`, `top`, `new`, `old`.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### List companies

Returns all companies in your organization with cursor-based pagination.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### List contacts

Returns a list of contacts (customers and leads) in your organization using cursor-based pagination.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### List conversations

Returns a list of conversations in your organization using cursor-based pagination.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### List post statuses

Returns all post statuses for the authenticated organization.

**Inputs**: None.

**Outputs**

- `data` (list): The result returned by Featurebase.

**Example output**

```json
{
  "data": []
}
```

### List posts

Returns all posts (feedback submissions) for the authenticated organization.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.
- Board (`board_id`, text): Board ID.
- Status (`status_id`, text): Status ID.
- Search query (`search_query`, text): Q.
- In review (`in_review`, true/false): In review.
- Sort by (`sort_by`, text): Sort by. One of: `createdAt`, `upvotes`, `trending`, `recent`.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### List tickets

Returns a list of tickets in your organization using cursor-based pagination.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 100.
- Cursor (`cursor`, text): Cursor.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

```json
{
  "data": {
    "data": [],
    "nextCursor": "example"
  }
}
```

### Update post

Updates an existing post. Only provided fields will be modified.

**Inputs**

- Post (`post_id`, text, required): ID.
- Title (`title`, text): Title.
- Content (`content`, text): Content.
- Board (`board_id`, text): Board ID.
- Status (`status_id`, text): Status ID.
- Eta (`eta`, date): Eta.
- Tags (`tags`, list): Tags.
- Comments enabled (`comments_enabled`, true/false): Comments enabled.
- Visibility (`visibility`, text): Visibility. One of: `public`, `authorOnly`, `companyOnly`.

**Outputs**

- `data` (object): The result returned by Featurebase.

**Example output**

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