All tools
S
by SendGrid
Create 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.
Updated Sep 27, 2026
upsert-contacts.md
Create 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.
Note: Asynchronous: a 202 means queued, and the job_id shows the import status. To update a contact, send all of its existing identifiers. Create custom fields before you set them.
Set up
Use the first option your agent supports.
API (official)
- Base URL: https://api.sendgrid.com
- Endpoint:
PUT /v3/marketing/contacts - Auth: send the header
Authorization: Bearer $SENDGRID_API_KEY - Get a key: https://app.sendgrid.com/settings/api_keys
- Docs: https://www.twilio.com/docs/sendgrid/api-reference
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
| Route | Source | Call | Required | Docs |
|---|---|---|---|---|
| Official | PUT /v3/marketing/contacts | API key in $SENDGRID_API_KEY | Docs |
Workflows using Create or update contacts
No workflows yet
No published workflow uses Create or update contacts yet.