SmartLead icon

SmartLead

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

Actions144

Master Inbox → Change Read Status

AI-generated

Summary

Change the read status of Master Inbox messages

Inputs

  • requestBody — JSON payload sent in the request body, typically containing message IDs and the desired read status.
  • requestOptions — Additional request configuration such as batching settings, SSL verification, proxy, and timeout.

Output shape

an object representing the updated inbox item(s)

The response contains the updated item(s) or a success acknowledgment; batching may affect the number of items returned.

Examples

Example 1: Mark a single inbox email as read

requestBody: { "ids": ["inboxItemId"], "read": true }

Example 2: Bulk toggle read status for multiple emails using batching

requestBody: { "ids": ["id1", "id2"], "read": false }, requestOptions: { batching: { batchSize: 50 } }

Links

Discussion