Skip to content

Update Contact Email Address

Tool name: update-contact-email

Replaces one email address of a contact while keeping its subscription status; no confirmation email is sent; the old address is gone, the change is recorded in the contact history and the mobile number stays. Without currentEmail the primary address is replaced; a contact merged from duplicates can have more, and the answer lists all of them. May start automations and counts toward the daily import limit. Refuses unsubscribed addresses, a currentEmail the contact does not have, addresses already used, invalid or blacklisted, accounts without the feature and calls once the daily import limit is reached.

Input schema

contactIdinteger, >= 1required

Numeric contact ID returned by search-contacts

emailstring, [ 3 .. 254 ] charactersrequired

The new email address

currentEmailnull or string, [ 3 .. 254 ] characters

The contact's address to replace; omit for its primary address

Default:null
accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "contactId": 1, "email": "string", "currentEmail": null, "accountId": null }

Output schema

accountIdintegerrequired
contactIdintegerrequired
previousEmailstringrequired
emailstringrequired
changedbooleanrequired
subscriptionStatusstringrequired
Enum:"pending""optin""subscribed""unsubscribed"
emailAddressesArray of stringsrequired
historyUrlstringrequired
Output example
{ "accountId": 0, "contactId": 0, "previousEmail": "string", "email": "string", "changed": true, "subscriptionStatus": "pending", "emailAddresses": [ "string" ], "historyUrl": "string" }