Mega icon

Mega

Work with Mega API

Conversation → Set Labels

AI-generated

Summary

Set multiple labels on a specific conversation by providing its ID and a JSON array of labels.

Inputs

  • Conversation ID (required) — The numeric ID of the conversation to update.
  • Labels (required) — A JSON-formatted array containing the labels to assign to the conversation.

Output shape

A single record confirming the label update operation for the specified conversation.

The operation requires both the conversation ID and a JSON array of labels; it replaces or sets the labels on the conversation as provided.

Links

Discussion