Mega icon

Mega

Work with Mega API

Conversation → Assign

AI-generated

Summary

Assigns a conversation to a specific user or team by updating its assignee or team ID.

Inputs

  • Conversation ID (required) — The unique numeric identifier of the conversation to assign.
  • Assignee ID — The numeric ID of the user to assign the conversation to. If provided, the Team ID is ignored.
  • Team ID — The numeric ID of the team to assign the conversation to. This is ignored if an Assignee ID is specified.

Output shape

an object representing the updated conversation assignment status or confirmation of the assignment operation

The output includes details reflecting the new assignee or team assignment. Only one of Assignee ID or Team ID is applied per operation; if Assignee ID is set, Team ID is ignored.

Links

Discussion