NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Message → Insert record

AI-generated

Summary

Insert a new Message record in NetSuite using the SuiteTalk REST API, allowing detailed specification of message attributes and custom fields.

Inputs

  • Debug Mode — Boolean toggle to include full request and response details in the output.
  • Additional Fields — An optional collection of various message attributes such as Activity, Author, Bcc, Cc, recipient details, message content, subject, related record and transaction references, formatting options, and NetSuite-specific headers like idempotency key and validation settings.
  • Custom Fields — An optional set of custom fields, each with a field name, field type (boolean, dateTime, multiSelect, number, select, string), and corresponding typed value to set on the message record.

Output shape

a single JSON object representing the created Message record with its properties and any returned metadata

If Debug Mode is enabled, the output includes full HTTP request and response details for troubleshooting. The operation executes synchronously by default, but asynchronous execution can be requested via the Prefer header option.

Discussion