Mega icon

Mega

Work with Mega API

Conversation → Create

AI-generated

Summary

Create a new conversation linked to a specified contact and inbox, optionally assigning its status, assignee, custom attributes, additional attributes, and an initial message.

Inputs

  • Source ID (required) — Source identifier of the contact inbox used to create the conversation.
  • Inbox ID (required) — Inbox identifier that will own the conversation.
  • Contact ID (required) — Contact identifier linked to the new conversation.
  • Status — Initial status for the created conversation; options are Open, Pending, Resolved, or Snoozed. Defaults to Open.
  • Assignee ID — Optional identifier of the user assigned to the conversation.
  • Initial Message — Optional first message content sent together with the conversation.
  • Additional Attributes — Optional JSON object to set additional attributes on the conversation.
  • Custom Attributes — Optional JSON object to set custom attributes on the conversation.

Output shape

a single JSON object representing the created conversation, including details such as its ID and associated metadata

The returned object reflects the conversation resource created in the Mega system, including any specified attributes and initial message if provided. If an initial message is included, it is sent as part of the creation process.

Links

Discussion