# Visible.vc

> Read and manage investor metrics, portfolio company profiles and notes.

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

## Actions

### Create a Contact

Create a Contact.

**Inputs**

- Email (`email`, text, required): Email.
- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Title (`title`, text): Title.
- Contact list IDs (`contact_list_ids`, list): Contact list IDs.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "contact": {
      "company_id": "example",
      "contact_list_ids": [
        "example"
      ],
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example",
      "title": "example"
    }
  }
}
```

### Create a Metric

Create a Metric.

**Inputs**

- Name (`name`, text, required): Name.
- Frequency (`frequency`, text, required): Frequency. One of: `daily`, `weekly`, `monthly`, `quarterly`.
- Unit (`unit`, text): Unit.
- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "metric": {
      "company_id": "example",
      "created_at": "example",
      "frequency": "daily",
      "id": "example",
      "name": "example",
      "portfolio_company_profile_id": "example",
      "unit": "example"
    }
  }
}
```

### Create a Note

Create a Note.

**Inputs**

- Content (`content`, text, required): Content.
- Note tag ID (`note_tag_id`, text): Note tag ID.
- Contact IDs (`contact_ids`, list, required): Contact IDs.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "note": {
      "contact_ids": [
        "example"
      ],
      "content": "example",
      "created_at": "example",
      "id": "example",
      "note_tag_id": "example"
    }
  }
}
```

### Create a Portfolio Company Profile

Create a Portfolio Company Profile.

**Inputs**

- Name (`name`, text, required): Name.
- Website URL (`website_url`, text): Website URL.
- Currency (`currency`, text): Currency.
- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- Primary contact ID (`primary_contact_id`, text): Primary contact ID.
- Fiscal year end month (`fiscal_year_end_month`, number): Fiscal year end month. From 1 to 12.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "portfolio_company_profile": {
      "company_id": "example",
      "created_at": "example",
      "currency": "example",
      "fiscal_year_end_month": 1,
      "id": "example",
      "name": "example",
      "primary_contact_id": "example",
      "website_url": "example"
    }
  }
}
```

### Create a Portfolio Note

Create a Portfolio Note.

**Inputs**

- Name (`name`, text, required): Name.
- Content (`content`, text, required): Content.
- Portfolio company profile (`portfolio_company_profile_id`, text, required): Portfolio company profile ID.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "portfolio_note": {
      "content": "example",
      "created_at": "example",
      "id": "example",
      "name": "example",
      "portfolio_company_profile_id": "example"
    }
  }
}
```

### Get a Portfolio File

Get a Portfolio File.

**Inputs**

- Id (`id`, text, required): ID of the portfolio file
- Include download URL (`include_download_url`, text): Include a temporary download URL for the file. One of: `true`, `false`.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "portfolio_file": {
      "content_type": "example",
      "created_at": "example",
      "download_url": "example",
      "file_tag_ids": [
        "example"
      ],
      "id": "example",
      "name": "example",
      "portfolio_company_profile_id": "example",
      "portfolio_folder_id": "example",
      "size": 1
    }
  }
}
```

### Get Portfolio Note

Get Portfolio Note.

**Inputs**

- Id (`id`, text, required): ID of the portfolio note

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "portfolio_note": {
      "content": "example",
      "created_at": "example",
      "id": "example",
      "name": "example",
      "portfolio_company_profile_id": "example"
    }
  }
}
```

### List Contact Lists

List Contact Lists.

**Inputs**

- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "contact_lists": [
      {
        "company_id": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    }
  }
}
```

### List Data Points

List Data Points.

**Inputs**

- Metric (`metric_id`, text, required): ID of a metric or an array of metric IDs
- Page (`page`, number): Page number. At least 1.
- Page size (`page_size`, number): Number of data points per page (between 1 and 100). From 1 to 100.
- Start date (`start_date`, date): Beginning of date range (ISO 8601 date)
- End date (`end_date`, date): End of date range (ISO 8601 date)
- Exclude blank (`exclude_blank`, text): When set to 'true', excludes data points without a value. One of: `true`, `false`.
- Include source (`include_source`, text): **Experimental.** When set to 'true', includes a `source` object on. One of: `true`, `false`.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "data_points": [
      {
        "date": "example",
        "id": "example",
        "metric_id": "example",
        "source": {
          "label": {},
          "source_type": {},
          "visible_url": {}
        },
        "value": "example"
      }
    ],
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    }
  }
}
```

### List File Tags

List File Tags.

**Inputs**

- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "file_tags": [
      {
        "created_at": "example",
        "id": "example",
        "name": "example"
      }
    ],
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    }
  }
}
```

### List Metrics

List Metrics.

**Inputs**

- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- Page (`page`, number): Page number. At least 1.
- Filter (`filter`, object): Filter by portfolio company profile ID (Investor product only)

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "metrics": [
      {
        "company_id": "example",
        "created_at": "example",
        "frequency": "daily",
        "id": "example",
        "name": "example",
        "portfolio_company_profile_id": "example",
        "unit": "example"
      }
    ]
  }
}
```

### List Note Tags

List Note Tags.

**Inputs**

- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "note_tags": [
      {
        "color": "example",
        "company_id": "example",
        "created_at": "example",
        "id": "example",
        "name": "example",
        "updated_at": "example"
      }
    ]
  }
}
```

### List Portfolio Company Profiles

List Portfolio Company Profiles.

**Inputs**

- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "portfolio_company_profiles": [
      {
        "company_id": "example",
        "created_at": "example",
        "currency": "example",
        "fiscal_year_end_month": 1,
        "id": "example",
        "name": "example",
        "primary_contact_id": "example",
        "website_url": "example"
      }
    ]
  }
}
```

### List Portfolio Files

List Portfolio Files.

**Inputs**

- Portfolio company profile (`portfolio_company_profile_id`, text, required): ID of the portfolio company profile to filter by
- Portfolio folder ID (`portfolio_folder_id`, text): ID of a portfolio folder to filter by
- File tag ID (`file_tag_id`, text): File tag IDs to filter by
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "portfolio_files": [
      {
        "content_type": "example",
        "created_at": "example",
        "download_url": "example",
        "file_tag_ids": [
          {}
        ],
        "id": "example",
        "name": "example",
        "portfolio_company_profile_id": "example",
        "portfolio_folder_id": "example",
        "size": 1
      }
    ]
  }
}
```

### List Portfolio Folders

List Portfolio Folders.

**Inputs**

- Portfolio company profile (`portfolio_company_profile_id`, text, required): ID of the portfolio company profile to filter by
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "portfolio_folders": [
      {
        "id": "example",
        "name": "example",
        "portfolio_company_profile_id": "example"
      }
    ]
  }
}
```

### List Portfolio Notes

List Portfolio Notes.

**Inputs**

- Portfolio company profile (`portfolio_company_profile_id`, text, required): ID of the portfolio company profile to filter by
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "portfolio_notes": [
      {
        "content": "example",
        "created_at": "example",
        "id": "example",
        "name": "example",
        "portfolio_company_profile_id": "example"
      }
    ]
  }
}
```

### List Portfolio Properties

List Portfolio Properties.

**Inputs**

- Company ID (`company_id`, text): Leave blank to use the company saved when Visible was connected.
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "portfolio_properties": [
      {
        "company_id": "example",
        "data_type": "number",
        "id": "example",
        "name": "example"
      }
    ]
  }
}
```

### List Portfolio Property Options

List Portfolio Property Options.

**Inputs**

- Portfolio property (`portfolio_property_id`, text, required): ID of the portfolio property whose options you want to list
- Label (`label`, text): Optional label to filter options by (case-insensitive match)

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "portfolio_property_options": [
      {
        "id": "example",
        "label": "example",
        "portfolio_property_id": "example"
      }
    ]
  }
}
```

### List Portfolio Property Values

List Portfolio Property Values.

**Inputs**

- Portfolio company profile (`portfolio_company_profile_id`, text, required): ID of the portfolio company profile to filter by
- Page (`page`, number): Page number. At least 1.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "meta": {
      "page": 1,
      "total": 1,
      "total_pages": 1
    },
    "portfolio_property_values": [
      {
        "id": "example",
        "portfolio_company_profile_id": "example",
        "portfolio_property_id": "example",
        "portfolio_property_option_id": "example",
        "portfolio_property_option_ids": [
          {}
        ],
        "value": "example"
      }
    ]
  }
}
```

### Upsert Data Points

Upsert Data Points.

**Inputs**

- Metric (`metric_id`, text, required): ID of the metric
- Data points (`data_points`, list, required): Data points.

**Outputs**

- `data` (object): The response from Visible.vc.

**Example output**

```json
{
  "data": {
    "data_points": [
      {
        "date": "example",
        "id": "example",
        "metric_id": "example",
        "source": {
          "label": {},
          "source_type": {},
          "visible_url": {}
        },
        "value": "example"
      }
    ]
  }
}
```
