Update contact with the Constant Contact API

Updates a contact by replacing its core fields: email_address, names, job_title, company_name, birthday and anniversary left out become empty, so send the current values too, from List contacts. Subresources left out are kept, and one that is sent replaces the current one.

Identifier
constant_contact_update_contact

The request

POST https://connect.reportei.com/api/tools/constant_contact_update_contact/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "contact_id": "<contact_id>",
    "update_source": "Account"
  }
}

Your system sends your customer's connection id and the tool arguments. The headers are the same as the rest of the Connect API: your product's token and your customer's token.

Parameters

ParameterTypeRequiredDescription
contact_idstringYesId of the contact, from List contacts.
update_sourcestringYesWho makes the change: Account when the account user changes it, Contact when the person asked for it. A deleted contact comes back only with Account.Values: Account, Contact
email_addressobjectNoEmail address of the contact. permission_to_send explicit or implicit is allowed only when the person agreed to receive emails; unsubscribed opts the contact out, with an optional opt_out_reason.
first_namestringNoFirst name of the contact.
last_namestringNoLast name of the contact.
job_titlestringNoJob title of the contact.
company_namestringNoCompany where the contact works.
birthday_monthintegerNoMonth of the birthday, 1 to 12. Send it together with birthday_day.
birthday_dayintegerNoDay of the birthday, 1 to 31. Send it together with birthday_month.
anniversarystringNoAnniversary date, such as when the contact became a customer, as YYYY-MM-DD or MM/DD/YYYY.
phone_numbersarrayNoUp to 3 phone numbers. When sent, they replace the current ones.
street_addressesarrayNoUp to 3 street addresses, each with its kind. When sent, they replace the current ones.
list_membershipsarrayNoIds of all the lists the contact should be in, from List contact lists, up to 50. When sent, the contact leaves the lists that are not in it. The current lists come from List contacts with include list_memberships.

Supported connections

Your customer connects their Constant Contact account once, with one of the modes below. The same connection serves every tool of the toolkit.

OAuth with your product's app

You register your product's OAuth app once, with POST /api/merchants/credentials/constant_contact, and your customer authorizes the account on a consent screen. Connect renews the token when it is about to expire.

The response

On success, Connect preserves the app's response status and body. HTTP errors returned by the app use the {error, api_error} envelope; authentication or validation can fail before execution. The X-Toolkit-Execution-Id header identifies the recorded execution, available at GET /api/tools/executions/{uuid}.

Ready for AI agents

This tool's input is a JSON Schema, available at GET /api/tools/constant_contact_update_contact. It becomes your agent's tool definition with no conversion.

Other Constant Contact tools

See all 12 tools

Toolkits in the same category

See all 100 toolkits

See Connect applied to your product.

Try it for 15 days with no card, or walk our team through your use case.