---
title: "Add List"
method: POST
path: "/lists"
tags: ["Lists"]
---

# Add List

`POST /lists`

Add a new list. Required Access Level: ModifyContacts

## Request body

- ListPayload
  - `ListName` string, string, required — Name of your list.
  - `AllowUnsubscribe` boolean — True: Allow unsubscribing from this list. Otherwise, false
  - `Emails` string[] — Comma delimited list of existing contact emails that should be added to this list. Leave empty for all contacts

## Response `201`

Created

- ContactsList — List of Lists, with detailed data about its contents.
  - `ListName` string, string — Name of your list.
  - `PublicListID` string, guid, nullable — ID code of list. Please note that this is different from the listid field.
  - `DateAdded` string, date-time — Date of creation in YYYY-MM-DDThh:ii:ss format
  - `AllowUnsubscribe` boolean — True: Allow unsubscribing from this list. Otherwise, false

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
