Code Examples
3 min
legacy api — sunsets june 1, 2027 this page documents the original mailfloss api, which is being retired on june 1, 2027 new integrations should use the v1 api https //developers mailfloss com/quickstart add blacklist endpoint curl x post \\ \ url https //api mailfloss com/settings/{id}?api key={api key} \\ d '{"type" "blacklist","data" { "keyword" "mailfloss com", "localpart" false, "domain" true, "email" false, "match" "exact", }}' h "content type application/json" bulk add blacklist endpoint curl x post \\ \ url https //api mailfloss com/settings/{id}?api key={api key} \\ d '{"type" "blacklist", "data" \[{ "keyword" "mailfloss net", "localpart" false, "domain" true, "email" false, "match" "exact" }, { "keyword" "mailfloss io", "localpart" false, "domain" true, "email" false, "match" "exact" }, { "keyword" "mailfloss us", "localpart" false, "domain" true, "email" false, "match" "exact" }]}' h "content type application/json"
