Contacts
List contacts
VerifiedGET
/api/v1/contactsReturns contacts, cursor-paged. Omitting limit returns every contact. after/before are silently ignored — page only with cursor.
Query Parameters
listIdstringOnly contacts in this list.
tagIdstringOnly contacts with this tag.
limitintegerPage size. Omit (or 0) to return everything.
cursorstringnextCursorfrom the previous page.
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
| Status | Case | Body |
|---|---|---|
| 400 | error | {"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.