# Dealfront

> See which companies visit your website, look up company and contact data, and manage lists and tags.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/dealfront

## Actions

### Add company to lists

Add a company to one or more company lists.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company ID (`company_id`, text, required): Dealfront's ID for the company.
- Lists (`list_ids`, list, required): The company lists to add it to.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Add contact to lists

Add a contact to one or more contact lists.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Contact ID (`contact_id`, text, required): Dealfront's ID for the contact.
- Lists (`list_ids`, list, required): The contact lists to add them to.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Create list

Create a company list or a contact list.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Name (`name`, text, required): The new list's name.
- List of (`scope`, text, required): Whether the list holds companies or contacts. One of: `company`, `contact`.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "app_url": "example",
        "created_at": "example",
        "name": "example",
        "scope": "example",
        "updated_at": "example"
      },
      "id": "example",
      "relationships": {
        "created_by": {
          "id": "example",
          "type": "example"
        }
      },
      "type": "example"
    },
    "meta": {
      "request_id": "example"
    }
  }
}
```

### Create tag

Create a tag to put on companies.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Name (`name`, text, required): The tag's name.
- Color (`color`, number, required): The tag's color, by Dealfront's color number from 0 to 9. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "color": 1,
        "created_at": "example",
        "name": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "example"
    },
    "meta": {
      "request_id": "example"
    }
  }
}
```

### Delete list

Delete a list. The companies or contacts in it stay in Dealfront.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- List (`list_id`, text, required): The list to delete.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Delete tag

Delete a tag and take it off every company it was on. It can't be recovered.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Tag (`tag_id`, text, required): The tag to delete.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Find company from IP address

Find the company behind an IPv4 or IPv6 address. Needs Dealfront's IP Enrich product.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- IP address (`ip`, text, required): The IP address, such as 185.70.216.139.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "company_type": "example",
        "confidence_score": "example",
        "ip_address": "example",
        "location": {}
      },
      "id": "example",
      "relationships": {
        "company": {
          "attributes": {
            "address": {
              "city": "example",
              "country": "example",
              "country_code": "example",
              "postal_code": "example",
              "region": "example",
              "region_code": "example",
              "street_address": "example"
            },
            "alternative_names": [
              "example"
            ],
            "app_url": "example",
            "custom_fields": {},
            "description": "example",
            "earnings": {
              "currency": "example",
              "estimated": true,
              "value": 1,
              "year": 1
            },
            "emails": [
              {}
            ],
            "employee_count": 1,
            "employee_range": "example",
            "founded_year": 1,
            "industries": {
              "industry": [
                {}
              ],
              "nace": [
                {}
              ],
              "wz": [
                {}
              ]
            },
            "intent": {
              "last_updated_at": "example",
              "score": 1,
              "score_tier": "example"
            },
            "keywords": [
              "example"
            ],
            "legal_form": "example",
            "logo_url": "example",
            "name": "example",
            "phones": [
              {}
            ],
            "register": {
              "id": "example",
              "location": "example",
              "status": "example"
            },
            "revenue": {
              "currency": "example",
              "estimated": true,
              "value": 1,
              "year": 1
            },
            "role": "example",
            "social_media_profiles": {
              "linkedin": [
                {}
              ],
              "twitter": [
                {}
              ]
            },
            "url": "example",
            "vat_id": "example",
            "web_engagement": {
              "last_visit_date": "example"
            }
          },
          "id": "example",
          "type": "example"
        }
      },
      "type": "example"
    },
    "meta": {
      "request_id": "example"
    }
  }
}
```

### Get company

Get a company's full profile: firmographics, contact details, industries, financials and intent. Uses one credit unless the account opened the company in the last 12 months.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company ID (`company_id`, text, required): Dealfront's ID for the company.
- Include (`include`, list): Related records to add to the answer. One or more of: `tags`, `lists`, `web_visits` (Web visits), `icps` (Ideal customer profiles), `group_company` (Group company).

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "address": {
          "city": "example",
          "country": "example",
          "country_code": "example",
          "postal_code": "example",
          "region": "example",
          "region_code": "example",
          "street_address": "example"
        },
        "alternative_names": [
          "example"
        ],
        "app_url": "example",
        "custom_fields": {},
        "description": "example",
        "earnings": {
          "currency": "example",
          "estimated": true,
          "value": 1,
          "year": 1
        },
        "emails": [
          {}
        ],
        "employee_count": 1,
        "employee_range": "example",
        "founded_year": 1,
        "industries": {
          "industry": [
            {}
          ],
          "nace": [
            {}
          ],
          "wz": [
            {}
          ]
        },
        "intent": {
          "last_updated_at": "example",
          "score": 1,
          "score_tier": "example"
        },
        "keywords": [
          "example"
        ],
        "legal_form": "example",
        "logo_url": "example",
        "name": "example",
        "phones": [
          {}
        ],
        "register": {
          "id": "example",
          "location": "example",
          "status": "example"
        },
        "revenue": {
          "currency": "example",
          "estimated": true,
          "value": 1,
          "year": 1
        },
        "role": "example",
        "social_media_profiles": {
          "linkedin": [
            {}
          ],
          "twitter": [
            {}
          ]
        },
        "url": "example",
        "vat_id": "example",
        "web_engagement": {
          "last_visit_date": "example"
        }
      },
      "id": "example",
      "relationships": {
        "group_company": {},
        "lists": [
          {
            "id": "example",
            "type": "example"
          }
        ],
        "tags": [
          {
            "id": "example",
            "type": "example"
          }
        ]
      },
      "type": "example"
    },
    "meta": {
      "credits": {
        "charged": 1
      }
    }
  }
}
```

### Get company signals

Get news-based buying signals for companies: expansion, leadership changes, funding, job ads and more. Uses one credit per company with signals the account hasn't opened in the last 12 months.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company IDs (`company_ids`, list, required): Dealfront IDs of the companies to get signals for.
- Categories (`categories`, list): Only signals of these kinds. One or more of: `business_expansion` (Business expansion), `competitive_landscape` (Competitive landscape), `event_participation` (Event participation), `industry_recognition` (Industry recognition), `leadership_changes` (Leadership changes), `mergers_and_acquisitions` (Mergers and acquisitions), `customer_acquisition` (Customer acquisition), `investment_activity` (Investment activity), `product_and_service_development` (Product and service development), `partnerships_collaborations` (Partnerships and collaborations), and 4 more.
- Published from (`published_from`, date): Only signals published on or after this day.
- Published to (`published_to`, date): Only signals published on or before this day.
- Cursor (`cursor`, text): Where the next page of signals starts, from the last answer's meta.pagination.next_cursor.
- Page size (`page_size`, number): How many signals to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "category": "example",
          "content": "example",
          "event_date": "example",
          "language_code": "example",
          "publication_date": "example",
          "signal_type": "example",
          "source_url": "example",
          "title": "example"
        },
        "id": "example",
        "relationships": {
          "company": {
            "id": "example",
            "type": "example"
          }
        },
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "next_cursor": "example",
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### Get contact

Get a contact's full profile: emails, phones, position, departments and social profiles. Uses one credit unless the account opened the contact in the last 12 months.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Contact ID (`contact_id`, text, required): Dealfront's ID for the contact.
- Include (`include`, list): Related records to add to the answer. One or more of: `company`, `lists`, `buyer_personas` (Buyer personas).

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "address": {
          "city": "example",
          "country": "example",
          "country_code": "example",
          "postal_code": "example",
          "region": "example",
          "region_code": "example",
          "street_address": "example"
        },
        "affiliation": "example",
        "custom_fields": {},
        "departments": [
          "example"
        ],
        "emails": [
          {}
        ],
        "first_name": "example",
        "gender": "example",
        "hierarchy_level": "example",
        "last_name": "example",
        "phones": [
          {}
        ],
        "position": {},
        "social_media_profiles": {
          "linkedin": [
            {}
          ],
          "xing": [
            {}
          ]
        },
        "title": "example"
      },
      "id": "example",
      "relationships": {
        "company": {
          "id": "example",
          "type": "example"
        },
        "lists": [
          {
            "id": "example",
            "type": "example"
          }
        ]
      },
      "type": "example"
    },
    "meta": {
      "credits": {
        "charged": 1
      }
    }
  }
}
```

### Get current user

Get the Dealfront user the API key belongs to.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "country_code": "example",
        "email": "example",
        "first_name": "example",
        "last_name": "example",
        "phone_number": "example",
        "team_role": "example"
      },
      "id": "example",
      "type": "example"
    },
    "meta": {
      "request_id": "example"
    }
  }
}
```

### List accounts

List the Dealfront accounts the API key reaches. Ask for one account to get its credit balance too.

**Inputs**

- Account (`account_id`, text): Only this account, with its credits.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "credits": {
            "available": 1,
            "credits_pools": [
              {}
            ],
            "remaining": 1,
            "used": 1
          },
          "name": "example"
        },
        "id": "example",
        "type": "example"
      }
    ],
    "meta": {
      "request_id": "example"
    }
  }
}
```

### List custom feeds

List the custom feeds of website visitors you can see.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "app_url": "example",
          "created_at": "example",
          "deletable": true,
          "name": "example",
          "updated_at": "example"
        },
        "id": "example",
        "type": "example"
      }
    ],
    "meta": {
      "request_id": "example"
    }
  }
}
```

### List items in list

List the IDs of the companies or contacts in a list. Get company or Get contact gives their details.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- List (`list_id`, text, required): The list.
- Cursor (`cursor`, text): Where the next page of items starts, from the last answer's meta.pagination.next_cursor.
- Page size (`page_size`, number): How many items to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "id": "example",
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "next_cursor": "example",
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### List lists

List the account's company lists or contact lists.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Lists of (`scope`, text, required): Whether to list company lists or contact lists. One of: `company`, `contact`.
- Name (`name`, text): Only lists whose name contains this text.
- Sort by (`sort_by`, text): What to order the lists by. One of: `name`, `created_at` (Created at), `updated_at` (Updated at).
- Sort direction (`sort_direction`, text): Ascending or descending. Dealfront's default is ascending. One of: `asc` (Ascending), `desc` (Descending).
- Page number (`page_number`, number): Which page of lists to show. Starts at 1. At least 1.
- Page size (`page_size`, number): How many lists to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "app_url": "example",
          "created_at": "example",
          "name": "example",
          "scope": "example",
          "updated_at": "example"
        },
        "id": "example",
        "relationships": {
          "created_by": {
            "id": "example",
            "type": "example"
          }
        },
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "page_count": 1,
        "page_num": 1,
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### List tags

List the tags that can be put on companies.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Page number (`page_number`, number): Which page of tags to show. Starts at 1. At least 1.
- Page size (`page_size`, number): How many tags to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "color": 1,
          "created_at": "example",
          "name": "example",
          "updated_at": "example"
        },
        "id": "example",
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "page_count": 1,
        "page_num": 1,
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### List website visitor companies

List the companies that visited your website between two dates, with their details, location and first visit in that time.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Start date (`start_date`, date, required): The first day of visits to include.
- End date (`end_date`, date, required): The last day of visits to include.
- Custom feed (`custom_feed_id`, text): Only companies in this custom feed.
- Sort by (`sort_by`, text): What to order the companies by. Dealfront shows the latest visitors first unless told otherwise. One of: `last_visit` (Last visit), `intent_score` (Intent score).
- Sort direction (`sort_direction`, text): Ascending or descending. Dealfront's default is ascending. One of: `asc` (Ascending), `desc` (Descending).
- Page number (`page_number`, number): Which page of companies to show. Starts at 1. At least 1.
- Page size (`page_size`, number): How many companies to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "app_url": "example"
        },
        "id": "example",
        "relationships": {
          "company": {
            "attributes": {
              "address": {
                "city": "example",
                "country": "example",
                "country_code": "example",
                "postal_code": "example",
                "region": "example",
                "region_code": "example",
                "street_address": "example"
              },
              "alternative_names": [
                "example"
              ],
              "app_url": "example",
              "custom_fields": {},
              "description": "example",
              "earnings": {
                "currency": "example",
                "estimated": true,
                "value": 1,
                "year": 1
              },
              "emails": [
                {}
              ],
              "employee_count": 1,
              "employee_range": "example",
              "founded_year": 1,
              "industries": {
                "industry": [
                  {}
                ],
                "nace": [
                  {}
                ],
                "wz": [
                  {}
                ]
              },
              "intent": {
                "last_updated_at": "example",
                "score": 1,
                "score_tier": "example"
              },
              "keywords": [
                "example"
              ],
              "legal_form": "example",
              "logo_url": "example",
              "name": "example",
              "phones": [
                {}
              ],
              "register": {
                "id": "example",
                "location": "example",
                "status": "example"
              },
              "revenue": {
                "currency": "example",
                "estimated": true,
                "value": 1,
                "year": 1
              },
              "role": "example",
              "social_media_profiles": {
                "linkedin": [
                  {}
                ],
                "twitter": [
                  {}
                ]
              },
              "url": "example",
              "vat_id": "example",
              "web_engagement": {
                "last_visit_date": "example"
              }
            },
            "id": "example",
            "type": "example"
          },
          "first_visit": {
            "attributes": {
              "app_url": "example",
              "campaign": "example",
              "device_type": "example",
              "engagements": [
                {}
              ],
              "keyword": "example",
              "landing_page_path": "example",
              "medium": "example",
              "page_depth": 1,
              "referring_url": "example",
              "source": "example",
              "started_at": "example",
              "visit_length": 1,
              "visitor": {
                "email": "example",
                "first_name": "example",
                "last_name": "example"
              }
            },
            "id": "example",
            "type": "example"
          },
          "location": {
            "attributes": {
              "city": "example",
              "country": "example",
              "country_code": "example",
              "postal_code": "example",
              "region": "example"
            },
            "id": "example",
            "type": "example"
          }
        },
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "page_count": 1,
        "page_num": 1,
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### Match company

Find Dealfront's record for a company you know by name, website, VAT ID or register number. Matching uses no credits.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company name (`company_name`, text): The company's legal name.
- Website (`url`, text): The company's website.
- VAT ID (`vat_id`, text): The company's VAT ID.
- Register number (`register_id`, text): The company's commercial register number.
- Country code (`country_code`, text): The company's country, as a two-letter code such as DE.
- City (`city`, text): The company's city.
- Postal code (`postal_code`, text): The company's postal code.
- Street (`street`, text): The company's street address.
- Email (`email`, text): An email address of the company.
- Phone (`phone`, text): A phone number of the company, such as +4972150057501.
- Max results (`max_results`, number): How many matches to return, up to 20. From 1 to 20.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      [
        {
          "attributes": {},
          "id": "example",
          "relationships": {
            "company": {
              "id": "example",
              "type": "example"
            }
          },
          "type": "example"
        }
      ]
    ],
    "meta": {
      "credits": {
        "charged": 1
      }
    }
  }
}
```

### Remove company from lists

Take a company out of one or more company lists.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company ID (`company_id`, text, required): Dealfront's ID for the company.
- Lists (`list_ids`, list, required): The company lists to take it out of.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Remove contact from lists

Take a contact out of one or more contact lists.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Contact ID (`contact_id`, text, required): Dealfront's ID for the contact.
- Lists (`list_ids`, list, required): The contact lists to take them out of.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Rename list

Change a list's name.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- List (`list_id`, text, required): The list to rename.
- Name (`name`, text, required): The list's new name.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "app_url": "example",
        "created_at": "example",
        "name": "example",
        "scope": "example",
        "updated_at": "example"
      },
      "id": "example",
      "relationships": {
        "created_by": {
          "id": "example",
          "type": "example"
        }
      },
      "type": "example"
    },
    "meta": {
      "request_id": "example"
    }
  }
}
```

### Search companies

Find companies by name or domain, location, industry, size, revenue and what details they have. Searching uses no credits.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Search terms (`search_terms`, list): Words to match against company names and domains.
- City (`city`, text): Only companies in this city.
- Country code (`country_code`, text): Only companies in this country, as a two-letter code such as DE.
- Employee ranges (`employee_ranges`, list): Company sizes to include, by number of employees. One or more of: `1-10` (1 to 10), `11-100` (11 to 100), `101-500` (101 to 500), `501-1.000` (501 to 1,000), `1.001-5.000` (1,001 to 5,000), `5.001-10.000` (5,001 to 10,000), `10.000+` (Over 10,000).
- Industry codes (`industry_codes`, list): Industry codes to include, from Dealfront's industry list or NACE or WZ.
- Classification (`classification`, text): Which list the industry codes come from. Dealfront's own unless told otherwise. One of: `internal` (Dealfront industries), `nace` (NACE codes), `wz` (WZ codes).
- Revenue min (`revenue_min`, number): Only companies with at least this yearly revenue, in euros. At least 0.
- Revenue max (`revenue_max`, number): Only companies with at most this yearly revenue, in euros. At least 0.
- Has email (`has_email`, true/false): Only companies with a known email address.
- Has phone (`has_phone`, true/false): Only companies with a known phone number.
- Ideal customer profile IDs (`icp_ids`, list): Only companies matching one of these ideal customer profiles, by ID.
- Cursor (`cursor`, text): Where the next page of companies starts, from the last answer's meta.pagination.next_cursor.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "meta": {},
          "name": "example",
          "register": {
            "status": "example"
          },
          "role": "example"
        },
        "id": "example",
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "next_cursor": "example",
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### Search contacts

Find people at companies by name or title, position, department, seniority and company location. Searching uses no credits.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Search terms (`search_terms`, list): Words to match against names and titles.
- Company IDs (`company_ids`, list): Only people at these companies, by Dealfront company ID.
- Positions (`positions`, list): Positions to look for, such as Chief Executive Officer.
- Departments (`departments`, list): Departments the people work in. One or more of: `management_department` (Management), `sales_department` (Sales), `it_department` (IT), `business_project_management_department` (Business and project management), `finance_controlling_department` (Finance and controlling), `engineering_department` (Engineering), `hr_department` (HR), `marketing_department` (Marketing), `consulting_department` (Consulting), `media_communications_department` (Media and communications), and 9 more.
- Hierarchy levels (`hierarchy_levels`, list): Seniority levels to include. One or more of: `top_management` (Top management), `middle_management` (Middle management), `employees`.
- Affiliation (`affiliation`, text): How the people relate to the company. One of: `employee`, `group_employee` (Employee of the group), `related`.
- Emails (`emails`, list): Email addresses to look for.
- Has email (`has_email`, true/false): Only people with a known email address.
- Has phone (`has_phone`, true/false): Only people with a known phone number.
- Cursor (`cursor`, text): Where the next page of contacts starts, from the last answer's meta.pagination.next_cursor.
- Page size (`page_size`, number): How many contacts to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "full_name": "example",
          "gender": "example",
          "hierarchy_level": "example",
          "meta": {},
          "position": {}
        },
        "id": "example",
        "relationships": {
          "company": {
            "id": "example",
            "type": "example"
          }
        },
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "next_cursor": "example",
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### Search website visits

List visits to your website between two dates, with the pages, source, visitor and company of each.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Start date (`start_date`, date, required): The first day of visits to include.
- End date (`end_date`, date, required): The last day of visits to include.
- Company IDs (`company_ids`, list): Only visits from these companies, by Dealfront company ID.
- Country codes (`country_codes`, list): Only visits from these countries, as two-letter codes such as DE.
- Cities (`cities`, list): Only visits from these cities.
- Page number (`page_number`, number): Which page of visits to show. Starts at 1. At least 1.
- Page size (`page_size`, number): How many visits to show on a page, up to 100. From 1 to 100.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "attributes": {
          "app_url": "example",
          "campaign": "example",
          "device_type": "example",
          "engagements": [
            {}
          ],
          "keyword": "example",
          "landing_page_path": "example",
          "medium": "example",
          "page_depth": 1,
          "referring_url": "example",
          "source": "example",
          "started_at": "example",
          "visit_length": 1,
          "visitor": {
            "email": "example",
            "first_name": "example",
            "last_name": "example"
          }
        },
        "id": "example",
        "relationships": {
          "company": {
            "attributes": {
              "address": {
                "city": "example",
                "country": "example",
                "country_code": "example",
                "postal_code": "example",
                "region": "example",
                "region_code": "example",
                "street_address": "example"
              },
              "alternative_names": [
                "example"
              ],
              "app_url": "example",
              "custom_fields": {},
              "description": "example",
              "earnings": {
                "currency": "example",
                "estimated": true,
                "value": 1,
                "year": 1
              },
              "emails": [
                {}
              ],
              "employee_count": 1,
              "employee_range": "example",
              "founded_year": 1,
              "industries": {
                "industry": [
                  {}
                ],
                "nace": [
                  {}
                ],
                "wz": [
                  {}
                ]
              },
              "intent": {
                "last_updated_at": "example",
                "score": 1,
                "score_tier": "example"
              },
              "keywords": [
                "example"
              ],
              "legal_form": "example",
              "logo_url": "example",
              "name": "example",
              "phones": [
                {}
              ],
              "register": {
                "id": "example",
                "location": "example",
                "status": "example"
              },
              "revenue": {
                "currency": "example",
                "estimated": true,
                "value": 1,
                "year": 1
              },
              "role": "example",
              "social_media_profiles": {
                "linkedin": [
                  {}
                ],
                "twitter": [
                  {}
                ]
              },
              "url": "example",
              "vat_id": "example",
              "web_engagement": {
                "last_visit_date": "example"
              }
            },
            "id": "example",
            "type": "example"
          },
          "location": {
            "attributes": {
              "city": "example",
              "country": "example",
              "country_code": "example",
              "postal_code": "example",
              "region": "example"
            },
            "id": "example",
            "type": "example"
          }
        },
        "type": "example"
      }
    ],
    "meta": {
      "pagination": {
        "page_count": 1,
        "page_num": 1,
        "total_count": 1
      },
      "request_id": "example"
    }
  }
}
```

### Tag company

Put one or more tags on a company.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company ID (`company_id`, text, required): Dealfront's ID for the company.
- Tags (`tag_ids`, list, required): The tags to put on it.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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

### Untag company

Take one or more tags off a company.

**Inputs**

- Account (`account_id`, text): The Dealfront account to use. Leave empty when the API key reaches only one.
- Company ID (`company_id`, text, required): Dealfront's ID for the company.
- Tags (`tag_ids`, list, required): The tags to take off it.

**Outputs**

- `data` (object): The response from Dealfront.

**Example output**

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