Get Started
- Introduction
- Quickstart
Documentation
- Data Sources
- Business Objects
- Business Graph™
- Knowledge
- Query Agent
- Reports
- Subscriptions
- Destinations
- Tools
- Introduction
- Ably
- Acculynx
- Active campaign
- Affinity
- Agencyzoom
- Ahrefs
- Airtable
- Alchemy
- Amplitude
- Apaleo
- Apollo
- Asana
- Attio
- Bamboohr
- Bannerbear
- Baserow
- Bill
- Bitbucket
- Blackboard
- Bolna
- Borneo
- Box
- Brevo
- Browseai
- Browserbase tool
- Bugbug
- Cal
- Calendly
- Canva
- Canvas
- Chatwork
- Clickup
- Coda
- Codeinterpreter
- Coinbase
- Composio
- Composio search
- Confluence
- Contentful
- Crustdata
- D2lbrightspace
- Dialpad
- Discord
- Discordbot
- Docusign
- Dropbox
- Dynamics365
- Echtpost
- Elevenlabs
- Entelligence
- Exa
- Excel
- Figma
- Firecrawl
- Fireflies
- Flutterwave
- Formsite
- Foursquare
- Freshdesk
- Github
- Gmail
- Gong
- Google maps
- Googleads
- Googlebigquery
- Googlecalendar
- Googledocs
- Googledrive
- Googlemeet
- Googlephotos
- Googlesheets
- Googlesuper
- Googletasks
- Gorgias
- Hackernews
- Heygen
- Hubspot
- Humanloop
- Intercom
- Jira
- Junglescout
- Klaviyo
- Kommo
- Linear
- Linkedin
- Linkhut
- Linkup
- Listennotes
- Lmnt
- Mailchimp
- Mem0
- Metaads
- Microsoft clarity
- Microsoft teams
- Mixpanel
- Monday
- More trees
- Neon
- Ngrok
- Notion
- One drive
- Onepage
- Open sea
- Outlook
- Pagerduty
- Pandadoc
- Peopledatalabs
- Perplexityai
- Pipedrive
- Placekey
- Posthog
- Quickbooks
- Ramp
- Recallai
- Reddit
- Resend
- Retellai
- Rocketlane
- Rootly
- Salesforce
- Semanticscholar
- Semrush
- Sendgrid
- Sentry
- Serpapi
- Servicenow
- Share point
- Shopify
- Shortcut
- Simplesat
- Slack
- Slack user
- Slackbot
- Snowflake
- Stripe
- Supabase
- Tavily
- Text to pdf
- Textrazor
- Tinyurl
- Todoist
- Trello
- Twitter
- Twitter media
- Typefully
- Weathermap
- Webflow
- Whatsapp
- Workiom
- Wrike
- Yousearch
- Youtube
- Zendesk
- Zenrows
- Zoho
- Zoom
- Zoominfo
- Admin
Changelog
Sendgrid
SendGrid is a cloud-based email delivery platform providing transactional and marketing email services, with APIs for integration, analytics, and scalability
this endpoint allows you to activate a version of one of your templates.
this endpoint allows you to add an ip address to an authenticated domain.
This operation appends a batch of ips to an ip pool. this operation requires all ip assignments to succeed. if any ip assignments fail, this endpoint will return an error.
Add an ip address to a pool with this endpoint. activation in sendgrid needed first. it takes up to 60 seconds. possible to add to multiple pools. retrieve ips via a specific endpoint.
this endpoint allows you to add a single recipient to a list.
this endpoint is for adding a(n) ip address(es) to your account.
this endpoint allows you to approve an access attempt. note: only teammate admins may approve another teammate’s access request.
This operation adds a twilio sendgrid ip address to your account. you can also assign up to 100 subusers to the ip address at creation.
this endpoint allows you to add email addresses to an unsubscribe group. if you attempt to add suppressions to a group that has been deleted or does not exist, the suppressions will be added to the global suppressions list.
This endpoint adds allowed ip addresses to a list, which then assigns each ip an id for future removal; ids can be retrieved via a specific retrieval endpoint.
This operation appends a batch of subusers to a specified ip address. this endpoint requires all subuser assignments to succeed. if a subuser assignment fails, this endpoint will return an error.
Parent accounts can create and validate branded links, then assign them to subusers through the api or twilio sendgrid app, enabling subusers to use the branded links for mail.
Authenticates and logs in a user to twilio sendgrid as a specific admin identity configured for sso by partner. any additional teammates or subusers will need to log in directly via app.sendgrid.com
Associate authenticated domains with subusers under a parent account to enable email sending using the parent’s domain. authentication by the parent is required. multiple domains can be linked using the specified endpoint.
The endpoint can handle 30k contacts or 6mb, reports queuing/errors, needs extra steps to confirm changes and retrieve ids. custom fields must pre-exist and exact identifiers are required for updates; email addresses are auto-lowered in case.
The endpoint enables domain authentication for users or subusers, offering two methods—‘username’ parameter for visibility and modification, or the association workflow for a fixed, non-editable domain assignment.
this endpoint allows you to add one or more email addresses to the global suppressions group.
This api endpoint allows users to cancel or pause a scheduled email by providing its batch id
. to change or remove this status, specific endpoints must be used; exceeding limits or duplicating actions will trigger a 400
error.
This api endpoint enables the deletion of multiple single sends by providing their ids. retrieve ids with a get request to /marketing/singlensends
. deletions are irreversible.
This endpoint enables linking up to five authenticated domains from a parent account to a subuser, giving them permission to send emails with the parent’s domain. domains are prioritized when sending emails.
Create an ip pool by activating an ip in sendgrid: log in, go to settings > ip addresses, edit selected ip, check to allow sending, and save.
Creating an ip pool associates specified ips with it. all ips must be successfully assigned, or creation fails with an error. a pool can have up to 100 ips.
this endpoint allows you to create an sso certificate.
Create a new mail batch id to group email sends, allowing pause or cancel actions via the scheduled sends api.
this endpoint allows you to create an sso integration.
This api endpoint checks if a sendgrid account has completed domain authentication (domain verified
) and single sender verification (sender verified
), returning boolean values for each.
Creates a new account, with specified offering, under the organization.
This endpoint enables campaign creation, requiring a subject, sender id, content (html and text suggested), and a list or segment id for sending or scheduling, but not for initial creation.
this endpoint allows you to create a list for your recipients.
Create a new branded link by specifying the root domain, which must align with your from email, and an optional unique subdomain. subusers can request using the on-behalf-of
header.
this endpoint allows you to create a custom field. you can create up to 120 custom fields.
Use sendgrid app to create an initial api key; then manage others via api. json with ‘name’ required; 100 key limit. keys have unique ids, default ‘full access’ unless scopes specified. update scopes with ‘update api keys’ endpoint.
Create an sso teammate with email as username. assign roles using is admin
, scopes
, or persona
. admins have full rights, personas have predefined permissions, and scopes are specific rights. teammates can manage subusers with potential limitations.
this endpoint allows you to create a new alert.
this endpoint allows you to create a new suppression group. to add an email address to the suppression group, create a suppression.
Set up an event webhook by providing a url, choosing events for post requests, and receive a unique id. after creation, you can add names, oauth, and signature verification.
New segment endpoint created: supports various operators for date, text, number, and email fields. values must be strings, can specify campaign for email actions. conditions combinable via “and”/“or”.
this endpoint allows you to create a new version of a template.
This endpoint creates an integration for email event forwarding. each integration has a maximum number of allowed integration instances per user. for example, users can create up to 10 segment integrations.
this endpoint allows you to create a new sender identity. you may create up to 100 unique sender identities.
Create new designs via /designs
by submitting html content. consider email client limitations and see the guide for best practices. convert html to editable modules in the design library, or use preferred tools/migrate existing designs.
Create a new inbound parse setting with a twilio sendgrid authenticated hostname
and a public url
to receive parsed messages via http post. complete domain authentication and mx record setup as instructed in sendgrid documentation.
this endpoint allows you to create a transactional template.
To delete an organization’s account by id: it revokes api keys/sso, removes sendgrid resources like dedicated ips, and stops billing immediately. this action is irreversible.
This operation deletes an ip pool and unassigns all ip addresses associated with the pool. ip addresses associated with the deleted pool will remain in your account.
Delete a specific event webhook by id with this endpoint. unlike other endpoints which default to the oldest webhook, this requires an id, else it errors to prevent accidental deletions. to disable, not delete, use enabled
property to false
.
this endpoint allows you to delete a specific campaign.
this endpoint allows you to delete one of your sender identities.
this endpoint allows you to delete the cancellation/pause of a scheduled send. scheduled sends cancelled less than 10 minutes before the scheduled time are not guaranteed to be cancelled.
this endpoint allows you to delete a single recipient from a list.
This api endpoint is for creating new senders, with a limit of 100. verification is mandatory, either automatic upon domain authentication or via a confirmation email sent to the sender’s address.
this endpoint allows you to create a new subuser.
This endpoint creates a new sender identity via post
, sends a verification email to from email
, and requires email verification. to resend, use /resend/\{id\}
. for domain authentication, refer to the domain authentication api.
this endpoint allows you to deny an attempt to access your account. note: only teammate admins may delete a teammate’s access request.
This endpoint enables clearing blocked emails either by deleting all with delete all
=true or by specifying addresses in the emails
array.
This api endpoint lets users delete bounced emails: either all by setting delete all
to true, or specific ones by listing them in emails
. do not use both options together.
This endpoint lets you delete email addresses from your invalid list; delete all by setting delete all
to true, or specify individual addresses to remove.
this endpoint allows you to delete a teammate. only the parent user or an admin teammate can delete another teammate.
This endpoint lets you change the name of a transactional template. for template modifications, create a new version using the provided link.
this endpoint allows you to delete an alert.
Use this endpoint with a sender identity’s id
to remove it from your account. find sender identity ids through the “get all verified senders” endpoint.
This endpoint removes an authenticated domain from a subuser that was previously assigned by a parent account, used for sending emails under the parent’s domain.
The endpoint lets you duplicate twilio sendgrid pre-built designs without data. if unnamed, “duplicate:” precedes the original name. the copy gets a unique id, modifiable upon creation. use “list sendgrid pre-built designs” for ids.
This endpoint enables the creation of a new contacts list, which can automate email sending when new contacts are added. a link to the new list is provided in metadata
.
This endpoint duplicates single sends using an id for easy creation, allowing edits via patch. duplicates are named as “copy of” the original, with a 100-character limit for names.
This endpoint duplicates existing designs without requiring data in the request body. if you don’t specify a name
, it’s labeled “duplicate:” plus the original’s name, but you can set a new name upon creation. each copy gets a unique id.
this endpoint allows you to delete an authenticated domain.
Create unique case-insensitive custom fields with alphanumeric/underscore names starting with a letter/underscore. save the id for edits/deletes. limited to 500 fields of type date, text, or number. avoid starting with numbers to prevent campaign issues.
this endpoint allows you to delete a transactional template version.
The endpoint permits parent accounts to remove a branded link from a subuser, with successful disassociations confirmed by a 204 status code response.
This endpoint asynchronously deletes an identifier (not the entire contact) from a contact, failing if it’s their only one. allowed identifier types are email, phonenumberid, externalid, or anonymousid.
this endpoint allows you to edit the content of your template version.
Use the endpoint to export contact lists or segments by email, with notifications, or download as csvs using an ‘id’. specify the data by id and choose json or csv output with a max file size option.
this endpoint allows you to delete a specific email address from your blocks list.
This endpoint deletes integrations.
Sendgrid’s delete recipients’ email data operation removes personal data of up to 5,000 unique email recipients or a 256kb payload per request. invalid emails return an error, and deletions are account-specific, not affecting subusers.
The endpoint provides a list of domains with dmarc, divided by how they fail (hard or soft). hard failures prevent mail delivery using those domains as sender identities. for more on dmarc, visit sendgrid’s guide.
this endpoint allows you to delete a custom field by id.
Use sendgrid for domain validation and branding by sharing dns records—cname for automated security, or txt/mx otherwise. include link id
for link branding and domain id
for domain auth.
This endpoint allows admin or parent users to adjust sso teammate permissions using ‘is admin’, ‘scopes’, or ‘persona’, and to control subuser access, including restrictions.
This endpoint exports single send stats in .csv format, allowing specification of multiple single sends by separating their ids with commas in the ids
parameter.
Use this endpoint to bulk delete contacts with ids
as a list of ids or delete all contacts
set to "true"
for all. deletions are asynchronous. regularly export contacts as a backup.
Get all of the details about the specified message.
Enable/disable website access for a subuser, while still preserving email send functionality.
this endpoint allows you to delete an ip pool.
this endpoint allows you to delete an sso certificate. you can retrieve a certificate’s id from the response provided by the “get all sso integrations” endpoint.
this endpoint allows you to enable or disable a subuser.
This endpoint removes a spam report for an email, lifting suppression and allowing email to be sent to that address. use with caution and recipient consent, or use bypass filters for exceptions.
this endpoint allows you to remove a specific email address from the invalid email address list.
Retrieve all your automation stats by default or specify with ‘automation ids’. results are paginated with customizable ‘page size’ (1-50, default 25) and ‘page token’ for specific pages.
Summarize email activity filtering: use url-encoded queries in the format query=\{type\}="\{content\}"
to search email activity. example: filter by email with query=to email%3d"example@example.com"
. reference more at sendgrid query reference.
this endpoint allows you to delete a segment by id.
Retrieve segments using parent list ids
as a filter. an empty or unmatched query returns an empty result with a 200 code. filters combine parent list ids
and the absence or presence of no parent list id
with segment ids.
This endpoint removes an email from suppressions, allowing future emails to be sent to it. use with consent or bypass filters for one-off emails.
this endpoint retrieves all defined custom fields and reserved fields.
this endpoint deletes a defined custom field. you can delete only custom fields; reserved fields cannot be deleted.
Retrieves all accounts under the organization.
this endpoint allows you to delete an idp configuration by id. you can retrieve the ids for your configurations from the response provided by the “get all sso integrations” endpoint.
this endpoint allows you to delete a pending teammate invite.
Retrieves offerings available under the organization.
Retrieves offering information about the specified account.
this endpoint allows you to retrieve all the categories associated with your single sends. this endpoint will return your latest 1,000 categories.
The function lists your ip pools and samples up to 10 ips from each. for more ips per pool, use “get ips assigned to an ip pool.” max of 100 ip pools per user.
This endpoint provides an array with details on active or completed export jobs. each object includes export type
, status
, and downloadable urls
for ready exports. useful when export ids are unknown.
this endpoint allows you to retrieve a list of all sender identities that have been created for your account.
this endpoint allows you to delete a specific recipient list with the given id.
this endpoint returns an array of all of your contact lists.
Retrieve a list of your single sends with brief details, including their ids. for in-depth information on a specific single send, use its id at the /marketing/singlesends/\{id\}
endpoint.
This endpoint lets you delete a single send with its id, which you can obtain by a get request to /marketing/singlensends
. note: deletion is irreversible.
Update a sender identity by sending a patch
request with the id
and json-formatted changes. unchanged fields will stay the same. retrieve ids via get
to /verified senders
.
Retrieve single sends stats with options for filtering by ids, pagination, and custom page sizes from 1-50. default response batch is 25.
this endpoint allows you to delete a single design. be sure to check the id of the design you intend to delete before making this request; deleting a design is a permanent action.
this endpoint allows you to retrieve all sso integrations tied to your twilio sendgrid account. the ids returned by this endpoint can be used by the apis additional endpoints to modify your sso integrations.
this endpoint allows you to retrieve all your idp configurations by configuration id. the integration id
expected by this endpoint is the id
returned in the response by the “get all sso integrations” endpoint.
this endpoint will return a presigned url that can be used to download the csv that was requested from the “request a csv” endpoint.
this endpoint allows you to delete a single recipient with the given id from your contact database. > use this to permanently delete your recipients from all of your contact lists and all segments if required by applicable law.
this endpoint allows you to revoke an existing api key using an api key id
authentications using a revoked api key will fail after after some small propogation delay. if the api key id does not exist, a 404
status will be returned.
Cancel a scheduled single send by making a delete request with its id to the endpoint. this action doesn’t delete the single send content, only stops the send-out.
Use this endpoint with an id
from “export contacts” to check the status and get urls
for downloading your csv contact export files. regular exports are recommended for backups.
This endpoint deletes a reverse dns record, returning a 204 code on success. retrieve record ids using the “retrieve all reverse dns records” endpoint.
this endpoint allows you to delete a subuser. this is a permanent action. once deleted, a subuser cannot be retrieved.
this endpoint allows you to duplicate a transactional template.
This operation removes a batch of ips from an ip pool. all ips associated with the pool will be unassigned from the deleted pool. however, this operation does not remove the ips from your account.
this endpoint allows you to remove an email address from your bounce list.
This endpoint lets users delete spam reports, lifting email suppression for specified addresses. it’s advised only when recipients want to resume emails. two deletion methods: ‘delete all’ or listing emails. use ‘bypass filters’ for exceptions.
This operation removes a batch of subusers from a specified ip address.
this endpoint allows you to delete a specific inbound parse setting by hostname. you can retrieve all your inbound parse settings and their associated host names with the “retrieve all parse settings” endpoint.
this endpoint allows you to delete a segment from your recipients database. you also have the option to delete all the contacts from your marketing campaigns recipient database who were in this segment.
This endpoint removes an email from a suppression group, re-enabling email delivery unless specified otherwise, and should only be used when recipients opt back in.
Retrieve all sender identities (verified/unverified) for an account via an endpoint. customize results using limit
, lastseenid
, and id
parameters to define the results scope.
Delete a branded link using this endpoint; successful deletion returns a 204 status. record link details beforehand as they’re not provided. subuser deletions are possible with their id in the header.
this endpoint allows you to delete a transactional template.
Segment name
has to be unique. a user can not create a new segment with an existing segment name.
this endpoint allows you to delete an existing sender.
The endpoint lets you create a single send draft without needing a template id; it now uses email config
. a set send at
doesn’t schedule it; it must be done through another endpoint or ui.
This api endpoint deletes email suppression groups. deleted group members get globally suppressed if they unsubscribe. use with caution, only if recipients want to resubscribe. bypass filters available for exceptions.
this endpoint allows you to retrieve an individual sso certificate.
Retrieve the state of the specified account.
this endpoint returns the full details and all fields for the specified contact. the “get contacts by identifier” endpoint can be used to get the id of a contact.
this endpoint allows you to deletes a specific list. optionally, you can also delete contacts associated to the list. the query parameter, delete contacts=true
, will delete the list and start an asynchronous job to delete associated contacts.
The designs/pre-builts
endpoint fetches a list of twilio sendgrid’s ready-made designs, not user-specific ones, with 100 results per request by default, adjustable with page size
. useful for duplicating and editing design ids.
Search for single sends by specifying name
, status
, and categories
in the request body. example provided for drafts or scheduled items related to “shoes”.
The api lists subuser ids with a specific ip, retrieves up to 100 per request, and iterates with after key
for more. use subusers api for details.
this endpoint allows you to get a list of all your senders.
this endpoint lets you retrieve click-tracking stats for a single automation. the stats returned list the urls embedded in your automation and the number of clicks each one received.
Retrieve detailed stats for a specific automation by id, with optional date and aggregation filters, or use another endpoint to get stats for multiple automations.
this endpoint allows you to retrieve a single suppression group.
this endpoint allows you to retrieve an sso integration by id. you can retrieve the ids for your configurations from the response provided by the “get all sso integrations” endpoint.
This endpoint returns the data for a specific integration.
This endpoint returns all the integrations for the user making this call.
Parent accounts can link validated domains to subusers through an endpoint, allowing subusers to email from those domains. the api supports multiple domain associations and listings.
this endpoint returns the total number of contacts you have stored. twilio sendgrid recommends exporting your contacts regularly as a backup to avoid issues or lost data.
Retrieve a webhook’s public key using its id via this endpoint; if no id is given, the oldest key is returned. useful for signature verification and toggling signature settings. multiple ids can be found using the “get all event webhooks” endpoint.
This endpoint lets you remove ips from your allowed list by sending an array of their ids, obtained from another endpoint. carefully select ips to avoid blocking your account access. if blocked, submit a support ticket.
this endpoint allows you to get the details for a specific sender by id
.
this endpoint allows you to update the name of an ip pool.
this endpoint allows you to retrieve details about one single send using a single send id. you can retrieve all of your single sends by making a get request to the /marketing/singlesends
endpoint.
This endpoint permits the deletion of a segment using segment id
, but associated contacts remain in the overall list and any other segments they’re part of.
Initiating a backend process creates a csv file of up to 1 million events from the last 30 days, emailed to the user with a 3-day expiry link. limited to one request per 12 hours, it’s similar to the get single message but for csv downloads.
This operation returns the ip addresses that are assigned to the specified ip pool.
this endpoint lets you retrieve click-tracking stats for one single send. the stats returned list the urls embedded in the specified single send and the number of clicks each one received.
This endpoint fetches detailed information on a list. using contact sample=true
includes up to 50 recent contacts and the total contact count in the response.
this endpoint allows you to resend the verification request for a specific sender.
Manually refresh a segment by segment id.
The endpoint permits async csv uploads for up to 1m contacts or 5gb with specified identifiers and file type, supports gzip, field mappings, uses job id for tracking, and recommends regular backups.
This api endpoint retrieves assigned ip addresses used to send emails for various domains, where the ip’s reputation is influenced by the collective performance of all sending users.
This endpoint lets you access settings for whitelisting specific emails or domains to prevent email suppression due to bounces, blocks, or unsubscribes.
Check the status of contact import jobs using job id
via this endpoint. it shows if the job is pending, completed, errored, or failed. for errors, download the errors url
file. regular contact exports are advised for backup.
Retrieve user’s api key names and ids with this endpoint; keys themself cannot be retrieved for security. lost keys require recreation. use ‘api key id’ to manage keys.
this endpoint allows you to resend a sender identity verification email.
Get a presigned url and headers to upload an email list for verification. ensure the ‘content-type’ matches ‘file type’ in the ‘put’ request. visit the bulk validation overview page for format and sample request.
this endpoint allows you to retrieve all of your ip addresses that are currently warming up.
this endpoint allows you to resend a teammate invitation. teammate invitations will expire after 7 days. resending an invitation will reset the expiration date.
this endpoint allows you to retrieve all custom fields.
Retrieve a paginated list of blocked emails using this endpoint, with adjustable page sizes via the ‘limit’ parameter and starting points with ‘offset’ for multiple requests.
Retrieve paginated lists of invalid emails with ‘limit’ for page size and ‘offset’ to start from a specific position for lists exceeding the limit.
Retrieve paginated lists of globally suppressed emails using limit
for page size and offset
to start from a specific list position. multiple requests may be needed for large lists.
This endpoint provides a paginated list of user categories, with adjustable page size using the limit
and pagination control using offset
. multiple requests are needed for large lists.
this endpoint allows you to remove an ip address from an ip pool.
This endpoint checks which ip pools contain a specific ip, which may be shared across multiple ip pools and affect the ip’s reputation based on collective usage for email sending.
Invite teammates to your account through email with this endpoint, assigning initial permissions via the scopes
array. invites expire after 7 days but can be resent.
this endpoint returns the number of contacts on a specific list.
this endpoint allows you to get all of your ip pools.
Retrieve a paginated list of assigned/unassigned ips with warmup status, pools, subusers, and dns info. ip reputation is based on email traffic. use limit
and offset
parameters to control pagination.
This endpoint resends a verification email to a sender identity’s ‘from address’ by using the ‘id’ of the sender. useful if the original email is lost or needs to be resent. retrieve ids via “get all verified senders” endpoint.
Retrieve individual single send stats using its id. for multiple ids, use “get all single sends stats”. filter results by date or refine with group by
and aggregated by
parameters.
This endpoint retrieves a paginated list of all your bounces, allowing customization of page size with limit
and starting position with offset
for multiple requests.
this endpoint allows you to retrieve all of your recipient lists. if you don’t have any lists, an empty array will be returned.
Retrieve seq scores for sendgrid subusers/accounts on a specific date; expect ‘200’ with scores or ‘202’ if unavailable yet, possibly accessible later. scores range from 1-5, with higher numbers indicating better engagement.
The endpoint fetches all event webhooks as objects in an array, showing each webhook’s configuration and id, used to update, delete, or manage signature verification and oauth settings.
Retrieve a paginated list of mail settings with their enabled
status and descriptions. control page size with limit
and list position with offset
for multiple requests.
The api endpoint retrieves segments, using parent list ids
to filter results. if no matches are found, a 200 code with an empty array is returned. filters include list ids, absence of parent ids, or specific segment ids.
this endpoint allows you to remove an ip address from that domain’s authentication.
Retrieve authenticated domain lists in pages using the limit
parameter for page size and offset
to start from specific list positions. multiple requests handle large lists.
Sendgrid’s inbound parse webhook parses incoming emails, up to 30mb, and posts to a specified url, with available integrations listed in their library index.
this endpoint allows you to retrieve all branded links. you can submit this request as one of your subusers if you include their id in the on-behalf-of
header in the request.
this endpoint allows you to retrieve a list of all pending teammate invitations. each teammate invitation is valid for 7 days. users may resend the invitation to refresh the expiration date.
this endpoint allows you to retrieve all of your current inbound parse settings.
this endpoint allows you to retrieve your user account details. your user’s account information includes the user’s account type and reputation.
Retrieve subusers accessible to a specified teammate, with available scopes. admin teammates get access to all subusers.
The endpoint retrieves settings for tracking email opens using an invisible image. it logs open events when images load, with data available in sendgrid’s statistics portal and event webhook.
The endpoint provides a paginated list of reverse dns records, with optional ip prefix search and adjustable page size using ‘limit’ and ‘offset’ parameters.
this endpoint allows you to retrieve a list of all of the ip addresses that recently attempted to access your account either through the user interface or the api.
this endpoint allows you to retrieve all recipients on the list with the given id.
this endpoint allows you to retrieve all of your segments.
The endpoint provides details of cancelled or paused scheduled sends but only if they have a batch id
. sends scheduled without a batch id
via /mail/send
won’t be listed and can’t be paused or cancelled later through this endpoint.
this endpoint allows you to retrieve a list of all suppressions.
this endpoint allows you to retrieve your current profile details.
Retrieve spam reports in pages using limit
for page size and offset
to continue from a specific list position. multiple requests handle larger lists.
this endpoint allows you to retrieve a credits overview for a subuser.
This endpoint lets you delete an allowed ip address using its id, obtainable via the “retrieve allowed ips” endpoint.
Retrieve a list of recent access requests using pagination with limit
for page size and offset
to control the start position for additional items.
this endpoint allows you to retrieve all suppressed email addresses belonging to the given group.
this endpoint allows you to check the upload status of a marketing campaigns recipient.
Retrieve a paginated list of campaigns in reverse creation order with the api endpoint. if none exist, get an empty array. adjust page size with limit
, and fetch more with offset
.
This endpoint provides a list of user-created suppression groups and can return info for multiple groups when their ids are added to the request with ?id=123456
.
this endpoint gets amount of ip addresses that can still be created during a given period and the price of those ips.
this endpoint returns a list of all groups from which the given email address has been unsubscribed.
Retrieve a paginated list of teammates with the limit
parameter to set page size and offset
to specify the starting point for additional items. make multiple requests if needed.
this endpoint allows you to remove contacts from a given list. the contacts will not be deleted. only their list membership will be changed.
This endpoint fetches multiple contacts using their ids, allowing up to 100 ids per request for efficiency over single get
requests. regular export of contacts is advised for backup.
The endpoint returns the latest 50 contacts, sorted by email, with the total count included. pagination is deprecated; regular export of contacts is advised.
The operation provides details for an ip address, such as its parent account status, warm-up settings, associated pools, add/modify dates, lease status, and enablement, excluding subuser info, which requires a different endpoint.
Use the endpoint to fetch up to 100 contacts by identifiers (email, phone number, etc.). successful queries return 200, no results return 404, and errors return 400. regular backups are advised.
This endpoint fetches the default domain authentication, used for sending all mail unless overridden by a ‘from’ address match. it provides domain details if a default is set; otherwise, it gives general authentication info.
Endpoint retrieves up to 100 contacts by email, ignoring case/space; simpler than sgql’s search. success returns 200
, 404
for no match, 400
for invalid emails. regular contact backups recommended.
The endpoint /designs/pre-builts/\{id\}
is used to fetch details about a particular pre-built design for duplication and modification.
this endpoint returns a list of all of a user’s bulk email validation jobs.
Retrieve an event webhook by id to get settings, event types, and url details. without id, the oldest is returned. signatures and oauth webhooks have extra properties. use another endpoint for multiple webhook ids.
Fetches your account’s ip addresses with details such as pool association and warm-up status. ‘is parent assigned’ and ‘pool’ must be exclusive. pagination needs ‘limit’ and ‘before key’ or ‘after key’.
Retrieve your sendgrid engagement quality (seq) scores via api for a chosen date range. get a 200
response for available scores, or a 202
if scores haven’t been calculated yet. scores range from 1 to 5, higher indicating better engagement.
This operation retrieves details of an ip pool, such as name, id, some sample ips (up to 10), and the total ip count. for more ips, use “get ips assigned to an ip pool.”
Retrieve a paginated list of subusers with filtering options. use username
to filter, limit
to set page size, and offset
to navigate through the list.
Access a specific design’s details in your design library with a get request to /designs/\{id\}
. this endpoint is useful for obtaining info to update via patch request.
The /designs
endpoint fetches a list of user’s stored designs, restricted to 100 per request by default but adjustable with page size
. pre-built designs are at /designs/pre-builts
.
Get marketing campaigns segment by id
This endpoint retrieves your click tracking settings in sendgrid which tracks user engagement by redirecting and monitoring clicks on up to 1000 links per email.
this endpoint allows you to retrieve the total number of marketing campaigns recipients.
this endpoint allows you to retrieve a specific alert.
This endpoint retrieves current forward spam settings, listing specified email addresses receiving spam reports and showing if the feature is active.
this endpoint allows you to retrieve a specific bounce by email address.
This endpoint provides a list of authorized ip addresses for your account, each with creation, update dates, and a unique id for potential removal.
This endpoint retrieves global email suppressions and confirms if an email is suppressed. if suppressed, the email is returned in the response; if not, an empty json object is returned.
this endpoint allows you to get all of the ip addresses that are in a specific ip pool.
This endpoint retrieves enforced tls settings that mandate recipients to support tls 1.1+ or have a valid certificate. if not met, messages are dropped with a “tls required but not supported” block event.
this endpoint allows you to retrieve a reverse dns record. you can retrieve the ids associated with all your reverse dns records using the “retrieve all reverse dns records” endpoint.
this endpoint allows you to retrieve a custom field by id.
this endpoint allows you to retrieve a specific authenticated domain.
Retrieve an api key’s details with its id via this endpoint. nonexistent keys yield a 404 error. key scopes can be modified later. refer to the documentation for scope details.
this endpoint allows you to retrieve a single segment with the given id.
Retrieve your global email stats within a specific date range, with parent accounts viewing their own or a subuser’s aggregated data via the on-behalf-of
header, while subusers see only their stats.
this endpoint allows you to retrieve a single transactional template.
This api endpoint lists all accessible scopes for the user’s api key, with permissions determining endpoint access. visit sendgrid documentation for more on api key permissions.
this endpoint allows you to retrieve a specific campaign.
Retrieve email stats by browser with advanced stats api, storing 7 days of data, and defaulting to 500 items per request. segment by location, device, and more. visit provided link for details.
Retrieve your google analytics settings, which are set to google’s recommended defaults, to understand user site activity. for details, use google’s guides and best practices links.
The endpoint retrieves settings for original email templates, with a guide for using and migrating from legacy to newer dynamic transactional templates.
this endpoint allows you to retrieve a specific email address from your blocks list.
this endpoint allows you to retrieve the email address currently on file for your account.
Retrieve all marketing campaign recipients via this endpoint. use batch deletion carefully, as it may lead to empty pages. continue iterating pages until a 404 error occurs to ensure complete retrieval.
this endpoint allows you to retrieve all transactional templates.
The api endpoint allows subusers to fetch up to five domains verified by the main account for sending emails, with a defined order of domain selection.
this endpoint allows you to retrieve a single recipient list.
Retrieve monthly subuser email stats for a date range but can’t sort by metrics like bounce drops, deferred, invalid emails, processed, spam reports, or unsubscribe drops.
This endpoint provides sender reputation scores for subusers, reflecting their email performance based on recipient responses and negative actions like bounces or spam reports.
Retrieve email stats by client type with endpoint; stats stored for 7 days, 500 items per request. advanced stats offer detailed insights, segmentable by location, device, and more. visit the provided link for details.
This endpoint provides the billable count of recipients for marketing campaigns, based on the highest number reached in your account.
This endpoint retrieves an allowed ip for your account using its id, with ids obtainable from the endpoint listing currently allowed ips.
this endpoint allows you to retrieve the total sum of each email statistic for every category over the given date range. if you do not define any query parameters, this endpoint will return a sum for each category in groups of 10.
The endpoint retrieves the default branded link for message sending, prioritizing user-set default, legacy, or sendgrid’s default links. subuser requests are possible with id in the header.
this endpoint allows you to retrieve all of the recipients in a segment with the given id.
this endpoint allows you to immediately send an existing campaign. normally a post request would have a body, but since this endpoint is telling us to send a resource that is already created, a request body is not needed.
this endpoint allows you to retrieve your current account username.
This endpoint checks an account’s base email sending credit balance, which affects per-email charges. more details at sendgrid’s billing documentation.
This endpoint searches marketing campaigns recipients. variable ‘field name’ represents custom text fields (url-encoded) or date fields (by unix timestamp) and auto-converts epoch time for ‘reserved’ date fields to a full day range.
Search json data for segments by specifying criteria for dates, text, and campaign ids using operators and boolean logic. optional list ids can refine results. used for email metrics.
this endpoint allows you to search a suppression group for multiple suppressions. when given a list of email addresses and a group id, this endpoint will only return the email addresses that have been unsubscribed from the given group.
this endpoint allows you to retrieve a specific branded link by providing its id. you can submit this request as one of your subusers if you include their id in the on-behalf-of
header in the request.
this endpoint allows you to retrieve a single recipient by id from your contact database.
Export single send stats in .csv format by specifying one or multiple single send ids in the ids
query string, separated by commas. data is returned as plain text in .csv for flexible use or saving.
this endpoint allows you to set up reverse dns.
this endpoint allows you to send a test campaign. to send to multiple addresses, use an array for the json “to” value [“one@address”,“two@address”]
this endpoint allows you to retrieve a specific invalid email addresses.
this endpoint allows you to list all fields that are reserved and can’t be used for custom field names.
This api endpoint offers detailed email stats by location, with up to 7 days of data stored and 500 items returned per request. more segmentation options are available. see the user guide for details.
Retrieve a paginated list of partner settings using the limit
to set page size and offset
to specify the starting point for additional items. multiple requests may be needed for long lists.
this endpoint allows you to retrieve the lists that a given recipient belongs to. each recipient can be on many lists. this endpoint gives you all of the lists that any one recipient has been added to.
this endpoint allows you to retrieve the cancel/paused scheduled send information for a specific batch id
.
Use the endpoint to test marketing emails with a template id
and up to 10 contacts. requires a from address
or sender id
. supports only dynamic transactional templates. manage with sendgrid app or api.
This endpoint removes an ip from warmup mode, returning a 204 code if successful. for warmup status details prior to removal, use the “retrieve warmup status” endpoint.
this endpoint allows you to put an ip address into warmup mode.
This endpoint schedules campaign emails for a specific time, recommending off-peak times like 10:53 instead of on the hour to minimize server deferrals and enhance delivery rates.
Retrieve monthly email stats for subusers with sort by metric
, excluding sorts by bounce drops
, deferred
, invalid emails
, processed
, spam report drops
, spam reports
, unsubscribe drops
.
Toggle signature verification for event webhooks via an endpoint. defaults to the oldest webhook if no id is provided. use boolean ‘enabled’ to set. returns a public key if enabled. retrieve webhook ids and public keys through specific endpoints.
this endpoint returns a specific bulk email validation job. you can use this endpoint to check on the progress of a job.
Updates an account’s package and attaches optional add-ons like marketing campaigns, dedicated ips, and expert services. note: accounts are limited to one package.
Update email whitelist settings by toggling enabled
. use list
to replace entries - include all desired. exclude generic domains for can-spam compliance; whitelist bypasses bounces/unsubscribes for included contacts.
this endpoint allows you to update the settings for an authenticated domain.
this endpoint allows you to retrieve a single segment by id.
this endpoint allows you to update an alert.
Retrieve email stats by device type with a 7-day data retention limit. the advanced stats api returns 500 items per request. device types include desktop, webmail, phone, tablet, and other. more analytics available at sendgrid’s statistics overview.
The endpoint enables removal of an authenticated domain from subusers, each limited to five domains, to allow mail sending under a parent domain.
this endpoint allows you to retrieve the warmup status for a specific ip address. you can retrieve all of your warming ips using the “retrieve all ips currently in warmup” endpoint.
this endpoint allows you to retrieve the total sums of each email statistic metric for all subusers over the given date range.
This operation will rename an ip pool. an ip pool name cannot start with a dot/period (.) or space.
this endpoint allows you to update the name of an existing api key. you must pass this endpoint a json request body with a name
property, which will be used to rename the key associated with the api key id
passed in the url.
this endpoint allows you to update a specific branded link. you can use this endpoint to change a branded link’s default status. you can submit this request as one of your subusers if you include their id in the on-behalf-of
header in the request.
this endpoint allows you to update the name of one of your recipient lists.
this endpoint allows you to update a specific campaign. this is especially useful if you only set up the campaign using post /campaigns, but didn’t set many of the parameters.
this endpoint allows you to update a specific inbound parse setting by hostname. you can retrieve all your inbound parse settings and their associated host names with the “retrieve all parse settings” endpoint.
this endpoint allows you to retrieve a list of all tracking settings on your account.
this endpoint allows you to retrieve a specific inbound parse setting by hostname. you can retrieve all your inbound parse settings and their associated host names with the “retrieve all parse settings” endpoint.
this endpoint allows you to retrieve a specific teammate by username. you can retrieve the username’s for each of your teammates using the “retrieve all teammates” endpoint.
The mail send operation uses sendgrid’s v3 api to send emails. visit the provided link for an overview, features, limitations, quickstarts, and helper libraries.
Retrieve email stats by provider with advanced stats api, displaying details like location and device. only 7 days of data stored, 500 items per request. more info at sendgrid’s statistics overview.
Update an api key’s name and/or scopes using json with a name
field and scopes
array. to change only scopes, reuse the existing name. for just a name update, use another endpoint. see the permissions list for scope options. (https://docs.sendgrid.com)
this endpoint allows you to unschedule a campaign that has already been scheduled to be sent. a successful unschedule will return a 204. if the specified campaign is in the process of being sent, the only option is to cancel (a different method).
this endpoint allows you to modify an exisiting sso integration. you can retrieve the ids for your configurations from the response provided by the “get all sso integrations” endpoint.
Use this endpoint to change the status of a scheduled send by batch id. status updates fail with a 400 error if previously set with the cancel/pause endpoint.
this endpoint allows to you change the scheduled time and date for a campaign to be sent.
The endpoint tests event webhooks by sending a fake event to your url. it has unique retry logic and requires specific oauth properties to test oauth configurations. saved credentials can be retrieved except for oauth client secret
.
this endpoint allows you to retrieve a specific spam report by email address.
Retrieve a subuser’s branded link, created and validated by the parent account, available through the api or twilio sendgrid’s subuser management page.
Retrieve and manage your bounce/purge settings for soft/hard bounce suppression lists with twilio sendgrid, either automatically or manually via the app/api.
This endpoint fetches the current email forwarding settings for bounce messages, including the recipient email and whether the feature is active.
Retrieve and customize your footer settings for email bodies via this endpoint, directly or through twilio sendgrid’s mail settings menu.
this endpoint allows you to retrieve all of your email statistics for each of your categories. if you do not define any query parameters, this endpoint will return a sum for each category in groups of 10.
this endpoint allows you to retrieve a specific version of a template.
this endpoint allows you to retrieve your current settings for subscription tracking. subscription tracking adds links to the bottom of your emails that allows your recipients to subscribe to, or unsubscribe from, your emails.
Use advanced stats api to get email statistics by client type (e.g., phone, desktop), offering location and device details. data storage is limited to 7 days with up to 500 items per request. see statistics overview for further information.
Use this endpoint to send a message right away by setting send at
to now
, or schedule it by specifying a future time in iso 8601 format (yyyy-mm-ddthh:mm:ssz
).
This endpoint will return the total number of bounces by classification in descending order for each day. you can retrieve the bounce classification totals in csv format by specifying "text/csv"
in the accept header.
Update the state of the specified account.
Find contacts using this endpoint with a body containing a query
in sgql. searches must use lowercase, and only the first 50 matches are returned. queries over 20s will timeout. dates are in iso format, not unix timestamps.
this endpoint allows you to retrieve the email statistics for the given subusers. you may retrieve statistics for up to 10 different subusers by including an additional subusers parameter for each additional subuser.
This endpoint will return the number of bounces for the classification specified in descending order for each day. you can retrieve the bounce classification totals in csv format by specifying "text/csv"
in the accept header.
this endpoint allows you to update a defined custom field. only your custom fields can be modified; reserved fields cannot be updated.
This endpoint configures click tracking for emails, redirecting links through sendgrid or branded domains for engagement analysis, with a limit of 1000 links per email.
This api endpoint enables updates to sender identities. changing from.email
necessitates re-verification. partial updates are valid, but “required” fields must not be empty in patch requests.
Endpoint checks reverse dns record validity via valid
in validation results.a record
. if false
, it’s undetermined, not necessarily invalid. check reason
for explanation. retrieve ids with “retrieve all reverse dns records” endpoint.
this endpoint allows you to validate a branded link. you can submit this request as one of your subusers if you include their id in the on-behalf-of
header in the request.
this endpoint allows you to update or change a suppression group.
Validate a mail batch id to get a 200
status code for a valid one, or a 400
code for an invalid. a valid id simply means it’s created, not necessarily assigned to a send.
This endpoint updates an existing sender. changes to from.email
need re-verification. if domain authenticated, new senders auto verify; else, verification email sent. partial updates can be made, but “required” fields in a patch
must not be empty.
this endpoint allows you to update your current profile details. any one or more of the parameters can be updated via the patch /user/profile
endpoint. you must include at least one when you patch.
Update your bounce settings with twilio sendgrid to automatically delete contacts from suppression lists based on a set schedule in full days for both soft and hard email bounces. manage settings via their app or api.
this endpoint allows you to update a segment.
The design api enables partial design updates using patch requests, changing only specified fields, like the ‘name’ field, with no impact on other data.
this endpoint allows you to update an existing certificate by id. you can retrieve a certificate’s id from the response provided by the “get all sso integrations” endpoint.
The operation modifies an ip address’s settings, such as auto warm-up status, parent account assignment, and active status. the request must have one of is auto warmup
, is parent assigned
, or is enabled
.
this endpoint allows you to validate an authenticated domain. if it fails, it will return an error message describing why the domain could not be validated.
Update event webhooks by id with this endpoint or without id to update the oldest one. enable or disable, set url, choose event types, give friendly names, and configure oauth. for signature verification, use a different endpoint.
this endpoint allows you to update your current settings for subscription tracking. subscription tracking adds links to the bottom of your emails that allows your recipients to subscribe to, or unsubscribe from, your emails.
this endpoint allows you to verify a sender requests. the token is generated by sendgrid and included in a verification email delivered to the address that’s pending verification.
this endpoint allows you to retrieve a specific sender identity.
this endpoint allows you to retrieve the date and time that a campaign has been scheduled to be sent.
This endpoint updates teammate permissions: set is admin
to true
for admin rights, otherwise to false
with relevant scopes. only parent users or admins can modify these settings, and admin users are limited to permission changes.
The endpoint updates legacy email templates, replaced by more advanced dynamic transactional templates. legacy templates are html-wrapped email content useful for marketing. guidance is available for using and migrating from legacy templates.
this endpoint allows you to update the credits for a subuser.
this endpoint allows you to update the remaining credits for a subuser.
this endpoint allows you to update the email address currently on file for your account.
this endpoint allows you to update your password.
this endpoint allows you to update the username for your account.
This endpoint updates your email footer settings, enabling a custom footer addition in text/html emails. edit directly or via the twilio sendgrid app.
Update tls settings through the endpoint by setting ‘require tls’ to ‘true’ for compulsory tls 1.1+ and valid certificates with recipients. messages without tls are blocked with a specific event notice.
this endpoint allows you to validate an email address.
Activate forward spam to send spam reports to specified emails; supports multiple addresses and authenticating domains to receive abuse/postmaster mails. configure via twilio sendgrid app.
This endpoint updates bounce forwarding mail settings, allowing users to set an email for bounce report forwards and configure spam mail forwarding in twilio sendgrid app.
Update your google analytics settings to track user activity on your site more effectively; defaults follow google’s recommendations. for guidance, visit google’s url builder and campaign building best practices.
This endpoint updates an existing integration.
Update your email settings to enable open tracking with sendgrid, which uses an invisible image to log email opens in various reports if the recipient allows images.
Segment name
has to be unique. a user can not create a new segment with an existing segment name.
this endpoint updates the name of a list.
Update single send drafts using its id via this endpoint; only changed properties are affected. the ‘send at’ property sets a date but doesn’t schedule it; use schedule single send endpoint or ui to schedule.