Quick Installation

Get started with Planhat in .NET in under a minute

Terminal
dotnet add package ApideckUnifySdk
using ApideckUnifySdk;
using ApideckUnifySdk.Models.Requests;

var sdk = new Apideck(
    apiKey: Environment.GetEnvironmentVariable("APIDECK_API_KEY"),
    appId: Environment.GetEnvironmentVariable("APIDECK_APP_ID"),
    consumerId: "user-123"
);

// Connect to Planhat
var connections = await sdk.Vault.Connections.ListAsync(
    api: "crm"
);

// List data from Planhat
var contacts = await sdk.Crm.Contacts.ListAsync(
    new CrmContactsAllRequest() {
        ServiceId = "planhat"
    }
);

Console.WriteLine(contacts);

Why use the .NET SDK?

Type Safety

Full type definitions for .NET. Catch errors at compile time, not runtime.

Auto-generated

SDK is auto-generated from our OpenAPI spec, always up-to-date with the latest API.

Error Handling

Built-in error types and retry logic. Handle rate limits and errors gracefully.

Pagination

Automatic pagination handling. Iterate through large datasets effortlessly.

Authentication

OAuth, API keys, and consumer tokens handled automatically.

Documentation

Comprehensive docs with examples for every endpoint and method.

Planhat available in all SDKs

Choose your preferred language

API Resources

Planhat resources available

All these Planhat endpoints are accessible via the .NET SDK

Launch accounting integrations in weeks, not months

Get started for free