Add or update a contact
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…
Add recipient addresses to the global suppression group
**this endpoint allows you to add one or more email addresses to the global suppressions group.**
Add suppressions to a suppression group
**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 suppressio…
Approve access request
**this endpoint allows you to approve an access attempt.** **note:** only teammate admins may approve another teammate’s access request.
Assign a batch of subusers to an ip
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…
Associate a branded link with a subuser
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.
Associate an authenticated domain with a given user
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…
Authenticate a domain
The endpoint enables domain authentication for users or subusers, offering two methods—'username' parameter for visibility and modification, or the association workflow for a fix…
Authenticate an account with single sign on
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 …
Bind authenticated domains to user
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 pri…
Bulk delete single sends
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.
Cancel or pause a scheduled send
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 limit…
Completed steps
This api endpoint checks if a sendgrid account has completed domain authentication (`domain verified`) and single sender verification (`sender verified`), returning boolean value…
Create a batch id
Create a new mail batch id to group email sends, allowing pause or cancel actions via the scheduled sends api.
Create a branded link
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` he…
Create a campaign
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 initia…
Create a custom field
**this endpoint allows you to create a custom field.** **you can create up to 120 custom fields.**
Create a list
**this endpoint allows you to create a list for your recipients.**
Create an account
Creates a new account, with specified offering, under the organization.
Create a new alert
**this endpoint allows you to create a new alert.**
Create a new event webhook
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.
Create a new suppression group
**this endpoint allows you to create a new suppression group.** to add an email address to the suppression group, [create a suppression](https://docs.sendgrid.com/api-reference/s…
Create a new transactional template version
**this endpoint allows you to create a new version of a template.**
Create an ip pool
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.
Create an ip pool with a name and ip assignments
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.
Create an sso certificate
**this endpoint allows you to create an sso certificate.**
Create an sso integration
**this endpoint allows you to create an sso integration.**
Create an sso teammate
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 ar…
Create a parse setting
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…
Create api keys
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 spe…
Create a segment
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 comb…
Create a sender
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…
Create a sender identity
**this endpoint allows you to create a new sender identity.** you may create up to 100 unique sender identities.
Create a transactional template
**this endpoint allows you to create a transactional template.**
Create custom field definition
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 da…
Create design
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 desi…
Createintegration
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…
Create list
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`.
Create segment
Segment `name` has to be unique. a user can not create a new segment with an existing segment name.
Create single send
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 e…
Create subuser
**this endpoint allows you to create a new subuser.**
Create verified sender request
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 aut…
Delete a batch of ips from an ip pool
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 …
Delete a batch of subusers from an ip
This operation removes a batch of subusers from a specified ip address.
Delete a bounce
**this endpoint allows you to remove an email address from your bounce list.**
Delete a branded link
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 t…
Delete a campaign
**this endpoint allows you to delete a specific campaign.**
Delete a cancellation or pause from a scheduled send
**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 …
Delete a contact identifier
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, ext…
Delete a custom field
**this endpoint allows you to delete a custom field by id.**
Delete a global suppression
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.
Delete a list
**this endpoint allows you to delete a specific recipient list with the given id.**
Delete an account
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.
Delete an alert
**this endpoint allows you to delete an alert.**
Delete an authenticated domain
**this endpoint allows you to delete an authenticated domain.**
Delete an ip pool
**this endpoint allows you to delete an ip pool.**
Delete an sso certificate
**this endpoint allows you to delete an sso certificate.** you can retrieve a certificate's id from the response provided by the \
Delete an sso integration
**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 \
Delete a parse setting
**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 \
Delete api keys
**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 th…
Delete a recipient
**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 …
Delete a reverse dns record
This endpoint deletes a reverse dns record, returning a 204 code on success. retrieve record ids using the \
Delete a segment
**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 databa…
Delete a sender
**this endpoint allows you to delete an existing sender.**
Delete a sender identity
**this endpoint allows you to delete one of your sender identities.**
Delete a single event webhook by id
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 de…
Delete a single recipient from a single list
**this endpoint allows you to delete a single recipient from a list.**
Delete a specific block
**this endpoint allows you to delete a specific email address from your blocks list.**
Delete a specific invalid email
**this endpoint allows you to remove a specific email address from the invalid email address list.**
Delete a specific spam report
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…
Delete a subuser
**this endpoint allows you to delete a subuser.** this is a permanent action. once deleted, a subuser cannot be retrieved.
Delete a suppression from a suppression group
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.
Delete a suppression group
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. b…
Delete a template
**this endpoint allows you to delete a transactional template.**
Delete a transactional template version
**this endpoint allows you to delete a transactional template version.**
Delete blocks
This endpoint enables clearing blocked emails either by deleting all with `delete all`=true or by specifying addresses in the `emails` array.
Delete bounces
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.
Deletebulkintegration
This endpoint deletes integrations.
Delete contacts
Use this endpoint to bulk delete contacts with `ids` as a list of ids or `delete all contacts` set to `\
Delete custom field definition
**this endpoint deletes a defined custom field.** you can delete only custom fields; reserved fields cannot be deleted.
Delete design
**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 ac…
Delete invalid emails
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.
Delete ip pool
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 pending teammate
**this endpoint allows you to delete a pending teammate invite.**
Delete segment
**this endpoint allows you to delete a segment by id.**
Delete single send by id
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.
Delete single send schedule
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.
Delete spam reports
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: 'd…
Delete teammate
**this endpoint allows you to delete a teammate.** **only the parent user or an admin teammate can delete another teammate.**
Delete verified sender
Use this endpoint with a sender identity's `id` to remove it from your account. find sender identity ids through the \
Deny access request
**this endpoint allows you to deny an attempt to access your account.** **note:** only teammate admins may delete a teammate's access request.
Disassociate a branded link from a subuser
The endpoint permits parent accounts to remove a branded link from a subuser, with successful disassociations confirmed by a 204 status code response.
Disassociate an authenticated domain from a given user
Disassociate an authenticated domain from a given user.
Domain warn list
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 mor…
Download csv
**this endpoint will return a presigned url that can be used to download the csv that was requested from the \
Duplicate a transactional template
**this endpoint allows you to duplicate a transactional template.**
Duplicate design
This endpoint duplicates existing designs without requiring data in the request body. if you don't specify a `name`, it's labeled \
Duplicate sendgrid pre built design
The endpoint lets you duplicate twilio sendgrid pre-built designs without data. if unnamed, \
Duplicate single send
This endpoint duplicates single sends using an id for easy creation, allowing edits via patch. duplicates are named as \
Edit an sso teammate
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.
Edit a transactional template
This endpoint lets you change the name of a transactional template. for template modifications, create a new version using the provided link.
Edit a transactional template version
**this endpoint allows you to edit the content of your template version.**
Edit verified sender
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`.
Email dns records to a co worker
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 …
Enable disable a subuser
**this endpoint allows you to enable or disable a subuser.**
Enable disable website access for a subuser
Enable/disable website access for a subuser, while still preserving email send functionality.
Erase recipients email data
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, an…
Export contacts
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 …
Export contacts status
Use this endpoint with an `id` from \
Export single send stats
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.
Filter all messages
Summarize email activity filtering: use url-encoded queries in the format `query={type}=\
Filter messages by message id
Get all of the details about the specified message.
Filtersegmentsbyparentids
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 p…
Get account offerings
Retrieves offering information about the specified account.
Get a contact by id
**this endpoint returns the full details and all fields for the specified contact**. the \
Get a list by id
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.
Get a list of all ip addresses on your account
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 'bef…
Get a list of all senders
**this endpoint allows you to get a list of all your senders.**
Get a list of subusers assigned to an ip
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](https://docs.sendgrid.com/api-reference/…
Get all accounts
Retrieves all accounts under the organization.
Get all automation stats
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 specif…
Get all available offerings
Retrieves offerings available under the organization.
Get all categories
**this endpoint allows you to retrieve all the categories associated with your single sends.** this endpoint will return your latest 1,000 categories.
Get all existing exports
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 w…
Get all field definitions
**this endpoint retrieves all defined custom fields and reserved fields.**
Get all ip pools that have associated ips
The function lists your ip pools and samples up to 10 ips from each. for more ips per pool, use \
Get all lists
**this endpoint returns an array of all of your contact lists.**
Get all sender identities
**this endpoint allows you to retrieve a list of all sender identities that have been created for your account.**
Get all single sends
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}` …
Get all single sends stats
Retrieve single sends stats with options for filtering by ids, pagination, and custom page sizes from 1-50. default response batch is 25.
Get all sso certificates by integration
**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 t…
Get all sso integrations
**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…
Get all verified senders
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.
Get an account s state
Retrieve the state of the specified account.
Get an sso certificate
**this endpoint allows you to retrieve an individual sso certificate.**
Get an sso integration
**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 a specific sender
**this endpoint allows you to get the details for a specific sender by `id`.**
Get a user s account information
**this endpoint allows you to retrieve your user account details.** your user's account information includes the user's account type and reputation.
Get a user s profile
**this endpoint allows you to retrieve your current profile details.**
Get automation click tracking stats by id
**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 r…
Get automation stats by id
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.
Get batched contacts by ids
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 b…
Get bounce class stats
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…
Get contacts by emails
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 cont…
Get contacts by identifiers
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 back…
Get design
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.
Get details for an ip address
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…
Get details for an ip pool
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 engagement quality scores
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 ye…
Get information on a single suppression group
**this endpoint allows you to retrieve a single suppression group.**
Getintegration
This endpoint returns the data for a specific integration.
Get ips assigned to an ip pool
This operation returns the ip addresses that are assigned to the specified ip pool.
Get list contact count
**this endpoint returns the number of contacts on a specific list.**
Get list of segments
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, abs…
Get open tracking settings
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 e…
Get recipient upload status
**this endpoint allows you to check the upload status of a marketing campaigns recipient.**
Get remaining ips count
**this endpoint gets amount of ip addresses that can still be created during a given period and the price of those ips.**
Get sample contacts
The endpoint returns the latest 50 contacts, sorted by email, with the total count included. pagination is deprecated; regular export of contacts is advised.
Get segment by id
Get marketing campaigns segment by id
Get sendgrid pre built design
The endpoint `/designs/pre-builts/{id}` is used to fetch details about a particular pre-built design for duplication and modification.
Get signed event webhook s public key
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. …
Get single send by id
**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 `/marketin…
Get single send click tracking stats by id
**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…
Get single sends search
Search for single sends by specifying `name`, `status`, and `categories` in the request body. example provided for drafts or scheduled items related to \
Get single send stats by id
Retrieve individual single send stats using its id. for multiple ids, use \
Get subuser monthly stats
Retrieve monthly email stats for subusers with `sort by metric`, excluding sorts by `bounce drops`, `deferred`, `invalid emails`, `processed`, `spam report drops`, `spam reports`…
Get subusers engagement quality scores
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, wit…
Get suppression groups
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`.
Get teammate subuser access
Retrieve subusers accessible to a specified teammate, with available scopes. admin teammates get access to all subusers.
Get the credits for a subuser
**this endpoint allows you to retrieve a credits overview for a subuser.**
Get the default authentication
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; ot…
Get the settings for a single event webhook
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 anothe…
Get total contact count
**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 list of scopes for which this user has access
Retrieve a list of scopes for which this user has access
Import contacts
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 recomme…
Import contacts status
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` fil…
Invite teammate
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.
List all authenticated domains
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.
List all subusers
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.
List api keys
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.
List Bulk Email Validation Jobs
**this endpoint returns a list of all of a user's bulk email validation jobs.**
List designs
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-…
Listintegration
This endpoint returns all the integrations for the user making this call.
List sendgrid pre built designs
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 s…
List the authenticated domain associated with the given user
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 listi…
Manually refresh a segment
Manually refresh a segment by segment id.
Presigned url headers for bulk email validation
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 p…
Remove an ip address from a pool
**this endpoint allows you to remove an ip address from an ip pool.**
Remove an ip from an authenticated domain
**this endpoint allows you to remove an ip address from that domain's authentication.**
Remove a specific ip from the allowed list
This endpoint lets you delete an allowed ip address using its id, obtainable via the \
Remove contacts from a list
**this endpoint allows you to remove contacts from a given list.** the contacts will not be deleted. only their list membership will be changed.
Remove list and optional contacts
**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…
Remove one or more ips from the allow list
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 acc…
Remove segment without affecting contacts
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.
Rename an ip pool
**this endpoint allows you to update the name of an ip pool.**
Request csv
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…
Resend a sender verification
**this endpoint allows you to resend the verification request for a specific sender.**
Resend sender identity verification
**this endpoint allows you to resend a sender identity verification email.**
Resend teammate invite
**this endpoint allows you to resend a teammate invitation.** teammate invitations will expire after 7 days. resending an invitation will reset the expiration date.
Resend verified sender request
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. retr…
Retrieve a bounce
**this endpoint allows you to retrieve a specific bounce by email address.**
Retrieve a branded link
**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-behal…
Retrieve access requests
Retrieve a list of recent access requests using pagination with `limit` for page size and `offset` to control the start position for additional items.
Retrieve a count of recipients
**this endpoint allows you to retrieve the total number of marketing campaigns recipients.**
Retrieve a custom field
**this endpoint allows you to retrieve a custom field by id.**
Retrieve address whitelist mail settings
This endpoint lets you access settings for whitelisting specific emails or domains to prevent email suppression due to bounces, blocks, or unsubscribes.
Retrieve a global suppression
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 re…
Retrieve a list of currently allowed ips
This endpoint provides a list of authorized ip addresses for your account, each with creation, update dates, and a unique id for potential removal.
Retrieve all alerts
**this endpoint allows you to retrieve all of your alerts.**
Retrieve all assigned ips
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 us…
Retrieve all blocks
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 all bounces
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.
Retrieve all branded links
**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.
Retrieve all campaigns
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 `off…
Retrieve all categories
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 la…
Retrieve all custom fields
**this endpoint allows you to retrieve all custom fields.**
Retrieve all global suppressions
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 …
Retrieve all invalid emails
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 all ip addresses
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` paramete…
Retrieve all ip pools
**this endpoint allows you to get all of your ip pools.**
Retrieve all ip pools an ip address belongs to
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.
Retrieve all ips currently in warmup
**this endpoint allows you to retrieve all of your ip addresses that are currently warming up.**
Retrieve all lists
**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 all mail 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.
Retrieve all of your event webhooks
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 se…
Retrieve all parse settings
**this endpoint allows you to retrieve all of your current inbound parse settings.**
Retrieve all pending teammates
**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 …
Retrieve all recent access attempts
**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.**
Retrieve all recipients on a list
**this endpoint allows you to retrieve all recipients on the list with the given id.**
Retrieve all reverse dns records
The endpoint provides a paginated list of reverse dns records, with optional ip prefix search and adjustable page size using 'limit' and 'offset' parameters.
Retrieve all scheduled sends
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…
Retrieve all segments
**this endpoint allows you to retrieve all of your segments.**
Retrieve all spam reports
Retrieve spam reports in pages using `limit` for page size and `offset` to continue from a specific list position. multiple requests handle larger lists.
Retrieve all suppression groups for an email address
Retrieve all suppression groups for an email address
Retrieve all suppressions
**this endpoint allows you to retrieve a list of all suppressions.**
Retrieve all suppressions for a suppression group
**this endpoint allows you to retrieve all suppressed email addresses belonging to the given group.**
Retrieve all teammates
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 need…
Retrieve all the ips in a specified pool
**this endpoint allows you to get all of the ip addresses that are in a specific ip pool.**
Retrieve an authenticated domain
**this endpoint allows you to retrieve a specific authenticated domain.**
Retrieve an existing api key
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.
Retrieve a reverse dns record
**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 a segment
**this endpoint allows you to retrieve a single segment with the given id.**
Retrieve a single campaign
**this endpoint allows you to retrieve a specific campaign.**
Retrieve a single list
**this endpoint allows you to retrieve a single recipient list.**
Retrieve a single recipient
**this endpoint allows you to retrieve a single recipient by id from your contact database.**
Retrieve a single transactional template
**this endpoint allows you to retrieve a single transactional template.**
Retrieve a specific alert
**this endpoint allows you to retrieve a specific alert.**
Retrieve a specific allowed ip
This endpoint retrieves an allowed ip for your account using its id, with ids obtainable from the endpoint listing currently allowed ips.
Retrieve a specific block
**this endpoint allows you to retrieve a specific email address from your blocks list.**
Retrieve a specific invalid email
**this endpoint allows you to retrieve a specific invalid email addresses.**
Retrieve a specific parse setting
**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 a specific spam report
**this endpoint allows you to retrieve a specific spam report by email address.**
Retrieve a specific transactional template version
**this endpoint allows you to retrieve a specific version of a template.**
Retrieve a subuser s branded link
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 bounce classification totals
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 speci…
Retrieve bounce purge mail settings
Retrieve and manage your bounce/purge settings for soft/hard bounce suppression lists with twilio sendgrid, either automatically or manually via the app/api.
Retrieve click track settings
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.
Retrieve current enforced tls settings
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 \
Retrieve email statistics by browser
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 li…
Retrieve email statistics by client type
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 mo…
Retrieve email statistics by country and state province
Retrieve email statistics by country and state/province.
Retrieve email statistics by device type
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,…
Retrieve email statistics by mailbox provider
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 …
Retrieve email statistics for categories
**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 …
Retrieve email statistics for your subusers
**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 subus…
Retrieve footer mail settings
Retrieve and customize your footer settings for email bodies via this endpoint, directly or through twilio sendgrid's mail settings menu.
Retrieve forward bounce mail settings
This endpoint fetches the current email forwarding settings for bounce messages, including the recipient email and whether the feature is active.
Retrieve forward spam mail settings
This endpoint retrieves current forward spam settings, listing specified email addresses receiving spam reports and showing if the feature is active.
Retrieve global email statistics
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…
Retrieve google analytics settings
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 lin…
Retrieve legacy template mail settings
The endpoint retrieves settings for original email templates, with a guide for using and migrating from legacy to newer dynamic transactional templates.
Retrieve monthly stats for all subusers
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.
Retrieve paged transactional templates
**this endpoint allows you to retrieve all transactional templates.**
Retrieve recipients
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 en…
Retrieve recipients on a segment
**this endpoint allows you to retrieve all of the recipients in a segment with the given id.**
Retrieve reserved fields
**this endpoint allows you to list all fields that are reserved and can't be used for custom field names.**
Retrieve scheduled send
**this endpoint allows you to retrieve the cancel/paused scheduled send information for a specific `batch id`.**
Retrieves inbound parse webhook statistics
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.
Retrieve single segment endpoint
**this endpoint allows you to retrieve a single segment by id.**
Retrieve specific teammate
**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 stats by a specific client type
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…
Retrieve subscription tracking settings
**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 recipient…
Retrieve subuser reputations
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 sums of email stats for each category
**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 endpo…
Retrieve the count of billable recipients
This endpoint provides the billable count of recipients for marketing campaigns, based on the highest number reached in your account.
Retrieve the default branded link
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 …
Retrieve the lists that a recipient is on
**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 r…
Retrieve the warmup status for a specific ip address
Retrieve the warmup status for a specific ip address
Retrieve tracking settings
**this endpoint allows you to retrieve a list of all tracking settings on your account.**
Retrieve user s authenticated domains
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.
Retrieve your account email address
**this endpoint allows you to retrieve the email address currently on file for your account.**
Retrieve your credit balance
This endpoint checks an account's base email sending credit balance, which affects per-email charges. more details at sendgrid's billing documentation.
Retrieve your username
**this endpoint allows you to retrieve your current account username.**
Returns a list of all partner settings
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 …
Schedule a campaign
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.
Schedule single send
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`).
Search contacts
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…
Search for suppressions within a group
**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 emai…
Search recipients
This endpoint searches marketing campaigns recipients. variable 'field name' represents custom text fields (url-encoded) or date fields (by unix timestamp) and auto-converts epoc…
Segment json data by specific criteria
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 met…
Send a campaign
**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…
Send a test campaign
**this endpoint allows you to send a test campaign.** to send to multiple addresses, use an array for the json \
Send a test marketing email
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. man…
Send email with twilio sendgrid
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.
Set up reverse dns
**this endpoint allows you to set up reverse dns.**
Singlesend csv stats retrieval
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 f…
Start warming up an ip address
**this endpoint allows you to put an ip address into warmup mode.**
Stop warming up an ip address
This endpoint removes an ip from warmup mode, returning a 204 code if successful. for warmup status details prior to removal, use the \
Sumemailstatsforsubusers
**this endpoint allows you to retrieve the total sums of each email statistic metric for all subusers over the given date range.**
Test an event webhook s settings
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 creden…
This request returns a single bulk email validation job
This request returns a single bulk email validation job
Toggle signature verification for a single event webhook by id
Toggle signature verification for a single event webhook by id
Unlink subuser domain
The endpoint enables removal of an authenticated domain from subusers, each limited to five domains, to allow mail sending under a parent domain.
Unschedule a scheduled campaign
**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 p…
Update a branded link
**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 su…
Update a campaign
**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.
Update account offerings
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 address whitelist mail settings
Update email whitelist settings by toggling `enabled`. use `list` to replace entries - include all desired. exclude generic domains for can-spam compliance; whitelist bypasses bo…
Update a list
**this endpoint allows you to update the name of one of your recipient lists.**
Update an account s state
Update the state of the specified account.
Update an alert
**this endpoint allows you to update an alert.**
Update an authenticated domain
**this endpoint allows you to update the settings for an authenticated domain.**
Update an ip pool name
This operation will rename an ip pool. an ip pool name cannot start with a dot/period (.) or space.
Update an sso integration
**this endpoint allows you to modify an exisiting sso integration.** you can retrieve the ids for your configurations from the response provided by the \
Update a parse setting
**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 \
Update api key name
**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 k…
Update api key name and scopes
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 endp…
Update a scheduled campaign
**this endpoint allows to you change the scheduled time and date for a campaign to be sent.**
Update a scheduled send
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.
Update a segment
**this endpoint allows you to update a segment.**
Update a sender
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 u…
Update a sender identity
This api endpoint enables updates to sender identities. changing `from.email` necessitates re-verification. partial updates are valid, but \
Update a single event webhook by id
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. f…
Update a suppression group
**this endpoint allows you to update or change a suppression group.**
Update a user s profile
**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 …
Update bounce purge mail settings
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…
Update click tracking settings
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.
Update custom field definition
**this endpoint allows you to update a defined custom field.** only your custom fields can be modified; reserved fields cannot be updated.
Update design
The design api enables partial design updates using patch requests, changing only specified fields, like the 'name' field, with no impact on other data.
Update details for an ip address
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 par…
Update enforced tls settings
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 …
Update footer mail settings
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 forward bounce mail settings
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 forward spam mail settings
Activate forward spam to send spam reports to specified emails; supports multiple addresses and authenticating domains to receive abuse/postmaster mails. configure via twilio sen…
Update google analytics settings
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…
Updateintegration
This endpoint updates an existing integration.
Update list
**this endpoint updates the name of a list.**
Update open tracking settings
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.
Update segment
Segment `name` has to be unique. a user can not create a new segment with an existing segment name.
Update single send
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 se…
Update sso certificate
**this endpoint allows you to update an existing certificate by id.** you can retrieve a certificate's id from the response provided by the \
Update subscription tracking settings
**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 …
Update teammate s permissions
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 set…
Update template mail settings
The endpoint updates legacy email templates, replaced by more advanced dynamic transactional templates. legacy templates are html-wrapped email content useful for marketing. guid…
Update the credits for a subuser
**this endpoint allows you to update the credits for a subuser.**
Update the remaining credits for a subuser
**this endpoint allows you to update the remaining credits for a subuser.**
Update your account email address
**this endpoint allows you to update the email address currently on file for your account.**
Update your password
**this endpoint allows you to update your password.**
Update your username
**this endpoint allows you to update the username for your account.**
Validate a batch id
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.
Validate a branded link
**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.
Validate a domain authentication
**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.**
Validate an email
**this endpoint allows you to validate an email address.**
Validate a reverse dns record
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. …
Verify sender request
**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 verifica…
View a sender identity
**this endpoint allows you to retrieve a specific sender identity.**
View scheduled time of a campaign
**this endpoint allows you to retrieve the date and time that a campaign has been scheduled to be sent.**