✉ MailCraft API Reference

Contacts

List contacts

Verified
GET/api/v1/contacts

Returns contacts, cursor-paged. Omitting limit returns every contact. after/before are silently ignored — page only with cursor.

Query Parameters

Notes

Live response is { items, nextCursor } (no hasMore, no data). Query: tagId, listId, limit, cursor. See list-contacts-paged.json for paging. A non-GUID listId/tagId or non-numeric limit returns an ASP.NET ProblemDetails 400 (not the { error } envelope). An unknown but valid GUID tagId returns 200 with items: [].

Errors

StatusCaseBody
400error{"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"listId": ["The value 'not-a-guid' is not valid."]}, "traceId": "00-e85cb5ddef0499aa5249e28701b4a68b-ff2186ee8e7134fe-0

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