SmartLead icon

SmartLead

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

Actions144

Email Account → Assign Tags

AI-generated

Summary

Assign tags to email accounts in SmartLead

Inputs

  • requestBody — 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

no body — success/failure only

The API returns a standard success response; errors are indicated by HTTP status codes and optional error details in the response body.

Examples

Example 1: Assign multiple tags to an email account

Request Body: {"emailAccountId":"123","tags":["important","vip"]} Request Options: { "batch": {"batchSize": 100} }

Example 2: Assign a single tag using default settings

Request Body: {"emailAccountId":"123","tags":["new"]}

Example 3: Assign tags to multiple email accounts in bulk

Request Body: {"emailAccountIds":["123","456"],"tags":["promo"]} Request Options: { "batching": {"batchSize":50} }

Links

Discussion