API docs

Reference · Lists

Upload a list

POST /api/v1/lists

Stores rows as a list (it shows up in the app). Then run find-contacts, verify or deep-search on it with listId. Most integrations skip this and send rows directly.

Credits: Free.

Body (JSON)

NameTypeRequiredWhat it is
namestringdefault "API List"
rowsarray of objectsyesup to 50,000
rows[].companystringBusiness name.
rows[].websitestringWebsite (any form: https://acme.com, acme.com/contact, www.acme.com).
rows[].domainstringDomain, if you have it instead of a website.
rows[].firstNamestring
rows[].lastNamestring
rows[].fullNamestringUsed when first and last name are not given separately.
rows[].jobTitlestring
rows[].emailstringThe email to check (verify).
rows[].phonestring
rows[].citystring
rows[].statestring
rows[].countrystringTwo-letter country code, e.g. US, CA, GB.
rows[].addressstringBusiness address. For US businesses it decides which state rules apply.
rows[].categorystring

Example request

Shell
curl -X POST "https://moleman.io/api/v1/lists" \
  -H "Authorization: Bearer $MOLEMAN_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Austin dentists","rows":[{"company":"Bright Smile Dental","website":"brightsmiledental.com","firstName":"Sarah","lastName":"Miller"}]}'

Example answer

JSON
{
  "listId": 381,
  "rowCount": 1,
  "contactIds": [
    4110
  ],
  "livemode": true
}

Errors

StatusCodeWhen
401missing_api_keyThe request has no API key.
401invalid_api_keyThe API key is not one of ours (a typo, a cut-off copy, or a key from another account that was deleted).
401revoked_api_keyThe API key was revoked on the API page. Revoking takes effect at once.
429rate_limitedMore than 120 requests in one minute with this key.
500server_errorSomething broke on our side. Nothing was charged for it.
400invalid_requestA parameter is missing, has the wrong type or is out of range. details lists every problem with its path.
400invalid_jsonThe body is not valid JSON.
409idempotency_in_progressA request with the same Idempotency-Key is still running.
422idempotency_key_reusedThe Idempotency-Key was already used in the last 24 hours with a different request.