---
title: "ESP creation"
method: POST
path: "/esps/"
tags: ["Email Service Providers"]
---

# ESP creation

`POST /esps/`

## Request

- Base URL: `http://api.cannoli.app/api/v1`
- URL: `http://api.cannoli.app/api/v1/esps/`
- Auth: none declared

Here you can integration your own ESP accounts. We currently have support for the following providers:
* KL: Klaviyo
* MC: Mailchimp

In order to create a new ESP you must send the API key generated on your account, as well as which ESP
it belongs to. The previous list contains the two character value you must send create the ESP integration,
but you can also find it below in the possible values for `email_service_provider`.

## Request body

- EmailServiceProvider
  - `id` integer
  - `key` string, required
  - `email_service_provider` 'KL' | 'MC', required

## Response `201`

Created

- EmailServiceProvider
  - `id` integer
  - `key` string, required
  - `email_service_provider` 'KL' | 'MC', required

---

[API](https://skmtc.dev/cannoli/apis/cannoli-backend-api.md) - [All operations](https://skmtc.dev/cannoli/apis/cannoli-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cannoli/apis/cannoli-backend-api/revisions/d27aef14fd7a?raw)
