✉ MailCraft API Reference

Lists

Create list

Verified
POST/api/v1/lists

Creates a list. Returns 200. Duplicate names are allowed.

Body Parameters

Notes

Live 2026-11-02. Body { name, description? }. name is the only required field; description is optional (null when omitted). Success is 200 (not 201) and returns the list. Duplicate names are ALLOWED (a second create with the same name returned 200 with a new id). Missing name -> ASP.NET ProblemDetails 400; empty name -> { error } envelope 400 ValidationFailed; wrong body type / name not a string -> ProblemDetails 400.

Errors

StatusCaseBody
400error{"error": {"code": "ValidationFailed", "message": "List name is required."}}
400errorMissingName{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"Name": ["The Name field is required."]}, "traceId": "00-5335b0cfb0eeeb7fd28a6e23b2885a06-409ed6cfbe656886-00"}
400errorWrongBodyType{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"$": ["The JSON value could not be converted to MailchimpClone.Web.Controllers.Api.V1.Lists.CreateListRequest. Path: $

Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.