Mega Client icon

Mega Client

Work with Mega Client API

Actions13

Contact → Update

AI-generated

Summary

Update an existing contact in the Mega Client system by specifying the contact's public identifier and any desired fields to change.

Inputs

  • Contact Identifier (required) — Public contact identifier to specify which contact to update.
  • Identifier — External identifier of the contact.
  • Identifier Hash — Identifier hash prepared for HMAC authentication.
  • Email — Email address of the contact.
  • Name — Name of the contact.
  • Phone Number — Phone number of the contact.
  • Custom Attributes — Custom attributes of the contact as a JSON object.

Output shape

a single record

Returns the JSON response from the Mega Client API representing the updated contact. The output is one item per input item processed. Errors can be optionally handled with continueOnFail.

Examples

Example 1: Update contact name and email

Provide the contact's public identifier and set new values for the name and email fields.

Links

Discussion