- [Home page](https://www.brimit.com/)
- [Blog](https://www.brimit.com/blog)

# Sitecore Send APIs

[Tech Talks](https://www.brimit.com/blog?categories=Tech%20Talks) [DXP](https://www.brimit.com/blog?platforms=DXP)
[Igor Zharikov](https://www.brimit.com/blog/author?authors=Igor%20Zharikov) on May 16, 2024

![Sitecore Send APIs](https://www.brimit.com/-/jssmedia/images/blog/sitecore-send-apis/sitecoresendapisv11.png?h=1040&iar=0&w=2660&hash=BB68640DDF6AD9540B90B9F153BAF511)

#### Introduction

* * *

The result repository: [**Sitecore Send APIs (Unofficial)**](https://github.com/izharikov/SitecoreSend)

* * *

During Sitecore SUGCON EU 2024 in Dublin I attended [Alex Doroshenko's](https://twitter.com/adoprog) presentation **"It is all about APIs"**. I really enjoyed it and I share the same passion and love to the APIs as him: APIs are powerful and it's always good to have an option: do something using UI or API.

One part of his presentation was about **Sitecore Send APIs**. Overall there are not so much information about it, apart from [Documented API](https://doc.sitecore.com/send/en/developers/api-documentation/introduction-to-the-sitecore-send-api.html).

So I came up with an idea: why not to summarize all **Sitecore Send APIs** references available (together with some experience I have with other APIs) into one place and share it with a community, so here's [**Git repository**](https://github.com/izharikov/SitecoreSend) about it.

#### Structure

##### .NET Client

.NET Client for Sitecore Send is published to [Nuget](https://www.nuget.org/packages/SitecoreSend.SDK) and can be used in your application.

Usage is the following:

```
var apiConfiguration = new ApiConfiguration
{
    ApiKey = "[YOUR API KEY]",
};

// or any other service
IMailingListService mailingListService = new MailingListService(apiConfiguration);

var response = await mailingListService.GetAllMailingLists();

// ensure response is not null and Success is true
if (response is {Success: true})
{
    IList<MailingList>? allLists = response.Data?.MailingLists;
    // handle allLists
}
```

Currently it's a wrapper around [Sitecore Send Documented API](https://doc.sitecore.com/send/en/developers/api-documentation/introduction-to-the-sitecore-send-api.html). But I'm planning to extend it.

I also implemented integration tests, so you can reference [README](https://github.com/izharikov/SitecoreSend/tree/main/dotnet#integration-tests) for running them. Also those tests can be used as example of usage the client.

##### Postman

[Postman collection](https://www.brimit.com/blog/api/postman/collection/Sitecore Send API.postman_collection.json) was generated based on previously generated for Moosend  (see [article](https://neilkillen.com/2021/12/16/creating-a-postman-collection-for-sitecore-send-moosend/) from Neil Killen for more details).

It contains the following folders:

- `Public API` - documented API
- `Internal API` - some internal API, which is used in Sitecore Send admin panel.
- `Tracking API` - API requests used to track Sitecore Send events

Features:

- `apiKey` should be configured on Environment level and is automatically used in all requests
- internal variables, e.g. `CampaignID` or `mailingListId` - you can retrieve it once by id and then use in other get statistics / update requests

Configure API Key:

![configure api key](https://www.brimit.com/-/media/images/blog/sitecore-send-apis/postman_configure_apikey.png)

Variable set is implemented using `Tests` section:

![set Postman variable](https://www.brimit.com/-/media/images/blog/sitecore-send-apis/postman_variables_set.png)

##### Open API (Swagger) specification

One more thing was to provide a way to generate API clients for any language (not only C#). So best tool I know is Open API.

Using documentation and Chat GPT I generated really large [specification file](https://github.com/izharikov/SitecoreSend/blob/main/api/openapi/swagger.yml) - 3308 lines currently.

You just need to authorize and run requests:

![Swagger](https://www.brimit.com/-/media/images/blog/sitecore-send-apis/swagger.png)

Client for your language can be generated just directly from [SwaggerHub](https://app.swaggerhub.com/apis/ZHARIKOVIGOR97/sitecoresendapi/latest):

![Open API client generate](https://www.brimit.com/-/media/images/blog/sitecore-send-apis/openapi_client_generate.png)

Just to show the process of generate in Chat GPT:

![Open API generation process with Chat GPT](https://www.brimit.com/-/media/images/blog/sitecore-send-apis/openapi_gtp_generate.png)

Quite long and monotonous work, but it was worth it.

#### Current state and contributions

.Net SDK library is still in progress and you can check roadmap in the [dotnet README](https://github.com/izharikov/SitecoreSend/tree/main/dotnet).

If you're Sitecore Send enthusiast and have some ideas how to improve (or something is not working / you found a bug) - fill free to contact me via [email](mailto:zharikovigor97@gmail.com), in [Sitecore Slack](https://sitecore.chat/) or in [X](https://twitter.com/i_zharikov).

#### Conclusion

I hope this repository can be place, where any developer working with Sitecore Send can find something useful for everyday work.

Later I'll share some examples how to use Sitecore Send APIs for automation and make your developer's life easier.

###### More From Author

##### Extending Claude Code for Sitecore XP Development
September 14, 2026[Extending Claude Code for Sitecore XP Development](https://www.brimit.com/blog/sitecore-xp-claude-setup)

##### Sitecore 10.5 Release
August 7, 2026[Sitecore 10.5 Release](https://www.brimit.com/blog/sitecore-10-5-whats-new)

##### Sitecore Marketplace SDK Integration with Vercel AI SDK
February 25, 2026[Sitecore Marketplace SDK Integration with Vercel AI SDK](https://www.brimit.com/blog/sitecore-marketplace-sdl-integration-with-vercel-ai-sdk)

###### Author

![Igor Zharikov - Senior Sitecore Developer, Sitecore MVP](https://www.brimit.com/-/jssmedia/feature/blogs/authors/igor-zharikov-2.jpg?h=700&iar=0&w=700&hash=292A84E8CB3E5CE57CA743385CFB1464)

Igor Zharikov

Sitecore MVP / Senior Sitecore Developer
[Igor Zharikov](https://www.brimit.com/blog/author?authors=Igor%20Zharikov)

###### More By Categories

[#Events](https://www.brimit.com/blog?categories=#Events) [#How-to](https://www.brimit.com/blog?categories=#How-to) [#News](https://www.brimit.com/blog?categories=#News) [#Guides](https://www.brimit.com/blog?categories=#Guides)

###### More by Platform

[Data and AI](https://www.brimit.com/blog?platforms=Data%20and%20AI) [DXP](https://www.brimit.com/blog?platforms=DXP) [E-commerce](https://www.brimit.com/blog?platforms=E-commerce) [Internet of Things](https://www.brimit.com/blog?platforms=Internet%20of%20Things) [Sales and marketing automation](https://www.brimit.com/blog?platforms=Sales%20and%20marketing%20automation)

#### More on Sitecore

![How Vercel Will Help You Save Effort When Deploying Sophisticated Sitecore Projects](https://www.brimit.com/-/jssmedia/project/brimit/blog/2024/vercel_cover-image.png)
#Guides #How-to DXP E-commerce

##### How Vercel Will Help You Save Effort When Deploying Sophisticated Sitecore Projects

Optimize and accelerate the development and deployment of complex multisite Sitecore projects.

Alexei Vershalovich on July 17, 2024
[How Vercel Will Help You Save Effort When Deploying Sophisticated Sitecore Projects](https://www.brimit.com/blog/how-vercel-will-help-you-save-effort-when-deploying-sophisticated-sitecore-projects)

![Training Up Tomorrow's Sitecore MVPs: a Mentoring Success Story](https://www.brimit.com/-/jssmedia/project/brimit/blog/2023/sitecore-mentoring---cover-image.png)
#How-to DXP

##### Training Up Tomorrow's Sitecore MVPs: a Mentoring Success Story

How to participate in the Sitecore Mentor program and help younger colleagues jump-start a career in Sitecore development.

Sergey Baranov on October 2, 2023
[Training Up Tomorrow's Sitecore MVPs: a Mentoring Success Story](https://www.brimit.com/blog/training-up-tomorrows-sitecore-mvps)

![Going Headless. Part 2: When a Headless CMS Is Your Best Bet (if you have Sitecore)](https://www.brimit.com/-/jssmedia/project/brimit/blog/2022/headless/adobestock_456986731.jpg)
#How-to DXP E-commerce

##### Going Headless. Part 2: When a Headless CMS Is Your Best Bet (if you have Sitecore)

Discover how a headless CMS can benefit organizations that use Sitecore.

Daniil Raschupkin, Palina Trokhautsava on September 15, 2022
[Going Headless. Part 2: When a Headless CMS Is Your Best Bet (if you have Sitecore)](https://www.brimit.com/blog/going-headless-part-2-when-a-headless-cms-is-your-best-bet-if-you-have-sitecore)
