SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Master Inbox → Block Email Domains

AI-generated

Summary

Block email domains from the Master Inbox

Inputs

  • requestBody (required) — Request payload as JSON object
  • requestOptions — Add Option
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request

Output shape

a JSON object indicating success (typically { success: true })

Response contains no additional data; errors are signaled by HTTP status codes

Examples

Example 1: Block a list of email domains in the Master Inbox

Set requestBody to {"domains":["example.com","badmail.io"]} and optionally adjust requestOptions, timeout, etc.

Example 2: Block a single domain using default settings

Provide requestBody with {"domains":["spam.com"]} and leave other fields at defaults.

Links

Discussion