SendGrid Contacts API

Twilio SendGrid Marketing Campaigns Contacts API

Business capability
Customer Data Management BC-420.10

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /v3/marketing/contacts Add or update marketing contacts · Add or Update a Contact #
Ask an LLM
“How do I add new contacts or update existing ones in Marketing Campaigns?”
“How many contacts can I upsert in a single request?”
Tell an agent
Upsert these contacts: {contacts}.
Add or update {contacts} and attach them to lists {list_ids}.
DELETE /v3/marketing/contacts Delete marketing contacts · Delete Contacts #
Ask an LLM
“How can I delete several marketing contacts at once by their IDs?”
“Is it possible to wipe every contact in my account in one call?”
Tell an agent destructive · confirm first
Delete the contacts with IDs {ids}.
Delete all of my marketing contacts, setting delete_all_contacts to {delete_all_contacts}.
GET /v3/marketing/contacts Preview a sample of recent contacts · Get Sample Contacts #
Ask an LLM
“Can I get a quick look at the 50 most recently added marketing contacts in SendGrid?”
“What does the sample contacts view return besides the contacts themselves?”
Tell an agent
Show me a sample of my most recently uploaded marketing contacts.
Pull the recent-contacts sample sorted by email address.
GET /v3/marketing/contacts/{id} Get one contact's full details · Get a Contact by ID #
Ask an LLM
“What fields and custom data are stored on a single contact when I look it up by ID?”
“Where do I see every field for one specific contact?”
Tell an agent
Get the full record for contact {id}.
Show all fields stored on contact ID {id}.
POST /v3/marketing/contacts/batch Fetch many contacts by their IDs at once · Get Batched Contacts by IDs #
Ask an LLM
“Can I fetch up to 100 contacts in one call if I already have their IDs?”
“Is there a faster way than looking up contacts by ID one at a time?”
Tell an agent
Fetch the batch of contacts with IDs {ids} in one request.
Retrieve these contact IDs together: {ids}.
DELETE /v3/marketing/contacts/{contact_id}/identifiers Remove one identifier from a contact · Delete a Contact Identifier #
Ask an LLM
“Can I remove just a phone number or external ID from a contact without deleting the contact?”
“What happens if I try to remove a contact's only identifier?”
Tell an agent destructive · confirm first
Remove the {identifier_type} identifier {identifier_value} from contact {contact_id}.
Strip identifier {identifier_value} off contact {contact_id} but keep the contact.
GET /v3/marketing/contacts/count Count all stored contacts · Get Total Contact Count #
Ask an LLM
“How many marketing contacts do I have stored in total?”
“What is my current total contact count?”
Tell an agent
Tell me the total number of contacts in my account.
Get my overall marketing contact count.
POST /v3/marketing/contacts/exports Export contacts from lists or segments · Export Contacts #
Ask an LLM
“How do I export the contacts in a list or segment to a file?”
“Can I get an email with the download link when my contact export is ready?”
Tell an agent
Export the contacts in lists {list_ids} as {file_type}.
Start a contact export for segments {segment_ids} and email me when it finishes via {notifications}.
GET /v3/marketing/contacts/exports List contact export jobs · Get All Existing Exports #
Ask an LLM
“Which contact exports are currently running or recently finished?”
“Where can I see the export type and status of all my contact export jobs?”
Tell an agent
List all of my contact export jobs.
Show every in-flight or recently completed contact export.
GET /v3/marketing/contacts/exports/{id} Check a contact export's status · Export Contacts Status #
Ask an LLM
“Is my contact export finished, and where are the download URLs?”
“What status does a specific contact export job have right now?”
Tell an agent
Check the status of contact export {id}.
Get the download links for finished contact export {id}.
PUT /v3/marketing/contacts/imports Import contacts from a CSV file · Import Contacts #
Ask an LLM
“Can I bulk import up to a million contacts from a CSV?”
“How do I map my CSV columns to contact fields during an import?”
Tell an agent
Start a {file_type} contact import using field mappings {field_mappings}.
Import a CSV of contacts into lists {list_ids} with mappings {field_mappings}.
GET /v3/marketing/contacts/imports/{id} Check a contact import job's status · Import Contacts Status #
Ask an LLM
“Did my contact import or upsert job finish, and were there any errors?”
“Where do I check progress on a contact job using its job_id?”
Tell an agent
Check the status of contact import job {id}.
Show the results and errors for contact job {id}.
POST /v3/marketing/contacts/search Search contacts with an SGQL query · Search Contacts #
Ask an LLM
“Can I search my contacts with a query language instead of exact matches?”
“Why does searching contacts by email need the address in lower case?”
Tell an agent
Search my contacts with the SGQL query {query}.
Find contacts matching this SGQL filter: {query}.
POST /v3/marketing/contacts/search/emails Look up contacts by email address · Get Contacts by Emails #
Ask an LLM
“Can I find contacts by their email addresses, including alternate emails?”
“What is the limit on how many email addresses I can look up at once?”
Tell an agent
Look up the contacts with emails {emails}.
Find the contact whose email address is {emails}.
POST /v3/marketing/contacts/search/identifiers/{identifier_type} Look up contacts by an identifier type · Get Contacts by Identifiers #
Ask an LLM
“Which identifier types can I use to find contacts, like phone number ID or external ID?”
“Can I look up contacts by their anonymous ID?”
Tell an agent
Find contacts whose {identifier_type} matches {identifiers}.
Look up contacts by {identifier_type} values {identifiers}.

Documentation

📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/account-provisioning
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/alerts
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/api-keys
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/domain-authentication
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/email-activity
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/email-address-validation
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/enforced-tls
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sendgrid-integrations
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-access-management
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-address-management-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-warmup
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/ip-address
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/link-branding
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/campaigns-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/contacts-api-custom-fields
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sender-identities-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/mail-settings
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/mail-send
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/contacts
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/custom-fields
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/designs-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/lists
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/segmenting-contacts-v2
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/segmenting-contacts
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/senders
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/single-sends
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/marketing-campaign-stats
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/send-test-email
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/partner-settings
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/recipients-data-erasure
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/reverse-dns
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/cancel-scheduled-sends
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/api-key-permissions
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sendgrid-engagement-quality-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/single-sign-on-settings
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/stats
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/subusers-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/suppressions-unsubscribe-groups
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/teammates
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/transactional-templates
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/settings-tracking
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/users-api
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/sender-verification
📖
Documentation
https://www.twilio.com/docs/sendgrid/api-reference/webhooks

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sendgrid-contacts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sendgrid-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio SendGrid Marketing Campaigns Contacts API
  summary: The Twilio SendGrid Marketing Campaigns Contacts API allows you to manage all of your marketing contacts programmatically.
  description: The Twilio SendGrid Marketing Campaigns Contacts API allows you to manage all of your marketing contacts programmatically.
  termsOfService: https://www.twilio.com/legal/tos
  contact:
    name: Twilio SendGrid Support
    url: https://support.sendgrid.com/hc/en-us
  license:
    name: MIT
    url: https://code.hq.twilio.com/twilio/sendgrid-oas/blob/main/LICENSE
  version: 1.0.0
  x-sendgrid:
    libraryPackage: mc_contacts
servers:
- url: https://api.sendgrid.com
  description: The Twilio SendGrid v3 API
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (59 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/sendgrid/refs/heads/main/openapi/sendgrid-contacts-api-openapi.yml