Create contact with the Constant Contact API

Creates a contact and returns it with its contact_id. Send create_source and at least email_address, first_name or last_name. An email address that already exists in the account answers 409.

Identifier
constant_contact_create_contact

The request

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

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "create_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
create_sourcestringYesWho adds the contact: Account when the account user adds it, Contact when the person signed up. Constant Contact requires the right value for compliance.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; anti-spam laws and the Constant Contact terms forbid it otherwise.
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.
street_addressesarrayNoUp to 3 street addresses, each with its kind.
list_membershipsarrayNoIds of the lists to subscribe the contact to, from List contact lists, up to 50.

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_create_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.