---
title: "/api/email-lists"
method: POST
path: "/api/email-lists"
---

# /api/email-lists

`POST /api/email-lists`

## Response `201`

Created

- object
  - `data` object, required
    - `id` integer, required
    - `uuid` string, uuid, required
    - `name` string, required
    - `slug` string
    - `description` string
    - `subscriber_count` number
    - `active_count` number
    - `unsubscribed_count` number
    - `bounced_count` number
    - `status` 'active' | 'inactive' | 'archived', required
    - `is_public` number
    - `double_opt_in` number
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `422` — Validation failed
- `500` — Server error

## Changes

> 36 revisions in range; 2 not diffed.

- **2026-08-16** `57aeb5fbc48c` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - added the success response with the status `201`
- **2026-07-29** `603f23fe9545` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stacksjs/apis/stacks-api/changes/api/email-lists/post.md)

---

[API](https://skmtc.dev/stacksjs/apis/stacks-api.md) · [All operations](https://skmtc.dev/stacksjs/apis/stacks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacksjs/stacks-api/revisions/fea859ba34de/schema)
