.NET Framework
Install-Package ContentTools.Net -Version
dotnet add package ContentTools.Net --version
<PackageReference Include="ContentTools.Net" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ContentTools.Net --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ContentTools.Net,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ContentTools.Net as a Cake Addin
#addin nuget:?package=ContentTools.Net&version=

// Install ContentTools.Net as a Cake Tool
#tool nuget:?package=ContentTools.Net&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ContentTools .NET SDK

.Net SKD for ContentTools Rest API.

NuGet Package:

About ContentTools

It's a CMS platform to centralize content marketing operation: plan, manage, collaborate, publish. All in one place giving up email threads, spreadsheets, and lack of data.

Further information:

About Contentools Integration API Version 1

With Contentools Integration API, one can make requests to our software through a defined endpoint and retrieve data from their project. As of the API version 1, it is only possible to retrieve data through GET requests as long as it is an authenticated request. The request should be filled in the following format, adjusting with the company name as present in the software URL and desired endpoint.

For instance: https://[accountname][endpoint] Every response will come in JSON format with the data organized in Javascript objects.

For more information see V1 API Documentation.

About ContentTools .NET SDK

It's a SDK Rest API developed in .Net Framework 4.6+ consuming Contentools API Version 1.


  • .Net framework 4.6.1
  • Newtonsoft.Json 12.0.2
  • RestSharp 106.6.10

How to setup it

Just call the method ContentToolClient(string baseUrl, string token, string emailAccount, int projectId) with the following parameters:

  • baseUrl = https://[accountname][endpoint]
  • token = The API Token that needs to configure on ContentTools platform. For more information see here.
  • emailAccount = Your email account on Content Tools platform.
  • projectId = Your content project id on Content Tools.

In ContentTools.Client console project there is a good example using appSettings keys.

Returning values

After setup, the object instanced ContentToolClient has the property Posts that connects to endpoint public_content. Using the method Get() it's enough to return contents from ContentTools.

ContentToolClient client = new ContentToolClient(baseUrl, token, emailAccount, projectId);
var posts = client.Posts.Get();

Using filters

Use the method AddFilter() with the following signatures to filter contents:

void AddFilter(ContentType contentType);
void AddFilter(Paginate paginate);
void AddFilter(bool getDeletedContents = true);
void AddFilter(Status status);
void AddFilter(DateTime? dategt, DateTime? datelt)
void AddFilter(int limit)
ContentType filter

A Enum with the following definations:

Paginate filter

A class with two main properties that possibiliy paginate data. Limit to define how many contents should be returned and Offset a number of contents to skip.

public int Limit { get; set; }      
public int Offset { get; set; }
GetDeletedContents filter

A boolean property to able Rest API return deleted contents. False is default

bool getDeletedContents = false
Status filter

A Enum with the following definations:

[Description("In progress")]
InProgress = 1,
Finished = 2,
Archived = 3,
Published = 4,
Delayed = 5,
Scheduled = 6
DateTime filter

A date range with optional startDate and endDate.

DateTime? dategt, DateTime? datelt` 

Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 2,167 4/15/2020 341 10/2/2019 376 10/2/2019
1.0.0 381 10/2/2019

New filter (limit) applied and new propertie (PublishDateCreated)