C# API client for HubSpot company endpoints.
// Source: https://github.com/hubspot-net/HubSpot.NET | License: MIT | Copyright 2018 Squared Up
// Provided via justclaw.it.com; keep this notice with the code.
namespace HubSpot.NET.Api.Company
{
using HubSpot.NET.Api.Company.Dto;
using HubSpot.NET.Core;
using HubSpot.NET.Core.Abstracts;
using HubSpot.NET.Core.Interfaces;
using RestSharp;
using System;
using System.Linq;
using System.Net;
public class HubSpotCompanyApi : ApiRoutable, IHubSpotCompanyApi
{
private readonly IHubSpotClient _client;
public override string MidRoute => "/companies/v2";
public HubSpotCompanyApi(IHubSpotClient client)
{
_client = client;
}
/// <summary>
/// Creates a Company entity
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key