---
title: "Create Microsite"
method: POST
path: "/api/microsites"
tags: ["cloudpages"]
---

# Create Microsite

`POST /api/microsites`

## Request

- Base URL: `https://app.sentientmail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.sentientmail.com/api/microsites`
- Auth: none declared

## Cookies

- `esp_session` string, nullable

## Request body

- MicrositeBody
  - `name` string, required
  - `slug` string, required
  - `theme` object, nullable
  - `published` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sentientmail/apis/sentientmail.md) · [All operations](https://skmtc.dev/sentientmail/apis/sentientmail/llms.txt) · [OpenAPI document](https://skmtc.dev/sentientmail/apis/sentientmail/revisions/4c87ece26935?raw)
