Mega icon

Mega

Work with Mega API

Conversation → Set Custom Attributes

AI-generated

Summary

Set custom attributes on a specific conversation by providing its ID and a JSON object of attributes to store.

Inputs

  • Conversation ID (required) — The numeric ID of the conversation to update.
  • Custom Attributes (required) — A JSON object representing the custom attributes to set on the conversation.

Output shape

a single record containing the API response confirming the custom attributes update.

The output includes the updated conversation data or confirmation of the attribute set operation. Errors will be thrown if the conversation ID is invalid or the payload is malformed.

Links

Discussion