The HubSpot REST API nuget package, authored by Panoramic Data Limited.
If you want some HubSpot software developed, come find us at: https://www.panoramicdata.com/ !
A simple example:
using HubSpot.Api;
[...]
public static async Task GetAllDeals(ILogger logger, CancellationToken cancellationToken)
{
using var hubSpotClient = new HubSpotClient(
new HubSpotClientOptions
{
AccessToken = "[ACCESSTOKEN]",
Logger = logger
}
);
var deals = await hubSpotClient
.Deals
.GetPageAsync(cancellationToken: cancellationToken)
.ConfigureAwait(false);
Console.WriteLine($"Deal Count: {deals.Results.Count}");
}
This table provides a full list of HubSpot APIs, built from this JSON file, including references to their documentation and coverage in this library.
We're aiming for full coverage and all Pull Requests are welcome.
Key:
Symbol | API Coverage |
---|---|
⚫ | None |
🟡 | Partial |
🟩 | Full |
Type | Object | Documentation | HubSpot API Status | Nuget Coverage |
---|---|---|---|---|
Analytics | Analytics | Link | Developer Preview | ⚫ |
Auth | Auth | Link | Latest | ⚫ |
Automation | Automation | Link | Latest | ⚫ |
Business Units | Business Units | Link | Stable | ⚫ |
Communication Preferences | Communication Preferences | Link | Developer Preview | ⚫ |
Conversations | Conversations | Link | Latest | ⚫ |
CMS | Domains | Link | Developer Preview | 🟡 |
CMS | Source Code | Link | Developer Preview | ⚫ |
CMS | Blog Posts | Link | Developer Preview | ⚫ |
CMS | Authors | Link | Developer Preview | ⚫ |
CMS | URL Redirects | Link | Developer Preview | ⚫ |
CMS | Performance | Link | Developer Preview | ⚫ |
CMS | Hubdb | Link | Developer Preview | ⚫ |
CMS | Tags | Link | Developer Preview | ⚫ |
CMS | Audit Logs | Link | Developer Preview | ⚫ |
CMS | Site Search | Link | Developer Preview | ⚫ |
CRM | Accounting | Link | Latest | ⚫ |
CRM | Associations | Link | Latest | ⚫ |
CRM | Associations (v4) | Link | Stable | ⚫ |
CRM | Calling | Link | Latest | ⚫ |
CRM | Companies | Link | Latest | 🟡 |
CRM | Contacts | Link | Latest | 🟡 |
CRM | Extensions | Link | Latest | ⚫ |
CRM | Deals | Link | Latest | 🟡 |
CRM | Feedback Submissions | Link | Developer Preview | 🟡 |
CRM | Imports | Link | Latest | ⚫ |
CRM | Line Items | Link | Latest | 🟡 |
CRM | Objects | Link | Latest | ⚫ |
CRM | Owners | Link | Latest | ⚫ |
CRM | Pipelines | Link | Latest | ⚫ |
CRM | Properties | Link | Latest | ⚫ |
CRM | Quotes | Link | Latest | ⚫ |
CRM | Schemas | Link | Latest | ⚫ |
CRM | Tickets | Link | Latest | 🟡 |
CRM | Timeline | Link | Latest | ⚫ |
CRM | Videoconferencing | Link | Latest | ⚫ |
Events | Events | Link | Developer Preview | ⚫ |
Marketing | Marketing Events (beta) | Link | Latest | ⚫ |
Marketing | Transactional | Link | Latest | ⚫ |
Webhooks | Webhooks | Link | Latest | ⚫ |