Mega icon

Mega

Work with Mega API

Contact → Create

AI-generated

Summary

Create a new contact in a specified inbox of the Mega platform with various optional and custom attributes.

Inputs

  • Inbox ID (required) — ID of the inbox to which the contact belongs.
  • Name — Name of the contact.
  • Email — Email address of the contact.
  • Blocked — Flag indicating whether the contact is blocked.
  • Phone Number — Phone number of the contact.
  • Avatar URL — URL to a PNG or JPEG avatar image for the contact.
  • Identifier — Unique identifier of the contact in an external system.
  • Additional Attributes — JSON object containing additional predefined attributes for the contact.
  • Custom Attributes — JSON object containing custom attributes for the contact.

Output shape

a single contact object representing the newly created contact in Mega

The exact shape of the returned contact data depends on the Mega API response. No pagination applies as this operation creates one contact. Errors will be returned in workflow's error handling if creation fails.

Links

Discussion