✉ MailCraft API Reference

Lists

Replace list

Verified
PUT/api/v1/lists/{id}

Full replace — an omitted description is cleared. Always send both fields.

Path Parameters

Body Parameters

Notes

Live 2026-11-02. Body { name, description }. Full replace confirmed: omitting description (or sending null) clears it to null. name is the only REQUIRED field (so 'every field required' in the docs is slightly off), but always send both. createdAt/id are unchanged. Missing name -> ProblemDetails 400; empty name -> { error } envelope 400 ValidationFailed; unknown id -> 404 bare ProblemDetails; wrong body type -> ProblemDetails 400 (UpdateListRequest).

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-7196010123c85f587b6afdcbf1aca829-1e2bd442b7280345-00"}
404errorNotFound{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.5", "title": "Not Found", "status": 404, "traceId": "00-bdc6077aa0fda4fc2e6e919e049efb16-44115a19ede8db33-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.UpdateListRequest. Path: $

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