.NET SDK

Apideck offers a native SDK for .NET. Choose one language below to see our API Reference in your application’s language.

Command Line
dotnet add package ApideckUnifySdk

Getting started

The module supports all Apideck API endpoints. For complete information about the API, head to the docs. All endpoints require a valid apiKey so that's the only required parameter to initialize a new Apideck client

.NET
using ApideckUnifySdk;
using ApideckUnifySdk.Models.Components;
using ApideckUnifySdk.Models.Requests;
using System.Collections.Generic;

var sdk = new Apideck(
    apiKey: "<YOUR_BEARER_TOKEN_HERE>",
    consumerId: "<insert-consumer-id-here>",
    appId: "<insert-application-id-here>"
);

CrmContactsAllRequest req = new CrmContactsAllRequest() {
    ServiceId = "salesforce",
    Filter = new ContactsFilter() {
        FirstName = "Elon",
        LastName = "Musk",
        Email = "elon@tesla.com",
        CompanyId = "12345",
        OwnerId = "12345",
    },
    Sort = new ContactsSort() {
        By = ContactsSortBy.CreatedAt,
        Direction = SortDirection.Desc,
    },
    PassThrough = new Dictionary<string, object>() {
        { "search", "San Francisco" },
    },
    Fields = "id,updated_at",
};

CrmContactsAllResponse? res = await sdk.Crm.Contacts.ListAsync(req);

while(res != null)
{
    // handle items

    res = await res.Next!();
}