All tools

Add or update contacts

Queues up to 30,000 contacts, or 6 MB, to be created or updated in Marketing Campaigns and returns a job ID.

View on GitHub
Updated Sep 27, 2026Available asAPI

Description

Processing is asynchronous: a `202` means queued, and the `job_id` shows the import status. To update a contact, send all of its existing identifiers; fields you leave out keep their values. Create custom fields before you set them.

upsert-contacts.md

Add or update contacts

Queues up to 30,000 contacts, or 6 MB, to be created or updated in Marketing Campaigns and returns a job ID.

Processing is asynchronous: a 202 means queued, and the job_id shows the import status. To update a contact, send all of its existing identifiers; fields you leave out keep their values. Create custom fields before you set them.

Set up

Use the first option your agent supports.

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
APIOfficialPUT /v3/marketing/contactsAPI key in $SENDGRID_API_KEYDocs

Workflows using Add or update contacts

No workflows yet
No published workflow uses Add or update contacts yet.