SmartLead icon

SmartLead

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

Actions144

Master Inbox → Create Lead Task

AI-generated

Summary

Create a lead task in the Master Inbox

Inputs

  • requestBody — Request payload as JSON object
  • batchSize — Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1.
  • batchInterval — Time (in milliseconds) between each batch of requests. 0 for disabled.
  • 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 single object representing the created lead task

Success returns the created task details; errors are returned as standard error envelopes.

Examples

Example 1: Create a new task for an inbound email lead

Set Resource to Master Inbox, Operation to Create Lead Task, provide Request Body with task details

Example 2: Enable batch processing for bulk task creation

Enable batching with batchSize 100 and batchInterval 500, provide Request Body as needed

Example 3: Send request via proxy with SSL verification disabled

Set proxy to http://myproxy:3128 and enable allowUnauthorizedCerts

Links

Discussion