sendgrid.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Api Keys
create
apiKeys.create
Create an API key
Risk: write
Output: empty object
get
apiKeys.get
Retrieve an API key
Risk: read
Output: empty object
getAll
apiKeys.getAll
Retrieve all API keys
Risk: read
Output: empty object
remove
apiKeys.remove
Delete an API key
Risk: write
Output: empty object
update
apiKeys.update
Update an API key name or scopes
Risk: write
Output: empty object
Asm
addGroupSuppressions
asm.addGroupSuppressions
Add suppressions to an unsubscribe group
Risk: write
Output: empty object
createGroup
asm.createGroup
Create an unsubscribe group
Risk: write
Output: empty object
deleteGroup
asm.deleteGroup
Delete an unsubscribe group
Risk: write
Output: empty object
deleteGroupSuppression
asm.deleteGroupSuppression
Delete a suppression from an unsubscribe group
Risk: write
Output: empty object
getGroup
asm.getGroup
Retrieve an unsubscribe group
Risk: read
Output: empty object
getGroups
asm.getGroups
Retrieve unsubscribe groups
Risk: read
Output:
object[]
Output full type
Output full type
getGroupSuppressions
asm.getGroupSuppressions
Retrieve suppressions for an unsubscribe group
Risk: read
Output:
object[]
Output full type
Output full type
updateGroup
asm.updateGroup
Update an unsubscribe group
Risk: write
Output: empty object
Contacts
addOrUpdate
contacts.addOrUpdate
Add or update contacts in SendGrid Marketing
Risk: write
contacts full type
contacts full type
export
contacts.export
Create a marketing contacts export job
Risk: write
Output: empty object
exportStatus
contacts.exportStatus
Get a marketing contacts export job
Risk: read
Output: empty object
get
contacts.get
Get a marketing contact by ID
Risk: read
Output: empty object
getCount
contacts.getCount
Get marketing contact count
Risk: read
getSample
contacts.getSample
Get a sample of marketing contacts
Risk: read
Output: empty object
import
contacts.import
Create a marketing contacts import job
Risk: write
Output: empty object
importStatus
contacts.importStatus
Get a marketing contacts import job
Risk: read
Output: empty object
listExports
contacts.listExports
List marketing contacts export jobs
Risk: read
remove
contacts.remove
Delete marketing contacts by ID
Risk: write
Output
search
contacts.search
Search marketing contacts with SGQL
Risk: read
Output: empty object
searchEmails
contacts.searchEmails
Search marketing contacts by email
Risk: read
Output: empty object
Fields
create
fields.create
Create a custom field definition
Risk: write
Output: empty object
getAll
fields.getAll
Get all marketing field definitions
Risk: read
remove
fields.remove
Delete a custom field definition
Risk: write
Output: empty object
update
fields.update
Update a custom field definition
Risk: write
Output: empty object
Lists
create
lists.create
Create a new marketing contact list
Risk: write
Output
_metadata full type
_metadata full type
get
lists.get
Get a marketing list by ID
Risk: read
Output: empty object
getAll
lists.getAll
Retrieve all marketing contact lists
Risk: read
Output
result full type
result full type
_metadata full type
_metadata full type
getContactCount
lists.getContactCount
Get contact count for a marketing list
Risk: read
Output: empty object
remove
lists.remove
Delete a marketing list
Risk: write
Output: empty object
removeContacts
lists.removeContacts
Remove contacts from a marketing list
Risk: write
Output
update
lists.update
Update a marketing list
Risk: write
Output
_metadata full type
_metadata full type
cancelScheduledSend
mail.cancelScheduledSend
Cancel or pause a scheduled send
Risk: write
Output: empty object
createBatchId
mail.createBatchId
Create a batch ID for scheduled mail
Risk: write
deleteScheduledSend
mail.deleteScheduledSend
Delete a cancellation/pause for a scheduled send
Risk: write
Output: empty object
getScheduledSend
mail.getScheduledSend
Retrieve a scheduled send by batch ID
Risk: read
Output:
object[]
Output full type
Output full type
listScheduledSends
mail.listScheduledSends
Retrieve all scheduled sends
Risk: read
object[]
Output full type
Output full type
send
mail.send
Send an email via SendGrid Mail Send API v3
Risk: write
personalizations full type
personalizations full type
from full type
from full type
content full type
content full type
asm full type
asm full type
updateScheduledSend
mail.updateScheduledSend
Update a scheduled send status
Risk: write
Output: empty object
validateBatchId
mail.validateBatchId
Validate a mail batch ID
Risk: read
Output: empty object
Segments
create
segments.create
Create a Marketing Campaigns segment 2.0
Risk: write
Output: empty object
get
segments.get
Get a Marketing Campaigns segment 2.0
Risk: read
Output: empty object
getAll
segments.getAll
Get all Marketing Campaigns segments 2.0
Risk: read
Output: empty object
refresh
segments.refresh
Manually refresh a Marketing Campaigns segment 2.0
Risk: write
Output: empty object
remove
segments.remove
Delete a Marketing Campaigns segment 2.0
Risk: write
Output: empty object
update
segments.update
Update a Marketing Campaigns segment 2.0
Risk: write
Output: empty object
Senders
create
senders.create
Create a verified sender
Risk: write
Output: empty object
createIdentity
senders.createIdentity
Create a Marketing Campaigns sender identity
Risk: write
getAll
senders.getAll
Retrieve verified senders
Risk: read
Output
results full type
results full type
getIdentity
senders.getIdentity
Get a Marketing Campaigns sender identity
Risk: read
Output: empty object
listIdentities
senders.listIdentities
Get Marketing Campaigns sender identities
Risk: read
remove
senders.remove
Delete a verified sender
Risk: write
Output: empty object
resend
senders.resend
Resend verified sender verification
Risk: write
Output: empty object
update
senders.update
Update a verified sender
Risk: write
Output: empty object
Stats
getCategory
stats.getCategory
Retrieve category statistics
Risk: read
Output:
object[]
Output full type
Output full type
getClient
stats.getClient
Retrieve email client statistics
Risk: read
Output:
object[]
Output full type
Output full type
getDevice
stats.getDevice
Retrieve device statistics
Risk: read
Output:
object[]
Output full type
Output full type
getGeo
stats.getGeo
Retrieve geographic statistics
Risk: read
Output:
object[]
Output full type
Output full type
getGlobal
stats.getGlobal
Retrieve global email statistics
Risk: read
Output:
object[]
Output full type
Output full type
getMailboxProvider
stats.getMailboxProvider
Retrieve mailbox provider statistics
Risk: read
Output:
object[]
Output full type
Output full type
Suppressions
addGlobalUnsubscribes
suppressions.addGlobalUnsubscribes
Add emails to the global unsubscribe list
Risk: write
Output: empty object
deleteBlock
suppressions.deleteBlock
Delete a block by email
Risk: write
Output: empty object
deleteBlocks
suppressions.deleteBlocks
Delete blocked emails
Risk: write
Output: empty object
deleteBounce
suppressions.deleteBounce
Delete a bounce by email
Risk: write
Output: empty object
deleteBounces
suppressions.deleteBounces
Delete bounce suppressions
Risk: write
Output: empty object
deleteGlobalUnsubscribe
suppressions.deleteGlobalUnsubscribe
Delete a global unsubscribe by email
Risk: write
Output: empty object
deleteInvalidEmail
suppressions.deleteInvalidEmail
Delete an invalid email
Risk: write
Output: empty object
deleteInvalidEmails
suppressions.deleteInvalidEmails
Delete invalid emails
Risk: write
Output: empty object
deleteSpamReport
suppressions.deleteSpamReport
Delete a spam report by email
Risk: write
Output: empty object
deleteSpamReports
suppressions.deleteSpamReports
Delete spam reports
Risk: write
Output: empty object
getBlock
suppressions.getBlock
Retrieve a block by email
Risk: read
Output:
object[]
Output full type
Output full type
getBlocks
suppressions.getBlocks
Retrieve blocked emails
Risk: read
Output
results full type
results full type
getBounce
suppressions.getBounce
Retrieve a bounce by email
Risk: read
Output:
object[]
Output full type
Output full type
getBounces
suppressions.getBounces
Retrieve email bounce suppressions
Risk: read
Output
bounces full type
bounces full type
getGlobalUnsubscribe
suppressions.getGlobalUnsubscribe
Retrieve a global unsubscribe by email
Risk: read
Output: empty object
getGlobalUnsubscribes
suppressions.getGlobalUnsubscribes
Retrieve global unsubscribes
Risk: read
Output
results full type
results full type
getInvalidEmail
suppressions.getInvalidEmail
Retrieve an invalid email
Risk: read
Output:
object[]
Output full type
Output full type
getInvalidEmails
suppressions.getInvalidEmails
Retrieve invalid emails
Risk: read
Output
results full type
results full type
getSpamReport
suppressions.getSpamReport
Retrieve a spam report by email
Risk: read
Output:
object[]
Output full type
Output full type
getSpamReports
suppressions.getSpamReports
Retrieve spam reports
Risk: read
Output
results full type
results full type
Templates
activateVersion
templates.activateVersion
Activate a transactional template version
Risk: write
Output: empty object
create
templates.create
Create a transactional template
Risk: write
Output: empty object
createVersion
templates.createVersion
Create a transactional template version
Risk: write
Output: empty object
get
templates.get
Get a transactional template
Risk: read
Output: empty object
getAll
templates.getAll
Get all transactional templates
Risk: read
Output: empty object
getVersion
templates.getVersion
Get a transactional template version
Risk: read
Output: empty object
remove
templates.remove
Delete a transactional template
Risk: write
Output: empty object
removeVersion
templates.removeVersion
Delete a transactional template version
Risk: write
Output: empty object
update
templates.update
Update a transactional template
Risk: write
Output: empty object
updateVersion
templates.updateVersion
Update a transactional template version
Risk: write
Output: empty object
User
getAccount
user.getAccount
Retrieve the user account
Risk: read
getCredits
user.getCredits
Retrieve remaining email credits
Risk: read
getEmail
user.getEmail
Retrieve the account email address
Risk: read
getProfile
user.getProfile
Retrieve the user profile
Risk: read
getScopes
user.getScopes
Retrieve API key scopes for the current key
Risk: read
getUsername
user.getUsername
Retrieve the account username
Risk: read