mailfloss API & Webhooks
Navigate through spaces
⌘
K
Email Verification API
API Overview
Authentication
Rate Limits
Response Headers
Response Codes
Reference
Code Examples
Data Privacy API
Data Privacy API Overview
Reference
Code Examples
Integration Settings API
Integration Settings API Overview
Reference
Code Examples
Webhooks
Webhooks Overview
Retries and Errors
Managing Webhooks
Verifying Webhooks
Event Triggers
JavaScript Widget
JavaScript Widget Overview
Installing the Widget
Widget Configuration Options
Docs powered by
Archbee
Integration Settings API
Code Examples
2min
Add blacklist endpoint
Shell
1
curl
-X
POST
\
2
--url
https://api.mailfloss.com/settings/
{
id
}
?api_key
=
{
api_key
}
\
3
-d
'{"type": "blacklist","data":{
4
"keyword": "mailfloss.com",
5
"localpart": false,
6
"domain": true,
7
"email": false,
8
"match": "exact",
9
}}'
-H
"Content-Type: application/json"
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
Shell
1
curl
-X
POST
\
2
--url
https://api.mailfloss.com/settings/
{
id
}
?api_key
=
{
api_key
}
\
3
-d
'{"type": "blacklist", "data":[{
4
"keyword": "mailfloss.net",
5
"localpart": false,
6
"domain": true,
7
"email": false,
8
"match": "exact"
9
}, {
10
"keyword": "mailfloss.io",
11
"localpart": false,
12
"domain": true,
13
"email": false,
14
"match": "exact"
15
}, {
16
"keyword": "mailfloss.us",
17
"localpart": false,
18
"domain": true,
19
"email": false,
20
"match": "exact"
21
}]}'
-H
"Content-Type: application/json"
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"
Updated 11 May 2023
Did this page help you?
PREVIOUS
Reference
NEXT
Webhooks Overview
Docs powered by
Archbee
TABLE OF CONTENTS
Add blacklist endpoint
Bulk add blacklist endpoint
Docs powered by
Archbee