SendGrid
sendgridSendGrid is a cloud-based email delivery platform providing transactional and marketing email services, with APIs for integration, analytics, and scalability
Acciones disponibles (375)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Activate template versionSENDGRID_ACTIVATE_TEMPLATE_VERSIONAcción**this endpoint allows you to activate a version of one of your templates.**
SENDGRID_ACTIVATE_TEMPLATE_VERSIONAcción**this endpoint allows you to activate a version of one of your templates.**
Parámetros de entrada
version_idstringObligatorioThe ID of the template version
template_idstringObligatorioThe ID of the original template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add a batch of ips to an ip poolSENDGRID_ADD_A_BATCH_OF_IPS_TO_AN_IP_POOLAcciónThis 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.
SENDGRID_ADD_A_BATCH_OF_IPS_TO_AN_IP_POOLAcciónThis 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.
Parámetros de entrada
ipsstring[]ObligatorioAn array of IP addresses to assign to the specified IP Pool. All assignments must succeed.
poolidstringObligatorioSpecifies the unique ID for an IP Pool.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add an ip address to a poolSENDGRID_ADD_AN_IP_ADDRESS_TO_A_POOLAcciónAdd 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.
SENDGRID_ADD_AN_IP_ADDRESS_TO_A_POOLAcciónAdd 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.
Parámetros de entrada
ipstringThe IP address that you want to add to the named pool.
pool_namestringObligatorioThe name of the IP pool you want to add the address to. If the name contains spaces, they must be URL encoded (e.g., "Test Pool" becomes "Test%20Pool").
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add an ip to an authenticated domainSENDGRID_ADD_AN_IP_TO_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to add an ip address to an authenticated domain.**
SENDGRID_ADD_AN_IP_TO_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to add an ip address to an authenticated domain.**
Parámetros de entrada
idintegerObligatorioID of the domain to which you are adding an IP
ipstringObligatorioIP to associate with the domain. Used for manually specifying IPs for custom SPF.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add a single recipient to a listSENDGRID_ADD_A_SINGLE_RECIPIENT_TO_A_LISTAcción**this endpoint allows you to add a single recipient to a list.**
SENDGRID_ADD_A_SINGLE_RECIPIENT_TO_A_LISTAcción**this endpoint allows you to add a single recipient to a list.**
Parámetros de entrada
list_idintegerObligatorioThe ID of the list that you want to add the recipient to.
recipient_idstringObligatorioThe ID of the recipient you are adding to the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add a twilio sendgrid ip addressSENDGRID_ADD_A_TWILIO_SEND_GRID_IP_ADDRESSAcciónThis operation adds a twilio sendgrid ip address to your account. you can also assign up to 100 subusers to the ip address at creation.
SENDGRID_ADD_A_TWILIO_SEND_GRID_IP_ADDRESSAcciónThis operation adds a twilio sendgrid ip address to your account. you can also assign up to 100 subusers to the ip address at creation.
Parámetros de entrada
regionstringenumRegion
globaleusubusersstring[]An array of Subuser IDs the IP address will be assigned to.
include_regionbooleanBoolean indicating whether or not to return the IP address"s region information in the response.
is_auto_warmupbooleanObligatorioIndicates if the IP address is set to automatically [warmup](https://docs.sendgrid.com/ui/sending-email/warming-up-an-ip-address).
is_parent_assignedbooleanObligatorioIndicates if a parent on the account is able to send email from the IP address.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add ipsSENDGRID_ADD_IPSAcción**this endpoint is for adding a(n) ip address(es) to your account.**
SENDGRID_ADD_IPSAcción**this endpoint is for adding a(n) ip address(es) to your account.**
Parámetros de entrada
countintegerObligatorioThe amount of IPs to add to the account.
warmupbooleanWhether or not to warmup the IPs being added.
subusersstring[]Array of usernames to be assigned a send IP.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add one or more ips to the allow listSENDGRID_ADD_ONE_OR_MORE_IPS_TO_THE_ALLOW_LISTAcciónThis 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.
SENDGRID_ADD_ONE_OR_MORE_IPS_TO_THE_ALLOW_LISTAcciónThis 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.
Parámetros de entrada
ipsobject[]ObligatorioAn array containing the IP(s) you want to allow.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add or update a contactSENDGRID_ADD_OR_UPDATE_A_CONTACTAcciónThe 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.
SENDGRID_ADD_OR_UPDATE_A_CONTACTAcciónThe 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.
Parámetros de entrada
contactsobject[]ObligatorioOne or more contacts objects that you intend to upsert. Each contact needs to include at least one of `email`, `phone_number_id`, `external_id`, or `anonymous_id` as an identifier.
list_idsstring[]An array of List ID strings that this contact will be added to.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add recipient addresses to the global suppression groupSENDGRID_ADD_RECIPIENT_ADDRESSES_TO_THE_GLOBAL_SUPPRESSION_GROUPAcción**this endpoint allows you to add one or more email addresses to the global suppressions group.**
SENDGRID_ADD_RECIPIENT_ADDRESSES_TO_THE_GLOBAL_SUPPRESSION_GROUPAcción**this endpoint allows you to add one or more email addresses to the global suppressions group.**
Parámetros de entrada
recipient_emailsstring[]ObligatorioThe array of email addresses to add or find.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add suppressions to a suppression groupSENDGRID_ADD_SUPPRESSIONS_TO_A_SUPPRESSION_GROUPAcción**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.
SENDGRID_ADD_SUPPRESSIONS_TO_A_SUPPRESSION_GROUPAcción**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.
Parámetros de entrada
group_idstringObligatorioThe id of the unsubscribe group that you are adding suppressions to.
recipient_emailsstring[]ObligatorioThe array of email addresses to add or find.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Approve access requestSENDGRID_APPROVE_ACCESS_REQUESTAcción**this endpoint allows you to approve an access attempt.** **note:** only teammate admins may approve another teammate’s access request.
SENDGRID_APPROVE_ACCESS_REQUESTAcción**this endpoint allows you to approve an access attempt.** **note:** only teammate admins may approve another teammate’s access request.
Parámetros de entrada
request_idstringObligatorioThe ID of the request that you want to approve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Assign a batch of subusers to an ipSENDGRID_ASSIGN_A_BATCH_OF_SUBUSERS_TO_AN_IPAcciónThis 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.
SENDGRID_ASSIGN_A_BATCH_OF_SUBUSERS_TO_AN_IPAcciónThis 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.
Parámetros de entrada
ipstringObligatorioThe `ip` path parameter specifies an IP address to make the request against.
subusersstring[]ObligatorioAn array of Subuser IDs to be assigned to the specified IP address. All Subuser assignments must succeed.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Associate a branded link with a subuserSENDGRID_ASSOCIATE_A_BRANDED_LINK_WITH_A_SUBUSERAcciónParent 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.
SENDGRID_ASSOCIATE_A_BRANDED_LINK_WITH_A_SUBUSERAcciónParent 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.
Parámetros de entrada
link_idintegerObligatorioThe ID of the branded link you want to associate.
usernamestringThe username of the subuser account that you want to associate the branded link with.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Associate an authenticated domain with a given userSENDGRID_ASSOCIATE_AN_AUTHENTICATED_DOMAIN_WITH_A_GIVEN_USERAcciónAssociate 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.
SENDGRID_ASSOCIATE_AN_AUTHENTICATED_DOMAIN_WITH_A_GIVEN_USERAcciónAssociate 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.
Parámetros de entrada
usernamestringObligatorioUsername to associate with the authenticated domain.
domain_idintegerObligatorioID of the authenticated domain to associate with the subuser.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Authenticate a domainSENDGRID_AUTHENTICATE_A_DOMAINAcciónThe 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.
SENDGRID_AUTHENTICATE_A_DOMAINAcciónThe 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.
Parámetros de entrada
ipsstring[]The IP addresses that will be included in the custom SPF record for this authenticated domain.
domainstringObligatorioDomain being authenticated.
regionstringThe region of the domain. Allowed values are `global` and `eu`. The default value is `global`.
defaultbooleanWhether to use this authenticated domain as the fallback if no authenticated domains match the sender"s domain.
usernamestringThe username associated with this domain.
subdomainstringThe subdomain to use for this authenticated domain.
custom_spfbooleanSpecify whether to use a custom SPF or allow SendGrid to manage your SPF. This option is only available to authenticated domains set up for manual security.
automatic_securitybooleanWhether to allow SendGrid to manage your SPF records, DKIM keys, and DKIM key rotation.
custom_dkim_selectorstringAdd a custom DKIM selector. Accepts three letters or numbers.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Authenticate an account with single sign onSENDGRID_AUTHENTICATE_AN_ACCOUNT_WITH_SINGLE_SIGN_ONAcciónAuthenticates 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
SENDGRID_AUTHENTICATE_AN_ACCOUNT_WITH_SINGLE_SIGN_ONAcciónAuthenticates 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
Parámetros de entrada
accountIDstringObligatorioTwilio SendGrid account ID
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bind authenticated domains to userSENDGRID_BIND_AUTHENTICATED_DOMAINS_TO_USERAcciónThis 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.
SENDGRID_BIND_AUTHENTICATED_DOMAINS_TO_USERAcciónThis 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.
Parámetros de entrada
usernamestringObligatorioUsername to associate with the authenticated domain.
domain_idintegerObligatorioID of the authenticated domain to associate with the subuser.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Bulk delete single sendsSENDGRID_BULK_DELETE_SINGLE_SENDSAcciónThis 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.
SENDGRID_BULK_DELETE_SINGLE_SENDSAcciónThis 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.
Parámetros de entrada
idsstring[]Single Send IDs to delete
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Cancel or pause a scheduled sendSENDGRID_CANCEL_OR_PAUSE_A_SCHEDULED_SENDAcciónThis 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.
SENDGRID_CANCEL_OR_PAUSE_A_SCHEDULED_SENDAcciónThis 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.
Parámetros de entrada
statusstringObligatorioenumStatus
pausecancelbatch_idstringObligatorioThe batch ID is the identifier that your scheduled mail sends share.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Completed stepsSENDGRID_COMPLETED_STEPSAcciónThis api endpoint checks if a sendgrid account has completed domain authentication (`domain verified`) and single sender verification (`sender verified`), returning boolean values for each.
SENDGRID_COMPLETED_STEPSAcciónThis api endpoint checks if a sendgrid account has completed domain authentication (`domain verified`) and single sender verification (`sender verified`), returning boolean values for each.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a batch idSENDGRID_CREATE_A_BATCH_IDAcciónCreate a new mail batch id to group email sends, allowing pause or cancel actions via the scheduled sends api.
SENDGRID_CREATE_A_BATCH_IDAcciónCreate a new mail batch id to group email sends, allowing pause or cancel actions via the scheduled sends api.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a branded linkSENDGRID_CREATE_A_BRANDED_LINKAcciónCreate 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.
SENDGRID_CREATE_A_BRANDED_LINKAcciónCreate 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.
Parámetros de entrada
domainstringObligatorioThe root domain for the subdomain that you are creating the link branding for. This should match your FROM email address.
regionstringenumRegion
allglobaleudefaultbooleanDefault
subdomainstringThe subdomain to create the link branding for. Must be different from the subdomain you used for authenticating your domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a campaignSENDGRID_CREATE_A_CAMPAIGNAcciónThis 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.
SENDGRID_CREATE_A_CAMPAIGNAcciónThis 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.
Parámetros de entrada
titlestringObligatorioThe display title of your campaign. This will be viewable by you in the Marketing Campaigns UI.
editorstringenumEditor
codedesignip_poolstringThe pool of IPs that you would like to send this email from.
subjectstringThe subject of your campaign that your recipients will see.
list_idsinteger[]The IDs of the lists you are sending this campaign to. You can have both segment IDs and list IDs
sender_idintegerThe ID of the "sender" identity that you have created. Your recipients will see this as the "from" on your marketing emails.
categoriesstring[]The categories you would like associated to this campaign.
segment_idsinteger[]The segment IDs that you are sending this list to. You can have both segment IDs and list IDs. Segments are limited to 10 segment IDs.
html_contentstringThe HTML of your marketing email.
plain_contentstringThe plain text content of your emails.
suppression_group_idintegerThe suppression group that this marketing email belongs to, allowing recipients to opt-out of emails of this type.
custom_unsubscribe_urlstringThis is the url of the custom unsubscribe page that you provide for customers to unsubscribe from your suppression groups.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a custom fieldSENDGRID_CREATE_A_CUSTOM_FIELDAcción**this endpoint allows you to create a custom field.** **you can create up to 120 custom fields.**
SENDGRID_CREATE_A_CUSTOM_FIELDAcción**this endpoint allows you to create a custom field.** **you can create up to 120 custom fields.**
Parámetros de entrada
namestringName
typestringType
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a listSENDGRID_CREATE_A_LISTAcción**this endpoint allows you to create a list for your recipients.**
SENDGRID_CREATE_A_LISTAcción**this endpoint allows you to create a list for your recipients.**
Parámetros de entrada
namestringObligatorioName
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an accountSENDGRID_CREATE_AN_ACCOUNTAcciónCreates a new account, with specified offering, under the organization.
SENDGRID_CREATE_AN_ACCOUNTAcciónCreates a new account, with specified offering, under the organization.
Parámetros de entrada
offeringsobject[]ObligatorioList of offering names to assign to account.
profile__emailstringEmail of the account holder
profile__phonestringPhone number with a maximum of fifteen digits formatted using the E.164 standard consisting of [+] [country code] [subscriber number including area code]
profile__timezonestringArea/Location as listed in the [IANA Time Zone database](https://www.iana.org/time-zones)
profile__last__namestringLast name of the account holder
profile__first__namestringFirst name of the account holder
profile__company__namestringCompany name of the account holder
profile__company__websitestringCompany website of the account holder
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a new alertSENDGRID_CREATE_A_NEW_ALERTAcción**this endpoint allows you to create a new alert.**
SENDGRID_CREATE_A_NEW_ALERTAcción**this endpoint allows you to create a new alert.**
Parámetros de entrada
typestringObligatorioenumType
unlimitedrecurringnonrecurringemail_tostringObligatorioemailThe email address the alert will be sent to. Example: test@example.com
frequencystringRequired for stats_notification. How frequently the alert will be sent. Example: daily
percentageintegerRequired for usage_limit. When this usage threshold is reached, the alert will be sent. Example: 90
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a new event webhookSENDGRID_CREATE_A_NEW_EVENT_WEBHOOKAcciónSet 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.
SENDGRID_CREATE_A_NEW_EVENT_WEBHOOKAcciónSet 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.
Parámetros de entrada
urlstringObligatorioSet this property to the URL where you want the Event Webhook to send event data.
openbooleanSet this property to `true` to receive open events. Open events occur when a recipient has opened the HTML message. You must [enable Open Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#open-tracking) to receive this type of event.
clickbooleanSet this property to `true` to receive click events. Click events occur when a recipient clicks on a link within the message. You must [enable Click Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#click-tracking) to receive this type of event.
bouncebooleanSet this property to `true` to receive bounce events. A bounce occurs when a receiving server could not or would not accept a message.
droppedbooleanSet this property to `true` to receive dropped events. Dropped events occur when your message is not delivered by Twilio SendGrid. Dropped events are accomponied by a `reason` property, which indicates why the message was dropped. Reasons for a dropped message include: Invalid SMTPAPI header, Spam Content (if spam checker app enabled), Unsubscribed Address, Bounced Address, Spam Reporting Address, Invalid, Recipient List over Package Quota.
enabledbooleanSet this property to `true` to enable the Event Webhook or `false` to disable it.
deferredbooleanSet this property to `true` to receive deferred events. Deferred events occur when a recipient"s email server temporarily rejects a message.
deliveredbooleanSet this property to `true` to receive delivered events. Delivered events occur when a message has been successfully delivered to the receiving server.
processedbooleanSet this property to `true` to receive processed events. Processed events occur when a message has been received by Twilio SendGrid and the message is ready to be delivered.
spam_reportbooleanSet this property to `true` to receive spam report events. Spam reports occur when recipients mark a message as spam.
unsubscribebooleanSet this property to `true` to receive unsubscribe events. Unsubscribes occur when recipients click on a message"s subscription management link. You must [enable Subscription Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#subscription-tracking) to receive this type of event.
friendly_namestringOptionally set this property to a friendly name for the Event Webhook. A friendly name may be assigned to each of your webhooks to help you differentiate them. The friendly name is for convenience only. You should use the webhook `id` property for any programmatic tasks.
oauth_client_idstringSet this property to the OAuth client ID that SendGrid will pass to your OAuth server or service provider to generate an OAuth access token. When passing data in this property, you must also include the `oauth_token_url` property.
oauth_token_urlstringSet this property to the URL where SendGrid will send the OAuth client ID and client secret to generate an OAuth access token. This should be your OAuth server or service provider. When passing data in this field, you must also include the `oauth_client_id` property.
group_resubscribebooleanSet this property to `true` to receive group resubscribe events. Group resubscribes occur when recipients resubscribe to a specific [unsubscribe group](https://docs.sendgrid.com/ui/sending-email/create-and-manage-unsubscribe-groups) by updating their subscription preferences. You must [enable Subscription Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#subscription-tracking) to receive this type of event.
group_unsubscribebooleanSet this property to `true` to receive group unsubscribe events. Group unsubscribes occur when recipients unsubscribe from a specific [unsubscribe group](https://docs.sendgrid.com/ui/sending-email/create-and-manage-unsubscribe-groups) either by direct link or by updating their subscription preferences. You must [enable Subscription Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#subscription-tracking) to receive this type of event.
oauth_client_secretstringSet this property to the OAuth client secret that SendGrid will pass to your OAuth server or service provider to generate an OAuth access token. This secret is needed only once to create an access token. SendGrid will store the secret, allowing you to update your client ID and Token URL without passing the secret to SendGrid again. When passing data in this field, you must also include the `oauth_client_id` and `oauth_token_url` properties.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a new suppression groupSENDGRID_CREATE_A_NEW_SUPPRESSION_GROUPAcción**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/suppressions-suppressions/add-suppressions-to-a-suppression-group).
SENDGRID_CREATE_A_NEW_SUPPRESSION_GROUPAcción**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/suppressions-suppressions/add-suppressions-to-a-suppression-group).
Parámetros de entrada
namestringThe name of your suppression group. Required when creating a group.
is_defaultbooleanIndicates if you would like this to be your default suppression group.
descriptionstringA brief description of your suppression group. Required when creating a group.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a new transactional template versionSENDGRID_CREATE_A_NEW_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to create a new version of a template.**
SENDGRID_CREATE_A_NEW_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to create a new version of a template.**
Parámetros de entrada
namestringObligatorioName of the transactional template version.
activeintegerActive
editorstringenumEditor
codedesignsubjectstringObligatorioSubject of the new transactional template version.
test_datastringFor dynamic templates only, the mock json data that will be used for template preview and test sends.
template_idstringObligatorioTemplate Id
html_contentstringThe HTML content of the version. Maximum of 1048576 bytes allowed.
plain_contentstringText/plain content of the transactional template version. Maximum of 1048576 bytes allowed.
generate_plain_contentbooleanIf true, plain_content is always generated from html_content. If false, plain_content is not altered.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an ip poolSENDGRID_CREATE_AN_IP_POOLAcciónCreate 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.
SENDGRID_CREATE_AN_IP_POOLAcciónCreate 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.
Parámetros de entrada
namestringObligatorioThe name of your new IP pool.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an ip pool with a name and ip assignmentsSENDGRID_CREATE_AN_IP_POOL_WITH_A_NAME_AND_IP_ASSIGNMENTSAcciónCreating 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.
SENDGRID_CREATE_AN_IP_POOL_WITH_A_NAME_AND_IP_ASSIGNMENTSAcciónCreating 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.
Parámetros de entrada
ipsstring[]An array of IP addresses to assign to the IP Pool. All assignments must succeed.
namestringObligatorioThe name to assign to the IP Pool. An IP Pool name cannot begin with a space or period.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an sso certificateSENDGRID_CREATE_AN_SSO_CERTIFICATEAcción**this endpoint allows you to create an sso certificate.**
SENDGRID_CREATE_AN_SSO_CERTIFICATEAcción**this endpoint allows you to create an sso certificate.**
Parámetros de entrada
enabledbooleanIndicates if the certificate is enabled.
integration_idstringObligatorioAn ID that matches a certificate to a specific IdP integration. This is the `id` returned by the "Get All SSO Integrations" endpoint.
public_certificatestringObligatorioThis public certificate allows SendGrid to verify that SAML requests it receives are signed by an IdP that it recognizes.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an sso integrationSENDGRID_CREATE_AN_SSO_INTEGRATIONAcción**this endpoint allows you to create an sso integration.**
SENDGRID_CREATE_AN_SSO_INTEGRATIONAcción**this endpoint allows you to create an sso integration.**
Parámetros de entrada
namestringObligatorioThe name of your integration. This name can be anything that makes sense for your organization (eg. Twilio SendGrid)
enabledbooleanObligatorioIndicates if the integration is enabled.
entity_idstringObligatorioAn identifier provided by your IdP to identify Twilio SendGrid in the SAML interaction. This is called the "SAML Issuer ID" in the Twilio SendGrid UI.
signin_urlstringObligatorioThe IdP"s SAML POST endpoint. This endpoint should receive requests and initiate an SSO login flow. This is called the "Embed Link" in the Twilio SendGrid UI.
signout_urlstringObligatorioThis URL is relevant only for an IdP-initiated authentication flow. If a user authenticates from their IdP, this URL will return them to their IdP when logging out.
completed_integrationbooleanIndicates if the integration is complete.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an sso teammateSENDGRID_CREATE_AN_SSO_TEAMMATEAcciónCreate 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.
SENDGRID_CREATE_AN_SSO_TEAMMATEAcciónCreate 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.
Parámetros de entrada
emailstringObligatorioemailSet this property to the Teammate"s email address. This email address will also function as the Teammate"s username and must match the address assigned to the user in your IdP. This address cannot be changed after the Teammate is created.
scopesstring[]Add or remove permissions from a Teammate using this `scopes` property. See [**Teammate Permissions**](https://docs.sendgrid.com/ui/account-and-settings/teammate-permissions) for a complete list of available scopes. You should not include this propety in the request when using the `persona` property or when setting the `is_admin` property to `true`—assigning a `persona` or setting `is_admin` to `true` will allocate a group of permissions to the Teammate.
personastringenumPersona
accountantdevelopermarketerobserveris_adminbooleanSet this property to `true` if the Teammate has admin permissions. You should not include the `scopes` or `persona` properties when setting the `is_admin` property to `true`—an admin will be allocated all scopes. See [**Teammate Permissions**](https://docs.sendgrid.com/ui/account-and-settings/teammate-permissions) for a complete list of scopes.
last_namestringObligatorioSet this property to the Teammate"s last name.
first_namestringObligatorioSet this property to the Teammate"s first name.
subuser_accessobject[]Specify which Subusers the Teammate may access and act on behalf of with this property. If this property is populated, you must set the `has_restricted_subuser_access` property to `true`.
has_restricted_subuser_accessbooleanSet this property to `true` to give the Teammate permissions to operate only on behalf of a Subuser. This property value must be `true` if the `subuser_access` property is not empty. The `subuser_access` property determines which Subusers the Teammate may act on behalf of. If this property is set to `true`, you cannot specify individual `scopes`, assign a `persona`, or set `is_admin` to `true`—a Teammate cannot specify scopes for the parent account and have restricted Subuser access.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a parse settingSENDGRID_CREATE_A_PARSE_SETTINGAcciónCreate 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.
SENDGRID_CREATE_A_PARSE_SETTINGAcciónCreate 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.
Parámetros de entrada
urlstringThe public URL where you would like SendGrid to POST the data parsed from your email. Any emails sent with the given hostname provided (whose MX records have been updated to point to SendGrid) will be parsed and POSTed to this URL.
hostnamestringA specific and unique domain or subdomain that you have created to use exclusively to parse your incoming email. For example, `parse.yourdomain.com`.
send_rawbooleanIndicates if you would like SendGrid to post the original MIME-type content of your parsed email. When this parameter is set to `true`, SendGrid will send a JSON payload of the content of your email.
spam_checkbooleanIndicates if you would like SendGrid to check the content parsed from your emails for spam before POSTing them to your domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create api keysSENDGRID_CREATE_API_KEYSAcciónUse 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.
SENDGRID_CREATE_API_KEYSAcciónUse 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.
Parámetros de entrada
namestringObligatorioThe name you will use to describe this API Key.
scopesstring[]The individual permissions that you are giving to this API Key.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a segmentSENDGRID_CREATE_A_SEGMENTAcciónNew 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".
SENDGRID_CREATE_A_SEGMENTAcciónNew 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".
Parámetros de entrada
namestringObligatorioThe name of this segment.
list_idintegerThe list id from which to make this segment. Not including this ID will mean your segment is created from the main contactdb rather than a list.
conditionsobject[]ObligatorioThe conditions for a recipient to be included in this segment.
recipient_countintegerThe count of recipients in this list. This is not included on creation of segments.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a senderSENDGRID_CREATE_A_SENDERAcciónThis 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.
SENDGRID_CREATE_A_SENDERAcciónThis 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.
Parámetros de entrada
zipstringThe zipcode of the Sender.
citystringObligatorioThe city of the Sender.
statestringThe state of the Sender.
addressstringObligatorioThe physical address of the Sender.
countrystringObligatorioThe country of the Sender.
nicknamestringObligatorioA nickname for the Sender. Not used for sending.
address_2stringAdditional Sender address information.
from__namestringThe name appended to the from email field. Typically your name or company name.
from__emailstringThe email address from which your recipient will receive emails.
reply__to__namestringThe name appended to the reply to email field. Typically your name or company name.
reply__to__emailstringThe email address to which your recipient will reply.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a sender identitySENDGRID_CREATE_A_SENDER_IDENTITYAcción**this endpoint allows you to create a new sender identity.** you may create up to 100 unique sender identities.
SENDGRID_CREATE_A_SENDER_IDENTITYAcción**this endpoint allows you to create a new sender identity.** you may create up to 100 unique sender identities.
Parámetros de entrada
zipstringThe zipcode of the sender identity.
citystringObligatorioThe city of the sender identity.
statestringThe state of the sender identity.
addressstringObligatorioThe physical address of the sender identity.
countrystringObligatorioThe country of the sender identity.
nicknamestringObligatorioA nickname for the sender identity. Not used for sending.
address_2stringAdditional sender identity address information.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a transactional templateSENDGRID_CREATE_A_TRANSACTIONAL_TEMPLATEAcción**this endpoint allows you to create a transactional template.**
SENDGRID_CREATE_A_TRANSACTIONAL_TEMPLATEAcción**this endpoint allows you to create a transactional template.**
Parámetros de entrada
namestringObligatorioThe name for the new transactional template.
generationstringenumGeneration
legacydynamic
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create custom field definitionSENDGRID_CREATE_CUSTOM_FIELD_DEFINITIONAcciónCreate 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.
SENDGRID_CREATE_CUSTOM_FIELD_DEFINITIONAcciónCreate 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.
Parámetros de entrada
namestringObligatorioName
field_typestringObligatorioenumField Type
TextNumberDate
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create designSENDGRID_CREATE_DESIGNAcciónCreate 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.
SENDGRID_CREATE_DESIGNAcciónCreate 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.
Parámetros de entrada
namestringThe name of the new design.
editorstringenumEditor
codedesignhtml_contentstringObligatorioThe HTML content of the Design.
plain_contentstringPlain text content of the Design.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
CreateintegrationSENDGRID_CREATE_INTEGRATIONAcciónThis 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.
SENDGRID_CREATE_INTEGRATIONAcciónThis 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.
Parámetros de entrada
labelstringThe nickname for the Integration.
destinationstringObligatorioenumDestination
Segmentfilters__email__eventsstring[]The possible SendGrid email event types for event forwarding. Specify all the email event types that you would like to forward to the Integration"s destination.
properties__write__keystringThe write key provided by the Segment Source you"d like to have events forwarded to. Must be between 6 and 51 characters.
properties__destination__regionstringenumDestination Region
EUUS
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create listSENDGRID_CREATE_LISTAcciónThis 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`.
SENDGRID_CREATE_LISTAcciónThis 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`.
Parámetros de entrada
namestringObligatorioYour name for your list
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create segmentSENDGRID_CREATE_SEGMENTAcciónSegment `name` has to be unique. a user can not create a new segment with an existing segment name.
SENDGRID_CREATE_SEGMENTAcciónSegment `name` has to be unique. a user can not create a new segment with an existing segment name.
Parámetros de entrada
namestringObligatorioName of the segment.
query_dslstringObligatorioSQL query which will filter contacts based on the conditions provided
parent_list_idsstring[]The array of list ids to filter contacts on when building this segment. It allows only one such list id for now. We will support more in future
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create single sendSENDGRID_CREATE_SINGLE_SENDAcciónThe 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.
SENDGRID_CREATE_SINGLE_SENDAcciónThe 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.
Parámetros de entrada
namestringObligatorioThe name of the Single Send.
send_atstringdate-timeSet this property to an ISO 8601 formatted date-time when you would like to send the Single Send. Please note that any `send_at` property value set with this endpoint will prepopulate the send date in the SendGrid user interface (UI). However, the Single Send will remain an unscheduled draft until it"s updated with the [**Schedule Single Send**](https://docs.sendgrid.com/api-reference/single-sends/schedule-single-send) endpoint or SendGrid application UI. Additionally, the `now` keyword is a valid `send_at` value only when using the Schedule Single Send endpoint. Setting this property to `now` with this endpoint will cause an error.
categoriesstring[]The categories to associate with this Single Send.
send__to__allbooleanSet to `true` to send to All Contacts. If set to `false`, at least one `list_ids` or `segment_ids` value must be provided before the Single Send is scheduled to be sent to recipients.
send__to__list__idsstring[]The recipient List IDs that will receive the Single Send.
email__config__editorstringenumEditor
codedesignemail__config__subjectstringThe subject line of the Single Send. Do not include this field when using a `design_id`.
send__to__segment__idsstring[]The recipient Segment IDs that will receive the Single Send.
email__config__ip__poolstringThe name of the IP Pool from which the Single Send emails are sent.
email__config__design__idstringA `design_id` can be used in place of `html_content`, `plain_content`, and/or `subject`. You can retrieve a design"s ID from the ["List Designs" endpoint](https://docs.sendgrid.com/api-reference/designs-api/list-designs) or by pulling it from the design"s detail page URL in the Marketing Campaigns App.
email__config__sender__idintegerThe ID of the verified Sender. You can retrieve a verified Sender"s ID from the ["Get Verified Senders" endpoint](https://www.twilio.com/docs/sendgrid/api-reference/sender-verification/get-all-verified-senders) or by pulling it from the Sender"s detail page URL in the SendGrid App.
email__config__html__contentstringThe HTML content of the Single Send. Do not include this field when using a `design_id`.
email__config__plain__contentstringThe plain text content of the Single Send. Do not include this field when using a `design_id`.
email__config__suppression__group__idintegerThe ID of the Suppression Group to allow recipients to unsubscribe — you must provide this or the `custom_unsubscribe_url`.
email__config__custom__unsubscribe__urlstringuriThe URL allowing recipients to unsubscribe — you must provide this or the `suppression_group_id`.
email__config__generate__plain__contentbooleanIf set to `true`, `plain_content` is always generated from `html_content`. If set to false, `plain_content` is not altered.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create subuserSENDGRID_CREATE_SUBUSERAcción**this endpoint allows you to create a new subuser.**
SENDGRID_CREATE_SUBUSERAcción**this endpoint allows you to create a new subuser.**
Parámetros de entrada
ipsstring[]ObligatorioThe IP addresses that should be assigned to this subuser.
emailstringObligatorioemailThe email address of the subuser.
regionstringenumRegion
globaleupasswordstringObligatorioThe password this subuser will use when logging into SendGrid.
usernamestringObligatorioThe username for this subuser.
include_regionbooleanA flag that determines if the Subuser"s region should be returned in the response. (Regional email is in Public Beta and requires SendGrid Pro plan or above.)
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create verified sender requestSENDGRID_CREATE_VERIFIED_SENDER_REQUESTAcciónThis 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.
SENDGRID_CREATE_VERIFIED_SENDER_REQUESTAcciónThis 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.
Parámetros de entrada
zipstringZip
citystringCity
statestringState
addressstringAddress
countrystringCountry
address2stringAddress2
nicknamestringObligatorioNickname
reply_tostringObligatorioemailReply To
from_namestringFrom Name
from_emailstringObligatorioemailFrom Email
reply_to_namestringReply To Name
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a batch of ips from an ip poolSENDGRID_DELETE_A_BATCH_OF_IPS_FROM_AN_IP_POOLAcciónThis 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.
SENDGRID_DELETE_A_BATCH_OF_IPS_FROM_AN_IP_POOLAcciónThis 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.
Parámetros de entrada
ipsstring[]ObligatorioAn array of IP addresses to remove from the specified IP Pool.
poolidstringObligatorioSpecifies the unique ID for an IP Pool.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a batch of subusers from an ipSENDGRID_DELETE_A_BATCH_OF_SUBUSERS_FROM_AN_IPAcciónThis operation removes a batch of subusers from a specified ip address.
SENDGRID_DELETE_A_BATCH_OF_SUBUSERS_FROM_AN_IPAcciónThis operation removes a batch of subusers from a specified ip address.
Parámetros de entrada
ipstringObligatorioThe `ip` path parameter specifies an IP address to make the request against.
subusersstring[]ObligatorioAn array of Subuser IDs to be removed from the specified IP address.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a bounceSENDGRID_DELETE_A_BOUNCEAcción**this endpoint allows you to remove an email address from your bounce list.**
SENDGRID_DELETE_A_BOUNCEAcción**this endpoint allows you to remove an email address from your bounce list.**
Parámetros de entrada
emailstringObligatorioThe email address you would like to remove from the bounce list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a branded linkSENDGRID_DELETE_A_BRANDED_LINKAcciónDelete 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.
SENDGRID_DELETE_A_BRANDED_LINKAcciónDelete 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.
Parámetros de entrada
idintegerObligatorioThe ID of the branded link you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a campaignSENDGRID_DELETE_A_CAMPAIGNAcción**this endpoint allows you to delete a specific campaign.**
SENDGRID_DELETE_A_CAMPAIGNAcción**this endpoint allows you to delete a specific campaign.**
Parámetros de entrada
campaign_idintegerObligatorioThe id of the campaign you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a cancellation or pause from a scheduled sendSENDGRID_DELETE_A_CANCELLATION_OR_PAUSE_FROM_A_SCHEDULED_SENDAcción**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.
SENDGRID_DELETE_A_CANCELLATION_OR_PAUSE_FROM_A_SCHEDULED_SENDAcción**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.
Parámetros de entrada
batch_idstringObligatorioBatch Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a contact identifierSENDGRID_DELETE_A_CONTACT_IDENTIFIERAcciónThis 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.
SENDGRID_DELETE_A_CONTACT_IDENTIFIERAcciónThis 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.
Parámetros de entrada
contact_idstringObligatorioMust be set to the `contact_id` of the contact you want to remove the identifier from.
identifier_typestringObligatorioenumIdentifier Type
EMAILPHONENUMBERIDEXTERNALIDANONYMOUSIDidentifier_valuestringObligatorioThe value of the identifier you want to remove from the contact.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a custom fieldSENDGRID_DELETE_A_CUSTOM_FIELDAcción**this endpoint allows you to delete a custom field by id.**
SENDGRID_DELETE_A_CUSTOM_FIELDAcción**this endpoint allows you to delete a custom field by id.**
Parámetros de entrada
custom_field_idintegerObligatorioThe ID of the custom field that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a global suppressionSENDGRID_DELETE_A_GLOBAL_SUPPRESSIONAcciónThis endpoint removes an email from suppressions, allowing future emails to be sent to it. use with consent or bypass filters for one-off emails.
SENDGRID_DELETE_A_GLOBAL_SUPPRESSIONAcciónThis endpoint removes an email from suppressions, allowing future emails to be sent to it. use with consent or bypass filters for one-off emails.
Parámetros de entrada
emailstringObligatorioThe email address of the global suppression you want to retrieve. Or, if you want to check if an email address is on the global suppressions list, enter that email address here.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a listSENDGRID_DELETE_A_LISTAcción**this endpoint allows you to delete a specific recipient list with the given id.**
SENDGRID_DELETE_A_LISTAcción**this endpoint allows you to delete a specific recipient list with the given id.**
Parámetros de entrada
list_idintegerObligatorioList Id
delete_contactsbooleanAdds the ability to delete all contacts on the list in addition to deleting the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete an accountSENDGRID_DELETE_AN_ACCOUNTAcciónTo 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.
SENDGRID_DELETE_AN_ACCOUNTAcciónTo 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.
Parámetros de entrada
accountIDstringObligatorioTwilio SendGrid account ID
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete an alertSENDGRID_DELETE_AN_ALERTAcción**this endpoint allows you to delete an alert.**
SENDGRID_DELETE_AN_ALERTAcción**this endpoint allows you to delete an alert.**
Parámetros de entrada
alert_idintegerObligatorioThe ID of the alert you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete an authenticated domainSENDGRID_DELETE_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to delete an authenticated domain.**
SENDGRID_DELETE_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to delete an authenticated domain.**
Parámetros de entrada
domain_idstringObligatorioDomain Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete an ip poolSENDGRID_DELETE_AN_IP_POOLAcción**this endpoint allows you to delete an ip pool.**
SENDGRID_DELETE_AN_IP_POOLAcción**this endpoint allows you to delete an ip pool.**
Parámetros de entrada
pool_namestringObligatorioThe name of the IP pool that you want to retrieve the IP addresses for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete an sso certificateSENDGRID_DELETE_AN_SSO_CERTIFICATEAcción**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.
SENDGRID_DELETE_AN_SSO_CERTIFICATEAcción**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.
Parámetros de entrada
cert_idstringObligatorioCert Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete an sso integrationSENDGRID_DELETE_AN_SSO_INTEGRATIONAcción**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.
SENDGRID_DELETE_AN_SSO_INTEGRATIONAcción**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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a parse settingSENDGRID_DELETE_A_PARSE_SETTINGAcción**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.
SENDGRID_DELETE_A_PARSE_SETTINGAcción**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.
Parámetros de entrada
hostnamestringObligatorioThe hostname associated with the inbound parse setting that you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete api keysSENDGRID_DELETE_API_KEYSAcción**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.
SENDGRID_DELETE_API_KEYSAcción**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.
Parámetros de entrada
api_key_idstringObligatorio
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a recipientSENDGRID_DELETE_A_RECIPIENTAcción**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.
SENDGRID_DELETE_A_RECIPIENTAcción**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.
Parámetros de entrada
recipient_idstringObligatorioThe ID of the recipient that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a reverse dns recordSENDGRID_DELETE_A_REVERSE_DNS_RECORDAcciónThis endpoint deletes a reverse dns record, returning a 204 code on success. retrieve record ids using the "retrieve all reverse dns records" endpoint.
SENDGRID_DELETE_A_REVERSE_DNS_RECORDAcciónThis endpoint deletes a reverse dns record, returning a 204 code on success. retrieve record ids using the "retrieve all reverse dns records" endpoint.
Parámetros de entrada
idstringObligatorioThe ID of the reverse DNS record that you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a segmentSENDGRID_DELETE_A_SEGMENTAcción**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.
SENDGRID_DELETE_A_SEGMENTAcción**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.
Parámetros de entrada
segment_idintegerObligatorioSegment Id
delete_contactsbooleanTrue to delete all contacts matching the segment in addition to deleting the segment
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a senderSENDGRID_DELETE_A_SENDERAcción**this endpoint allows you to delete an existing sender.**
SENDGRID_DELETE_A_SENDERAcción**this endpoint allows you to delete an existing sender.**
Parámetros de entrada
idintegerObligatorioThe unique identifier of the Sender.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a sender identitySENDGRID_DELETE_A_SENDER_IDENTITYAcción**this endpoint allows you to delete one of your sender identities.**
SENDGRID_DELETE_A_SENDER_IDENTITYAcción**this endpoint allows you to delete one of your sender identities.**
Parámetros de entrada
sender_idintegerObligatorioThe ID of the sender identity that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a single event webhook by idSENDGRID_DELETE_A_SINGLE_EVENT_WEBHOOK_BY_IDAcciónDelete 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`.
SENDGRID_DELETE_A_SINGLE_EVENT_WEBHOOK_BY_IDAcciónDelete 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`.
Parámetros de entrada
idstringObligatorioThe ID of the Event Webhook you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a single recipient from a single listSENDGRID_DELETE_A_SINGLE_RECIPIENT_FROM_A_SINGLE_LISTAcción**this endpoint allows you to delete a single recipient from a list.**
SENDGRID_DELETE_A_SINGLE_RECIPIENT_FROM_A_SINGLE_LISTAcción**this endpoint allows you to delete a single recipient from a list.**
Parámetros de entrada
list_idintegerObligatorioThe ID of the list that you want to add the recipient to.
recipient_idstringObligatorioThe ID of the recipient you are adding to the list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a specific blockSENDGRID_DELETE_A_SPECIFIC_BLOCKAcción**this endpoint allows you to delete a specific email address from your blocks list.**
SENDGRID_DELETE_A_SPECIFIC_BLOCKAcción**this endpoint allows you to delete a specific email address from your blocks list.**
Parámetros de entrada
emailstringObligatorioThe email address of the specific block.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a specific invalid emailSENDGRID_DELETE_A_SPECIFIC_INVALID_EMAILAcción**this endpoint allows you to remove a specific email address from the invalid email address list.**
SENDGRID_DELETE_A_SPECIFIC_INVALID_EMAILAcción**this endpoint allows you to remove a specific email address from the invalid email address list.**
Parámetros de entrada
emailstringObligatorioThe specific email address of the invalid email entry that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a specific spam reportSENDGRID_DELETE_A_SPECIFIC_SPAM_REPORTAcciónThis 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.
SENDGRID_DELETE_A_SPECIFIC_SPAM_REPORTAcciónThis 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.
Parámetros de entrada
emailstringObligatorioThe email address of a specific spam report that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a subuserSENDGRID_DELETE_A_SUBUSERAcción**this endpoint allows you to delete a subuser.** this is a permanent action. once deleted, a subuser cannot be retrieved.
SENDGRID_DELETE_A_SUBUSERAcción**this endpoint allows you to delete a subuser.** this is a permanent action. once deleted, a subuser cannot be retrieved.
Parámetros de entrada
subuser_namestringObligatorioThe username of the Subuser.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a suppression from a suppression groupSENDGRID_DELETE_A_SUPPRESSION_FROM_A_SUPPRESSION_GROUPAcciónThis 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.
SENDGRID_DELETE_A_SUPPRESSION_FROM_A_SUPPRESSION_GROUPAcciónThis 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.
Parámetros de entrada
emailstringObligatorioThe email address that you want to remove from the suppression group.
group_idstringObligatorioThe id of the suppression group that you are removing an email address from.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a suppression groupSENDGRID_DELETE_A_SUPPRESSION_GROUPAcciónThis 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.
SENDGRID_DELETE_A_SUPPRESSION_GROUPAcciónThis 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.
Parámetros de entrada
group_idstringObligatorioThe ID of the suppression group you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a templateSENDGRID_DELETE_A_TEMPLATEAcción**this endpoint allows you to delete a transactional template.**
SENDGRID_DELETE_A_TEMPLATEAcción**this endpoint allows you to delete a transactional template.**
Parámetros de entrada
template_idstringObligatorioTemplate Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete a transactional template versionSENDGRID_DELETE_A_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to delete a transactional template version.**
SENDGRID_DELETE_A_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to delete a transactional template version.**
Parámetros de entrada
version_idstringObligatorioThe ID of the template version
template_idstringObligatorioThe ID of the original template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete blocksSENDGRID_DELETE_BLOCKSAcciónThis endpoint enables clearing blocked emails either by deleting all with `delete all`=true or by specifying addresses in the `emails` array.
SENDGRID_DELETE_BLOCKSAcciónThis endpoint enables clearing blocked emails either by deleting all with `delete all`=true or by specifying addresses in the `emails` array.
Parámetros de entrada
emailsstring[]The specific blocked email addresses that you want to delete.
delete_allbooleanIndicates if you want to delete all blocked email addresses.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete bouncesSENDGRID_DELETE_BOUNCESAcciónThis 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.
SENDGRID_DELETE_BOUNCESAcciónThis 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.
Parámetros de entrada
emailsstring[]Delete multiple emails from your bounce list at the same time. This should not be used with the delete_all parameter.
delete_allbooleanThis parameter allows you to delete **every** email in your bounce list. This should not be used with the emails parameter.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
DeletebulkintegrationSENDGRID_DELETE_BULK_INTEGRATIONAcciónThis endpoint deletes integrations.
SENDGRID_DELETE_BULK_INTEGRATIONAcciónThis endpoint deletes integrations.
Parámetros de entrada
idsstring[]ObligatorioComma-delimited Integration IDs for the Integrations to delete.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete contactsSENDGRID_DELETE_CONTACTSAcciónUse 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.
SENDGRID_DELETE_CONTACTSAcciónUse 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.
Parámetros de entrada
idsstringA comma-separated list of contact IDs.
delete_all_contactsstringMust be set to `"true"` to delete all contacts.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete custom field definitionSENDGRID_DELETE_CUSTOM_FIELD_DEFINITIONAcción**this endpoint deletes a defined custom field.** you can delete only custom fields; reserved fields cannot be deleted.
SENDGRID_DELETE_CUSTOM_FIELD_DEFINITIONAcción**this endpoint deletes a defined custom field.** you can delete only custom fields; reserved fields cannot be deleted.
Parámetros de entrada
custom_field_idstringObligatorioCustom Field Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete designSENDGRID_DELETE_DESIGNAcción**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.
SENDGRID_DELETE_DESIGNAcción**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.
Parámetros de entrada
idstringObligatorioThe ID of the Design you want to duplicate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete invalid emailsSENDGRID_DELETE_INVALID_EMAILSAcciónThis endpoint lets you delete email addresses from your invalid list; delete all by setting `delete all` to true, or specify individual addresses to remove.
SENDGRID_DELETE_INVALID_EMAILSAcciónThis endpoint lets you delete email addresses from your invalid list; delete all by setting `delete all` to true, or specify individual addresses to remove.
Parámetros de entrada
emailsstring[]The list of specific email addresses that you want to remove.
delete_allbooleanIndicates if you want to remove all email address from the invalid emails list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ip poolSENDGRID_DELETE_IP_POOLAcciónThis 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.
SENDGRID_DELETE_IP_POOLAcciónThis 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.
Parámetros de entrada
poolidstringObligatorioSpecifies the unique ID for an IP Pool.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete pending teammateSENDGRID_DELETE_PENDING_TEAMMATEAcción**this endpoint allows you to delete a pending teammate invite.**
SENDGRID_DELETE_PENDING_TEAMMATEAcción**this endpoint allows you to delete a pending teammate invite.**
Parámetros de entrada
tokenstringObligatorioThe token for the invite you want to delete.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete segmentSENDGRID_DELETE_SEGMENTAcción**this endpoint allows you to delete a segment by id.**
SENDGRID_DELETE_SEGMENTAcción**this endpoint allows you to delete a segment by id.**
Parámetros de entrada
segment_idstringObligatorioSegment Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete single send by idSENDGRID_DELETE_SINGLE_SEND_BY_IDAcciónThis 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.
SENDGRID_DELETE_SINGLE_SEND_BY_IDAcciónThis 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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete single send scheduleSENDGRID_DELETE_SINGLE_SEND_SCHEDULEAcciónCancel 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.
SENDGRID_DELETE_SINGLE_SEND_SCHEDULEAcciónCancel 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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete spam reportsSENDGRID_DELETE_SPAM_REPORTSAcciónThis 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.
SENDGRID_DELETE_SPAM_REPORTSAcciónThis 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.
Parámetros de entrada
emailsstring[]A list of specific email addresses that you want to remove from the spam report list.
delete_allbooleanIndicates if you want to delete all email addresses on the spam report list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete teammateSENDGRID_DELETE_TEAMMATEAcción**this endpoint allows you to delete a teammate.** **only the parent user or an admin teammate can delete another teammate.**
SENDGRID_DELETE_TEAMMATEAcción**this endpoint allows you to delete a teammate.** **only the parent user or an admin teammate can delete another teammate.**
Parámetros de entrada
usernamestringObligatorioThe username of the teammate that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete verified senderSENDGRID_DELETE_VERIFIED_SENDERAcciónUse 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.
SENDGRID_DELETE_VERIFIED_SENDERAcciónUse 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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Deny access requestSENDGRID_DENY_ACCESS_REQUESTAcción**this endpoint allows you to deny an attempt to access your account.** **note:** only teammate admins may delete a teammate's access request.
SENDGRID_DENY_ACCESS_REQUESTAcción**this endpoint allows you to deny an attempt to access your account.** **note:** only teammate admins may delete a teammate's access request.
Parámetros de entrada
request_idstringObligatorioThe ID of the request that you want to deny.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Disassociate a branded link from a subuserSENDGRID_DISASSOCIATE_A_BRANDED_LINK_FROM_A_SUBUSERAcciónThe endpoint permits parent accounts to remove a branded link from a subuser, with successful disassociations confirmed by a 204 status code response.
SENDGRID_DISASSOCIATE_A_BRANDED_LINK_FROM_A_SUBUSERAcciónThe endpoint permits parent accounts to remove a branded link from a subuser, with successful disassociations confirmed by a 204 status code response.
Parámetros de entrada
usernamestringObligatorioThe username of the subuser account that you want to disassociate a branded link from.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Disassociate an authenticated domain from a given userSENDGRID_DISASSOCIATE_AN_AUTHENTICATED_DOMAIN_FROM_A_GIVEN_USERAcciónDisassociate an authenticated domain from a given user.
SENDGRID_DISASSOCIATE_AN_AUTHENTICATED_DOMAIN_FROM_A_GIVEN_USERAcciónDisassociate an authenticated domain from a given user.
Parámetros de entrada
usernamestringUsername for the subuser to find associated authenticated domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Domain warn listSENDGRID_DOMAIN_WARN_LISTAcciónThe 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.
SENDGRID_DOMAIN_WARN_LISTAcciónThe 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download csvSENDGRID_DOWNLOAD_CSVAcción**this endpoint will return a presigned url that can be used to download the csv that was requested from the "request a csv" endpoint.**
SENDGRID_DOWNLOAD_CSVAcción**this endpoint will return a presigned url that can be used to download the csv that was requested from the "request a csv" endpoint.**
Parámetros de entrada
download_uuidstringObligatorioUUID used to locate the download csv request entry in the DB. This is the UUID provided in the email sent to the user when their csv file is ready to download
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Duplicate a transactional templateSENDGRID_DUPLICATE_A_TRANSACTIONAL_TEMPLATEAcción**this endpoint allows you to duplicate a transactional template.**
SENDGRID_DUPLICATE_A_TRANSACTIONAL_TEMPLATEAcción**this endpoint allows you to duplicate a transactional template.**
Parámetros de entrada
namestringThe name for the new transactional template.
template_idstringObligatorioTemplate Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Duplicate designSENDGRID_DUPLICATE_DESIGNAcciónThis 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.
SENDGRID_DUPLICATE_DESIGNAcciónThis 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.
Parámetros de entrada
idstringObligatorioThe ID of the Design you want to duplicate.
namestringThe name of the new design.
editorstringenumEditor
codedesign
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Duplicate sendgrid pre built designSENDGRID_DUPLICATE_SEND_GRID_PRE_BUILT_DESIGNAcciónThe 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.
SENDGRID_DUPLICATE_SEND_GRID_PRE_BUILT_DESIGNAcciónThe 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.
Parámetros de entrada
idstringObligatorioThe ID of the pre-built Design you want to duplicate.
namestringThe name of the new design.
editorstringenumEditor
codedesign
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Duplicate single sendSENDGRID_DUPLICATE_SINGLE_SENDAcciónThis 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.
SENDGRID_DUPLICATE_SINGLE_SENDAcciónThis 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.
Parámetros de entrada
idstringObligatorioId
namestringThe name of the duplicate Single Send. If you choose to leave the name field blank, your duplicate will be assigned the name of the Single Send it was copied from with the text "Copy of " prepended to it. The end of the new Single Send name, including "Copy of ", will be trimmed if the name exceeds the character limit.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit an sso teammateSENDGRID_EDIT_AN_SSO_TEAMMATEAcciónThis endpoint allows admin or parent users to adjust sso teammate permissions using 'is admin', 'scopes', or 'persona', and to control subuser access, including restrictions.
SENDGRID_EDIT_AN_SSO_TEAMMATEAcciónThis endpoint allows admin or parent users to adjust sso teammate permissions using 'is admin', 'scopes', or 'persona', and to control subuser access, including restrictions.
Parámetros de entrada
scopesstring[]Add or remove permissions from a Teammate using this `scopes` property. See [**Teammate Permissions**](https://docs.sendgrid.com/ui/account-and-settings/teammate-permissions) for a complete list of available scopes. You should not include this propety in the request when using the `persona` property or when setting the `is_admin` property to `true`—assigning a `persona` or setting `is_admin` to `true` will allocate a group of permissions to the Teammate.
personastringenumPersona
accountantdevelopermarketerobserveris_adminbooleanSet this property to `true` if the Teammate has admin permissions. You should not include the `scopes` or `persona` properties when setting the `is_admin` property to `true`—an admin will be allocated all scopes. See [**Teammate Permissions**](https://docs.sendgrid.com/ui/account-and-settings/teammate-permissions) for a complete list of scopes.
usernamestringObligatorioSet this parameter to the Teammate"s email address. This address must be the same address assigned to the Teammate in your IdP.
last_namestringObligatorioSet this property to the Teammate"s last name.
first_namestringObligatorioSet this property to the Teammate"s first name.
subuser_accessobject[]Specify which Subusers the Teammate may access and act on behalf of with this property. If this property is populated, you must set the `has_restricted_subuser_access` property to `true`.
has_restricted_subuser_accessbooleanSet this property to `true` to give the Teammate permissions to operate only on behalf of a Subuser. This property value must be `true` if the `subuser_access` property is not empty. The `subuser_access` property determines which Subusers the Teammate may act on behalf of. If this property is set to `true`, you cannot specify individual `scopes`, assign a `persona`, or set `is_admin` to `true`—a Teammate cannot specify scopes for the parent account and have restricted Subuser access.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit a transactional templateSENDGRID_EDIT_A_TRANSACTIONAL_TEMPLATEAcciónThis endpoint lets you change the name of a transactional template. for template modifications, create a new version using the provided link.
SENDGRID_EDIT_A_TRANSACTIONAL_TEMPLATEAcciónThis endpoint lets you change the name of a transactional template. for template modifications, create a new version using the provided link.
Parámetros de entrada
namestringThe name of the transactional template.
template_idstringObligatorioTemplate Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit a transactional template versionSENDGRID_EDIT_A_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to edit the content of your template version.**
SENDGRID_EDIT_A_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to edit the content of your template version.**
Parámetros de entrada
namestringObligatorioName of the transactional template version.
activeintegerActive
editorstringenumEditor
codedesignsubjectstringObligatorioSubject of the new transactional template version.
test_datastringFor dynamic templates only, the mock json data that will be used for template preview and test sends.
version_idstringObligatorioThe ID of the template version
template_idstringObligatorioThe ID of the original template
html_contentstringThe HTML content of the version. Maximum of 1048576 bytes allowed.
plain_contentstringText/plain content of the transactional template version. Maximum of 1048576 bytes allowed.
generate_plain_contentbooleanIf true, plain_content is always generated from html_content. If false, plain_content is not altered.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Edit verified senderSENDGRID_EDIT_VERIFIED_SENDERAcciónUpdate 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`.
SENDGRID_EDIT_VERIFIED_SENDERAcciónUpdate 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`.
Parámetros de entrada
idstringObligatorioId
zipstringZip
citystringCity
statestringState
addressstringAddress
countrystringCountry
address2stringAddress2
nicknamestringObligatorioNickname
reply_tostringObligatorioemailReply To
from_namestringFrom Name
from_emailstringObligatorioemailFrom Email
reply_to_namestringReply To Name
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Email dns records to a co workerSENDGRID_EMAIL_DNS_RECORDS_TO_A_CO_WORKERAcciónUse 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.
SENDGRID_EMAIL_DNS_RECORDS_TO_A_CO_WORKERAcciónUse 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.
Parámetros de entrada
emailstringObligatorioemailThe email address to send the DNS information to.
link_idintegerObligatorioThe ID of the branded link.
messagestringA custom text block to include in the email body sent with the records.
domain_idintegerObligatorioThe ID of your SendGrid domain record.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enable disable a subuserSENDGRID_ENABLE_DISABLE_A_SUBUSERAcción**this endpoint allows you to enable or disable a subuser.**
SENDGRID_ENABLE_DISABLE_A_SUBUSERAcción**this endpoint allows you to enable or disable a subuser.**
Parámetros de entrada
disabledbooleanWhether or not this subuser is disabled. `true` means disabled, `false` means enabled.
subuser_namestringObligatorioThe username of the Subuser.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enable disable website access for a subuserSENDGRID_ENABLE_DISABLE_WEBSITE_ACCESS_FOR_A_SUBUSERAcciónEnable/disable website access for a subuser, while still preserving email send functionality.
SENDGRID_ENABLE_DISABLE_WEBSITE_ACCESS_FOR_A_SUBUSERAcciónEnable/disable website access for a subuser, while still preserving email send functionality.
Parámetros de entrada
disabledbooleanWhether or not to disable website access to the Subuser. `true` means disabled, `false` means enabled.
subuser_namestringObligatorioSubuser Name
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Erase recipients email dataSENDGRID_ERASE_RECIPIENTS_EMAIL_DATAAcciónSendgrid'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.
SENDGRID_ERASE_RECIPIENTS_EMAIL_DATAAcciónSendgrid'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.
Parámetros de entrada
email_addressesstring[]ObligatorioList of unique recipient email addresses whose PII will be erased. You may include a maximum of 5,000 addresses or a maximum payload size of 256Kb, whichever comes first.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Export contactsSENDGRID_EXPORT_CONTACTSAcciónUse 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.
SENDGRID_EXPORT_CONTACTSAcciónUse 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.
Parámetros de entrada
list_idsstring[]IDs of the contact lists you want to export.
file_typestringenumFile Type
csvjsonsegment_idsstring[]IDs of the contact segments you want to export.
max_file_sizeintegerThe maximum size of an export file in MB. Note that when this option is specified, multiple output files may be returned from the export.
notifications__emailbooleanEmail
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Export contacts statusSENDGRID_EXPORT_CONTACTS_STATUSAcciónUse 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.
SENDGRID_EXPORT_CONTACTS_STATUSAcciónUse 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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Export single send statsSENDGRID_EXPORT_SINGLE_SEND_STATSAcciónThis endpoint exports single send stats in .csv format, allowing specification of multiple single sends by separating their ids with commas in the `ids` parameter.
SENDGRID_EXPORT_SINGLE_SEND_STATSAcciónThis endpoint exports single send stats in .csv format, allowing specification of multiple single sends by separating their ids with commas in the `ids` parameter.
Parámetros de entrada
idsstring[]The IDs of Single Sends for which to export stats.
timezonestringThe [IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats are to be presented; i.e. `"America/Chicago"`. This parameter changes the timezone format only; it does not alter which stats are returned.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Filter all messagesSENDGRID_FILTER_ALL_MESSAGESAcciónSummarize 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.
SENDGRID_FILTER_ALL_MESSAGESAcciónSummarize 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.
Parámetros de entrada
limitintegerThe number of messages returned. This parameter must be greater than 0 and less than or equal to 1000
querystringObligatorioUse the query syntax to filter your email activity.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Filter messages by message idSENDGRID_FILTER_MESSAGES_BY_MESSAGE_IDAcciónGet all of the details about the specified message.
SENDGRID_FILTER_MESSAGES_BY_MESSAGE_IDAcciónGet all of the details about the specified message.
Parámetros de entrada
msg_idstringObligatorioThe ID of the message you are requesting details for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
FiltersegmentsbyparentidsSENDGRID_FILTER_SEGMENTS_BY_PARENT_IDSAcciónRetrieve 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.
SENDGRID_FILTER_SEGMENTS_BY_PARENT_IDSAcciónRetrieve 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.
Parámetros de entrada
idsstring[]A list of segment IDs to retrieve. When this parameter is included, the `no_parent_list_ids` and `parent_list_ids` parameters are ignored and only segments with given IDs are returned.
parent_list_idsstringA comma separated list up to 50 in size, to filter segments on. Only segments that have any of these list ids as the parent list will be retrieved. This is different from the parameter of the same name used when creating a segment.
no_parent_list_idbooleanIf set to `true`, segments with an empty value of `parent_list_id` will be returned in the filter. If the value is not present, it defaults to "false".
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get account offeringsSENDGRID_GET_ACCOUNT_OFFERINGSAcciónRetrieves offering information about the specified account.
SENDGRID_GET_ACCOUNT_OFFERINGSAcciónRetrieves offering information about the specified account.
Parámetros de entrada
accountIDstringObligatorioTwilio SendGrid account ID
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a contact by idSENDGRID_GET_A_CONTACT_BY_IDAcción**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.
SENDGRID_GET_A_CONTACT_BY_IDAcción**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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a list by idSENDGRID_GET_A_LIST_BY_IDAcciónThis 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.
SENDGRID_GET_A_LIST_BY_IDAcciónThis 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.
Parámetros de entrada
idstringObligatorioThe ID of the list on which you want to perform the operation.
contact_samplebooleanSetting this parameter to the true will cause the contact_sample to be returned
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a list of all ip addresses on your accountSENDGRID_GET_A_LIST_OF_ALL_IP_ADDRESSES_ON_YOUR_ACCOUNTAcciónFetches 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'.
SENDGRID_GET_A_LIST_OF_ALL_IP_ADDRESSES_ON_YOUR_ACCOUNTAcciónFetches 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'.
Parámetros de entrada
ipstringSpecifies an IP address. The `ip` query parameter can be used to filter results by IP address.
poolstringSpecifies the unique ID for an IP Pool. When included, only IP addresses belonging to the specified Pool will be returned.
limitintegerSpecifies the number of results to be returned by the API. This parameter can be used in combination with the `before_key` or `after_key` parameters to iterate through paginated results.
regionstringenumAllowed values are `all`, `eu`, and `us`. If you provide a specific region, results will include all pools that have at least one IP in the filtered region. If `all`, pools with at least one IP (regardless of region) will be returned. If the `region` filter is not provided, the query returns all pools, including empty ones.
alleuusafter_keyintegerSpecifies which items to be returned by the API. When the `after_key` is specified, the API will return items beginning from the first item after the item specified. This parameter can be used in combination with `limit` to iterate through paginated results.
is_leasedbooleanIndicates whether an IP address is leased from Twilio SendGrid. If `false`, the IP address is not a Twilio SendGrid IP; it is a customer"s own IP that has been added to their Twilio SendGrid account.
before_keystringSpecifies which items to be returned by the API. When the `before_key` is specified, the API will return items beginning from the first item before the item specified. This parameter can be used in combination with `limit` to iterate through paginated results.
is_enabledbooleanIndicates if the IP address is billed and able to send email. This parameter applies to non-Twilio SendGrid APIs that been added to your Twilio SendGrid account. This parameter"s value is `null` for Twilio SendGrid IP addresses.
end_added_atintegerThe `start_added_at` and `end_added_at` parameters are used to set a time window. IP addresses that were added to your account in the specified time window will be returned. The `end_added_at` parameter sets the end of the time window.
include_regionbooleanBoolean indicating whether or not to return the IP Pool"s region information in the response.
start_added_atintegerThe `start_added_at` and `end_added_at` parameters are used to set a time window. IP addresses that were added to your account in the specified time window will be returned. The `start_added_at` parameter sets the beginning of the time window.
is_parent_assignedbooleanA parent must be assigned to an IP address before the parent can send mail from the IP and before the address can be assigned to an IP pool. Set this parameter value to true to allow the parent to send mail from the IP and make the IP eligible for IP pool assignment using the IP pool endpoints.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a list of all sendersSENDGRID_GET_A_LIST_OF_ALL_SENDERSAcción**this endpoint allows you to get a list of all your senders.**
SENDGRID_GET_A_LIST_OF_ALL_SENDERSAcción**this endpoint allows you to get a list of all your senders.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a list of subusers assigned to an ipSENDGRID_GET_A_LIST_OF_SUBUSERS_ASSIGNED_TO_AN_IPAcciónThe 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/subusers-api/list-all-subusers) for details.
SENDGRID_GET_A_LIST_OF_SUBUSERS_ASSIGNED_TO_AN_IPAcciónThe 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/subusers-api/list-all-subusers) for details.
Parámetros de entrada
ipstringObligatorioThe `ip` path parameter specifies an IP address to make the request against.
limitintegerSpecifies the number of results to be returned by the API. This parameter can be used in combination with the `after_key` parameters to iterate through paginated results. The maximum limit is 100.
after_keyintegerSpecifies which items to be returned by the API. When the `after_key` is specified, the API will return items beginning from the first item after the item specified. This parameter can be used in combination with `limit` to iterate through paginated results.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all accountsSENDGRID_GET_ALL_ACCOUNTSAcciónRetrieves all accounts under the organization.
SENDGRID_GET_ALL_ACCOUNTSAcciónRetrieves all accounts under the organization.
Parámetros de entrada
limitintegerThe number of items to return
offsetstringThe last item successfully retrieved
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all automation statsSENDGRID_GET_ALL_AUTOMATION_STATSAcciónRetrieve 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.
SENDGRID_GET_ALL_AUTOMATION_STATSAcciónRetrieve 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.
Parámetros de entrada
page_sizeintegerThe number of elements you want returned on each page.
page_tokenstringThe stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn"t exist, you"re at the first page. Similarly, if `_metadata.next` is not present, you"re at the last page.
automation_idsstring[]This endpoint returns all automation IDs if no `automation_ids` are specified.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all available offeringsSENDGRID_GET_ALL_AVAILABLE_OFFERINGSAcciónRetrieves offerings available under the organization.
SENDGRID_GET_ALL_AVAILABLE_OFFERINGSAcciónRetrieves offerings available under the organization.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all categoriesSENDGRID_GET_ALL_CATEGORIESAcción**this endpoint allows you to retrieve all the categories associated with your single sends.** this endpoint will return your latest 1,000 categories.
SENDGRID_GET_ALL_CATEGORIESAcción**this endpoint allows you to retrieve all the categories associated with your single sends.** this endpoint will return your latest 1,000 categories.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all existing exportsSENDGRID_GET_ALL_EXISTING_EXPORTSAcciónThis 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.
SENDGRID_GET_ALL_EXISTING_EXPORTSAcciónThis 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all field definitionsSENDGRID_GET_ALL_FIELD_DEFINITIONSAcción**this endpoint retrieves all defined custom fields and reserved fields.**
SENDGRID_GET_ALL_FIELD_DEFINITIONSAcción**this endpoint retrieves all defined custom fields and reserved fields.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all ip pools that have associated ipsSENDGRID_GET_ALL_IP_POOLS_THAT_HAVE_ASSOCIATED_IPSAcciónThe 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.
SENDGRID_GET_ALL_IP_POOLS_THAT_HAVE_ASSOCIATED_IPSAcciónThe 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.
Parámetros de entrada
ipstringSpecifies an IP address. The `ip` query parameter can be used to filter results by IP address.
limitintegerSpecifies the number of results to be returned by the API. This parameter can be used in combination with the `before_key` or `after_key` parameters to iterate through paginated results.
regionstringenumAllowed values are `all`, `eu`, and `us`. If you provide a specific region, results will include all pools that have at least one IP in the filtered region. If `all`, pools with at least one IP (regardless of region) will be returned. If the `region` filter is not provided, the query returns all pools, including empty ones.
alleuusafter_keyintegerSpecifies which items to be returned by the API. When the `after_key` is specified, the API will return items beginning from the first item after the item specified. This parameter can be used in combination with `limit` to iterate through paginated results.
include_regionbooleanBoolean indicating whether or not to return the IP Pool"s region information in the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all listsSENDGRID_GET_ALL_LISTSAcción**this endpoint returns an array of all of your contact lists.**
SENDGRID_GET_ALL_LISTSAcción**this endpoint returns an array of all of your contact lists.**
Parámetros de entrada
page_sizeintegerMaximum number of elements to return. Defaults to 100, returns 1000 max
page_tokenstringPage Token
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all sender identitiesSENDGRID_GET_ALL_SENDER_IDENTITIESAcción**this endpoint allows you to retrieve a list of all sender identities that have been created for your account.**
SENDGRID_GET_ALL_SENDER_IDENTITIESAcción**this endpoint allows you to retrieve a list of all sender identities that have been created for your account.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all single sendsSENDGRID_GET_ALL_SINGLE_SENDSAcciónRetrieve 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.
SENDGRID_GET_ALL_SINGLE_SENDSAcciónRetrieve 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.
Parámetros de entrada
page_sizeintegerPage Size
page_tokenstringPage Token
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all single sends statsSENDGRID_GET_ALL_SINGLE_SENDS_STATSAcciónRetrieve single sends stats with options for filtering by ids, pagination, and custom page sizes from 1-50. default response batch is 25.
SENDGRID_GET_ALL_SINGLE_SENDS_STATSAcciónRetrieve single sends stats with options for filtering by ids, pagination, and custom page sizes from 1-50. default response batch is 25.
Parámetros de entrada
page_sizeintegerThe number of elements you want returned on each page.
page_tokenstringThe stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn"t exist, you"re at the first page. Similarly, if `_metadata.next` is not present, you"re at the last page.
singlesend_idsstring[]This endpoint returns all Single Send IDs if no IDs are included in `singlesend_ids`.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all sso certificates by integrationSENDGRID_GET_ALL_SSO_CERTIFICATES_BY_INTEGRATIONAcción**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.
SENDGRID_GET_ALL_SSO_CERTIFICATES_BY_INTEGRATIONAcción**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.
Parámetros de entrada
integration_idstringObligatorioAn ID that matches a certificate to a specific IdP integration.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all sso integrationsSENDGRID_GET_ALL_SSO_INTEGRATIONSAcción**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.
SENDGRID_GET_ALL_SSO_INTEGRATIONSAcción**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.
Parámetros de entrada
sibooleanIf this parameter is set to `true`, the response will include the `completed_integration` field.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get all verified sendersSENDGRID_GET_ALL_VERIFIED_SENDERSAcciónRetrieve all sender identities (verified/unverified) for an account via an endpoint. customize results using `limit`, `lastseenid`, and `id` parameters to define the results scope.
SENDGRID_GET_ALL_VERIFIED_SENDERSAcciónRetrieve all sender identities (verified/unverified) for an account via an endpoint. customize results using `limit`, `lastseenid`, and `id` parameters to define the results scope.
Parámetros de entrada
idintegerReturns information about only the Sender Identity passed in the request.
limitintegerSpecifies the number of results to be returned by the API. This parameter can be used to limit the results returned or in combination with the `lastSeenID` parameter to iterate through paginated results.
lastSeenIDintegerReturns senders with an ID number occurring after the passed in ID. In other words, the `lastSeenID` provides a starting point from which SendGrid will iterate to find Sender Identities associated with your account.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get an account s stateSENDGRID_GET_AN_ACCOUNT_S_STATEAcciónRetrieve the state of the specified account.
SENDGRID_GET_AN_ACCOUNT_S_STATEAcciónRetrieve the state of the specified account.
Parámetros de entrada
accountIDstringObligatorioTwilio SendGrid account ID
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get an sso certificateSENDGRID_GET_AN_SSO_CERTIFICATEAcción**this endpoint allows you to retrieve an individual sso certificate.**
SENDGRID_GET_AN_SSO_CERTIFICATEAcción**this endpoint allows you to retrieve an individual sso certificate.**
Parámetros de entrada
cert_idstringObligatorioCert Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get an sso integrationSENDGRID_GET_AN_SSO_INTEGRATIONAcción**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.
SENDGRID_GET_AN_SSO_INTEGRATIONAcción**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.
Parámetros de entrada
idstringObligatorioId
sibooleanIf this parameter is set to `true`, the response will include the `completed_integration` field.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a specific senderSENDGRID_GET_A_SPECIFIC_SENDERAcción**this endpoint allows you to get the details for a specific sender by `id`.**
SENDGRID_GET_A_SPECIFIC_SENDERAcción**this endpoint allows you to get the details for a specific sender by `id`.**
Parámetros de entrada
idintegerObligatorioThe unique identifier of the Sender.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a user s account informationSENDGRID_GET_A_USER_S_ACCOUNT_INFORMATIONAcción**this endpoint allows you to retrieve your user account details.** your user's account information includes the user's account type and reputation.
SENDGRID_GET_A_USER_S_ACCOUNT_INFORMATIONAcción**this endpoint allows you to retrieve your user account details.** your user's account information includes the user's account type and reputation.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get a user s profileSENDGRID_GET_A_USER_S_PROFILEAcción**this endpoint allows you to retrieve your current profile details.**
SENDGRID_GET_A_USER_S_PROFILEAcción**this endpoint allows you to retrieve your current profile details.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get automation click tracking stats by idSENDGRID_GET_AUTOMATION_CLICK_TRACKING_STATS_BY_IDAcción**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.
SENDGRID_GET_AUTOMATION_CLICK_TRACKING_STATS_BY_IDAcción**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.
Parámetros de entrada
idstringObligatorioThe ID of the Automation you want to get click tracking stats for.
group_bystring[]Automations can have multiple steps. Including `step_id` as a `group_by` metric allows further granularity of stats.
step_idsstring[]Comma-separated list of `step_ids` that you want the link stats for.
page_sizeintegerThe number of elements you want returned on each page.
page_tokenstringThe stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn"t exist, you"re at the first page. Similarly, if `_metadata.next` is not present, you"re at the last page.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get automation stats by idSENDGRID_GET_AUTOMATION_STATS_BY_IDAcciónRetrieve detailed stats for a specific automation by id, with optional date and aggregation filters, or use another endpoint to get stats for multiple automations.
SENDGRID_GET_AUTOMATION_STATS_BY_IDAcciónRetrieve detailed stats for a specific automation by id, with optional date and aggregation filters, or use another endpoint to get stats for multiple automations.
Parámetros de entrada
idstringObligatorioThe ID of the Automation for which you want to retrieve statistics.
end_datestringFormat: `YYYY-MM-DD`.If this parameter is included, the stats" end date is included in the search.
group_bystring[]Automations can have multiple steps. Including `step_id` as a `group_by` metric allows further granularity of stats.
step_idsstring[]Comma-separated list of `step_ids` that you want the link stats for.
timezonestring[IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats are to be presented, e.g., "America/Chicago".
page_sizeintegerThe number of elements you want returned on each page.
page_tokenstringThe stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn"t exist, you"re at the first page. Similarly, if `_metadata.next` is not present, you"re at the last page.
start_datestringFormat: `YYYY-MM-DD`. If this parameter is included, the stats" start date is included in the search.
aggregated_bystringenumDictates how the stats are time-sliced. Currently, `"total"` and `"day"` are supported.
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get batched contacts by idsSENDGRID_GET_BATCHED_CONTACTS_BY_IDSAcciónThis 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.
SENDGRID_GET_BATCHED_CONTACTS_BY_IDSAcciónThis 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.
Parámetros de entrada
idsstring[]ObligatorioIds
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get bounce class statsSENDGRID_GET_BOUNCE_CLASS_STATSAcciónThis 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.
SENDGRID_GET_BOUNCE_CLASS_STATSAcciónThis 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.
Parámetros de entrada
end_datestringThe end of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).
start_datestringThe start of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).
classificationstringObligatorioenumThe classification you want to filter by. Possible values are: `Content`, `Frequency or Volume Too High`, `Invalid Address`, `Mailbox Unavailable`, `Reputation`, `Technical Failure`, `Unclassified`.
ContentFrequency or Volume Too HighInvalid AddressMailbox UnavailableReputationTechnical FailureUnclassified
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get contacts by emailsSENDGRID_GET_CONTACTS_BY_EMAILSAcciónEndpoint 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.
SENDGRID_GET_CONTACTS_BY_EMAILSAcciónEndpoint 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.
Parámetros de entrada
emailsstring[]ObligatorioOne or more primary and/or alternate email addresses to search for in your Marketing Campaigns contacts.
external_idstringThe contact"s External ID.
anonymous_idstringThe contact"s Anonymous ID.
phone_number_idstringThe contact"s Phone Number ID. This is required to be a valid phone number.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get contacts by identifiersSENDGRID_GET_CONTACTS_BY_IDENTIFIERSAcciónUse 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.
SENDGRID_GET_CONTACTS_BY_IDENTIFIERSAcciónUse 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.
Parámetros de entrada
identifiersstring[]ObligatorioOne or more more identifier values to search for in your Marketing Campaigns contacts.
identifier_typestringObligatorioenumThe type of identifier to search for.
emailphone_number_idexternal_idanonymous_id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get designSENDGRID_GET_DESIGNAcciónAccess 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.
SENDGRID_GET_DESIGNAcciónAccess 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.
Parámetros de entrada
idstringObligatorioThe ID of the Design you want to duplicate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get details for an ip addressSENDGRID_GET_DETAILS_FOR_AN_IP_ADDRESSAcciónThe 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.
SENDGRID_GET_DETAILS_FOR_AN_IP_ADDRESSAcciónThe 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.
Parámetros de entrada
ipstringObligatorioThe `ip` path parameter specifies an IP address to make the request against.
include_regionbooleanBoolean indicating whether or not to return the IP Pool"s region information in the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get details for an ip poolSENDGRID_GET_DETAILS_FOR_AN_IP_POOLAcciónThis 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."
SENDGRID_GET_DETAILS_FOR_AN_IP_POOLAcciónThis 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."
Parámetros de entrada
poolidstringObligatorioSpecifies the unique ID for an IP Pool.
include_regionbooleanBoolean indicating whether or not to return the IP Pool"s region information in the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get engagement quality scoresSENDGRID_GET_ENGAGEMENT_QUALITY_SCORESAcciónRetrieve 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.
SENDGRID_GET_ENGAGEMENT_QUALITY_SCORESAcciónRetrieve 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.
Parámetros de entrada
tostringObligatorioThe ending date in YYYY-MM-DD format (UTC) for which you want to retrieve scores.
fromstringObligatorioThe starting date in YYYY-MM-DD format (UTC) for which you want to retrieve scores.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get information on a single suppression groupSENDGRID_GET_INFORMATION_ON_A_SINGLE_SUPPRESSION_GROUPAcción**this endpoint allows you to retrieve a single suppression group.**
SENDGRID_GET_INFORMATION_ON_A_SINGLE_SUPPRESSION_GROUPAcción**this endpoint allows you to retrieve a single suppression group.**
Parámetros de entrada
group_idstringObligatorioThe ID of the suppression group you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
GetintegrationSENDGRID_GET_INTEGRATIONAcciónThis endpoint returns the data for a specific integration.
SENDGRID_GET_INTEGRATIONAcciónThis endpoint returns the data for a specific integration.
Parámetros de entrada
idstringObligatorioThe ID of the Integration you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ips assigned to an ip poolSENDGRID_GET_IPS_ASSIGNED_TO_AN_IP_POOLAcciónThis operation returns the ip addresses that are assigned to the specified ip pool.
SENDGRID_GET_IPS_ASSIGNED_TO_AN_IP_POOLAcciónThis operation returns the ip addresses that are assigned to the specified ip pool.
Parámetros de entrada
limitintegerSpecifies the number of results to be returned by the API. This parameter can be used in combination with the `before_key` or `after_key` parameters to iterate through paginated results.
poolidstringObligatorioSpecifies the unique ID for an IP Pool.
after_keyintegerSpecifies which items to be returned by the API. When the `after_key` is specified, the API will return items beginning from the first item after the item specified. This parameter can be used in combination with `limit` to iterate through paginated results.
include_regionbooleanBoolean indicating whether or not to return the IP Pool"s region information in the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list contact countSENDGRID_GET_LIST_CONTACT_COUNTAcción**this endpoint returns the number of contacts on a specific list.**
SENDGRID_GET_LIST_CONTACT_COUNTAcción**this endpoint returns the number of contacts on a specific list.**
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get list of segmentsSENDGRID_GET_LIST_OF_SEGMENTSAcciónThe 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.
SENDGRID_GET_LIST_OF_SEGMENTSAcciónThe 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.
Parámetros de entrada
idsstring[]A list of segment IDs to retrieve. When this parameter is included, the `no_parent_list_ids` and `parent_list_ids` parameters are ignored and only segments with given IDs are returned.
parent_list_idsstringA comma separated list of list ids to be used when searching for segments with the specified parent_list_id, no more than 50 is allowed
no_parent_list_idbooleanIf set to `true` segments with an empty value of `parent_list_id` will be returned in the filter. If the value is not present it defaults to "false".
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get open tracking settingsSENDGRID_GET_OPEN_TRACKING_SETTINGSAcciónThe 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.
SENDGRID_GET_OPEN_TRACKING_SETTINGSAcciónThe 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get recipient upload statusSENDGRID_GET_RECIPIENT_UPLOAD_STATUSAcción**this endpoint allows you to check the upload status of a marketing campaigns recipient.**
SENDGRID_GET_RECIPIENT_UPLOAD_STATUSAcción**this endpoint allows you to check the upload status of a marketing campaigns recipient.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get remaining ips countSENDGRID_GET_REMAINING_IPS_COUNTAcción**this endpoint gets amount of ip addresses that can still be created during a given period and the price of those ips.**
SENDGRID_GET_REMAINING_IPS_COUNTAcción**this endpoint gets amount of ip addresses that can still be created during a given period and the price of those ips.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get sample contactsSENDGRID_GET_SAMPLE_CONTACTSAcciónThe endpoint returns the latest 50 contacts, sorted by email, with the total count included. pagination is deprecated; regular export of contacts is advised.
SENDGRID_GET_SAMPLE_CONTACTSAcciónThe endpoint returns the latest 50 contacts, sorted by email, with the total count included. pagination is deprecated; regular export of contacts is advised.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get segment by idSENDGRID_GET_SEGMENT_BY_IDAcciónGet marketing campaigns segment by id
SENDGRID_GET_SEGMENT_BY_IDAcciónGet marketing campaigns segment by id
Parámetros de entrada
segment_idstringObligatorioSegment Id
contacts_samplebooleanDefaults to `true`. Set to `false` to exclude the contacts_sample in the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get sendgrid pre built designSENDGRID_GET_SEND_GRID_PRE_BUILT_DESIGNAcciónThe endpoint `/designs/pre-builts/{id}` is used to fetch details about a particular pre-built design for duplication and modification.
SENDGRID_GET_SEND_GRID_PRE_BUILT_DESIGNAcciónThe endpoint `/designs/pre-builts/{id}` is used to fetch details about a particular pre-built design for duplication and modification.
Parámetros de entrada
idstringObligatorioThe ID of the pre-built Design you want to duplicate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get signed event webhook s public keySENDGRID_GET_SIGNED_EVENT_WEBHOOK_S_PUBLIC_KEYAcciónRetrieve 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.
SENDGRID_GET_SIGNED_EVENT_WEBHOOK_S_PUBLIC_KEYAcciónRetrieve 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.
Parámetros de entrada
idstringObligatorioThe ID of the Event Webhook you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get single send by idSENDGRID_GET_SINGLE_SEND_BY_IDAcción**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.
SENDGRID_GET_SINGLE_SEND_BY_IDAcción**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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get single send click tracking stats by idSENDGRID_GET_SINGLE_SEND_CLICK_TRACKING_STATS_BY_IDAcción**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.
SENDGRID_GET_SINGLE_SEND_CLICK_TRACKING_STATS_BY_IDAcción**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.
Parámetros de entrada
idstringObligatorioThe ID of Single Send for which you want to retrieve link stats.
group_bystring[]A/B Single Sends have multiple variation IDs and phase IDs. Including these additional fields allows further granularity of stats by these fields.
page_sizeintegerThe number of elements you want returned on each page.
page_tokenstringThe stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn"t exist, you"re at the first page. Similarly, if `_metadata.next` is not present, you"re at the last page.
ab_phase_idstringenumAb Phase Id
testsendab_variation_idstringAb Variation Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get single sends searchSENDGRID_GET_SINGLE_SENDS_SEARCHAcciónSearch for single sends by specifying `name`, `status`, and `categories` in the request body. example provided for drafts or scheduled items related to "shoes".
SENDGRID_GET_SINGLE_SENDS_SEARCHAcciónSearch for single sends by specifying `name`, `status`, and `categories` in the request body. example provided for drafts or scheduled items related to "shoes".
Parámetros de entrada
namestringleading and trailing wildcard search on name of the Single Send
statusstring[]current status of the Single Send
page_sizeintegerPage Size
categoriesstring[]categories to associate with this Single Send, match any single send that has at least one of the categories
page_tokenstringPage Token
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get single send stats by idSENDGRID_GET_SINGLE_SEND_STATS_BY_IDAcciónRetrieve 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.
SENDGRID_GET_SINGLE_SEND_STATS_BY_IDAcciónRetrieve 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.
Parámetros de entrada
idstringObligatorioThe ID of Single Send for which you want to retrieve stats.
end_datestringFormat: `YYYY-MM-DD`.If this parameter is included, the stats" end date is included in the search.
group_bystring[]A/B Single Sends have multiple variation IDs and phase IDs. Including these additional fields allows further granularity of stats by these fields.
timezonestring[IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats are to be presented, e.g., "America/Chicago".
page_sizeintegerThe number of elements you want returned on each page.
page_tokenstringThe stats endpoints are paginated. To get the next page, call the passed `_metadata.next` URL. If `_metadata.prev` doesn"t exist, you"re at the first page. Similarly, if `_metadata.next` is not present, you"re at the last page.
start_datestringFormat: `YYYY-MM-DD`. If this parameter is included, the stats" start date is included in the search.
aggregated_bystringenumDictates how the stats are time-sliced. Currently, `"total"` and `"day"` are supported.
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get subuser monthly statsSENDGRID_GET_SUBUSER_MONTHLY_STATSAcciónRetrieve 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`.
SENDGRID_GET_SUBUSER_MONTHLY_STATSAcciónRetrieve 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`.
Parámetros de entrada
datestringObligatorioThe date of the month to retrieve statistics for. Must be formatted YYYY-MM-DD
limitintegerOptional field to limit the number of results returned.
offsetintegerOptional beginning point in the list to retrieve from.
subuser_namestringObligatorioThe username of the Subuser.
sort_by_metricstringThe metric that you want to sort by. Metrics that you can sort by are: `blocks`, `bounces`, `clicks`, `delivered`, `opens`, `requests`, `unique_clicks`, `unique_opens`, and `unsubscribes`."
sort_by_directionstringenumThe direction you want to sort.
descasc
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get subusers engagement quality scoresSENDGRID_GET_SUBUSERS_ENGAGEMENT_QUALITY_SCORESAcciónRetrieve 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.
SENDGRID_GET_SUBUSERS_ENGAGEMENT_QUALITY_SCORESAcciónRetrieve 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.
Parámetros de entrada
datestringObligatorioThe date in YYYY-MM-DD format (UTC) for which you want to retrieve a SendGrid Engagement Quality score.
limitintegerSpecifies the number of results to be returned by the API. This parameter can be used to limit the results returned or in combination with the `after_key` parameter to iterate through paginated results.
after_keyintegerSpecifies which items to be returned by the API. When the `after_key` is specified, the API will return items beginning from the first item after the item specified. This parameter can be used in combination with `limit` to iterate through paginated results.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get suppression groupsSENDGRID_GET_SUPPRESSION_GROUPSAcciónThis 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`.
SENDGRID_GET_SUPPRESSION_GROUPSAcciónThis 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`.
Parámetros de entrada
idintegerThe ID of the suppression group(s) you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get teammate subuser accessSENDGRID_GET_TEAMMATE_SUBUSER_ACCESSAcciónRetrieve subusers accessible to a specified teammate, with available scopes. admin teammates get access to all subusers.
SENDGRID_GET_TEAMMATE_SUBUSER_ACCESSAcciónRetrieve subusers accessible to a specified teammate, with available scopes. admin teammates get access to all subusers.
Parámetros de entrada
limitintegerLimit the number of Subusers to be returned. The default `limit` is `100` per request.
usernamestringA Subuser"s username that will be used to filter the returned result.
teammate_namestringObligatorioThe username of the Teammate for whom you want to retrieve Subuser access information.
after_subuser_idintegerThe Subuser ID from which the API request will begin retrieving Subusers. This query parameter can be used in successive API calls to retrieve additional Subusers.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get the credits for a subuserSENDGRID_GET_THE_CREDITS_FOR_A_SUBUSERAcción**this endpoint allows you to retrieve a credits overview for a subuser.**
SENDGRID_GET_THE_CREDITS_FOR_A_SUBUSERAcción**this endpoint allows you to retrieve a credits overview for a subuser.**
Parámetros de entrada
subuser_namestringObligatorioThe username of the Subuser.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get the default authenticationSENDGRID_GET_THE_DEFAULT_AUTHENTICATIONAcciónThis 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.
SENDGRID_GET_THE_DEFAULT_AUTHENTICATIONAcciónThis 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.
Parámetros de entrada
domainstringThe domain to find a default authentication.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get the settings for a single event webhookSENDGRID_GET_THE_SETTINGS_FOR_A_SINGLE_EVENT_WEBHOOKAcciónRetrieve 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.
SENDGRID_GET_THE_SETTINGS_FOR_A_SINGLE_EVENT_WEBHOOKAcciónRetrieve 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.
Parámetros de entrada
idstringObligatorioThe ID of the Event Webhook you want to retrieve.
includestringUse this to include optional fields in the response payload. When this is set to `include=account_status_change`, the `account_status_change` field will be part of the response payload and set to `false` by default. See [Update an event webhook](https://docs.sendgrid.com/api-reference/webhooks/update-an-event-webhook) for enabling this webhook notification which lets you subscribe to account status change events related to compliance action taken by SendGrid.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get total contact countSENDGRID_GET_TOTAL_CONTACT_COUNTAcción**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.
SENDGRID_GET_TOTAL_CONTACT_COUNTAcción**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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a list of scopes for which this user has accessSENDGRID_GET_USER_SCOPESAcciónRetrieve a list of scopes for which this user has access
SENDGRID_GET_USER_SCOPESAcciónRetrieve a list of scopes for which this user has access
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Import contactsSENDGRID_IMPORT_CONTACTSAcciónThe 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.
SENDGRID_IMPORT_CONTACTSAcciónThe 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.
Parámetros de entrada
list_idsstring[]All contacts will be added to each of the specified lists.
file_typestringObligatorioenumFile Type
csvfield_mappingsstring[]ObligatorioImport file header to reserved/custom field mapping.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Import contacts statusSENDGRID_IMPORT_CONTACTS_STATUSAcciónCheck 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.
SENDGRID_IMPORT_CONTACTS_STATUSAcciónCheck 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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Invite teammateSENDGRID_INVITE_TEAMMATEAcciónInvite 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.
SENDGRID_INVITE_TEAMMATEAcciónInvite 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.
Parámetros de entrada
emailstringObligatorioNew teammate"s email
scopesstring[]ObligatorioSet to specify list of scopes that teammate should have. Should be empty if teammate is an admin.
is_adminbooleanSet to true if teammate should be an admin user
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all authenticated domainsSENDGRID_LIST_ALL_AUTHENTICATED_DOMAINSAcciónRetrieve 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_LIST_ALL_AUTHENTICATED_DOMAINSAcciónRetrieve 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.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
domainstringSearch for authenticated domains.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
usernamestringThe username associated with an authenticated domain.
exclude_subusersbooleanExclude subuser domains from the result.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List all subusersSENDGRID_LIST_ALL_SUBUSERSAcciónRetrieve a paginated list of subusers with filtering options. use `username` to filter, `limit` to set page size, and `offset` to navigate through the list.
SENDGRID_LIST_ALL_SUBUSERSAcciónRetrieve a paginated list of subusers with filtering options. use `username` to filter, `limit` to set page size, and `offset` to navigate through the list.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
regionstringenumFilter for Subusers in this region. If not provided, all Subusers will be returned. All users can also be explicitly requested by using the filter `all`. Users who are not pinned to a region will be displayed as `global`.
allglobaleuusernamestringThe username of this subuser.
include_regionbooleanOptional flag to include the regions of the Subusers in the response. If not provided, the region will be omitted from the response.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List api keysSENDGRID_LIST_API_KEYSAcciónRetrieve 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.
SENDGRID_LIST_API_KEYSAcciónRetrieve 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.
Parámetros de entrada
limitintegerLimit
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Bulk Email Validation JobsSENDGRID_LIST_BULK_EMAIL_VALIDATION_JOBSAcción**this endpoint returns a list of all of a user's bulk email validation jobs.**
SENDGRID_LIST_BULK_EMAIL_VALIDATION_JOBSAcción**this endpoint returns a list of all of a user's bulk email validation jobs.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List designsSENDGRID_LIST_DESIGNSAcciónThe `/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`.
SENDGRID_LIST_DESIGNSAcciónThe `/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`.
Parámetros de entrada
summarybooleanset to false to return all fields
page_sizeintegernumber of results to return
page_tokenstringtoken corresponding to a specific page of results, as provided by metadata
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
ListintegrationSENDGRID_LIST_INTEGRATIONAcciónThis endpoint returns all the integrations for the user making this call.
SENDGRID_LIST_INTEGRATIONAcciónThis endpoint returns all the integrations for the user making this call.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List sendgrid pre built designsSENDGRID_LIST_SEND_GRID_PRE_BUILT_DESIGNSAcciónThe `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.
SENDGRID_LIST_SEND_GRID_PRE_BUILT_DESIGNSAcciónThe `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.
Parámetros de entrada
summarybooleanset to false to return all fields
page_sizeintegernumber of results to return
page_tokenstringtoken corresponding to a specific page of results, as provided by metadata
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List the authenticated domain associated with the given userSENDGRID_LIST_USER_AUTH_DOMAINSAcciónParent 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.
SENDGRID_LIST_USER_AUTH_DOMAINSAcciónParent 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.
Parámetros de entrada
usernamestringObligatorioUsername for the subuser to find associated authenticated domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Manually refresh a segmentSENDGRID_MANUALLY_REFRESH_A_SEGMENTAcciónManually refresh a segment by segment id.
SENDGRID_MANUALLY_REFRESH_A_SEGMENTAcciónManually refresh a segment by segment id.
Parámetros de entrada
segment_idstringObligatorioSegment Id
user_time_zonestringObligatorioThe user"s timezone. The timezone is used to reset the refresh count at midnight in the user"s local time. Only [IANA time zone format](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is accepted.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Presigned url headers for bulk email validationSENDGRID_PRESIGNED_URL_HEADERS_FOR_BULK_EMAIL_VALIDATIONAcciónGet 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.
SENDGRID_PRESIGNED_URL_HEADERS_FOR_BULK_EMAIL_VALIDATIONAcciónGet 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.
Parámetros de entrada
file_typestringObligatorioenumFile Type
csvjson
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove an ip address from a poolSENDGRID_REMOVE_AN_IP_ADDRESS_FROM_A_POOLAcción**this endpoint allows you to remove an ip address from an ip pool.**
SENDGRID_REMOVE_AN_IP_ADDRESS_FROM_A_POOLAcción**this endpoint allows you to remove an ip address from an ip pool.**
Parámetros de entrada
ipstringObligatorioThe IP address that you wish to remove.
pool_namestringObligatorioThe name of the IP pool that you are removing the IP address from.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove an ip from an authenticated domainSENDGRID_REMOVE_AN_IP_FROM_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to remove an ip address from that domain's authentication.**
SENDGRID_REMOVE_AN_IP_FROM_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to remove an ip address from that domain's authentication.**
Parámetros de entrada
idintegerObligatorioID of the domain to delete the IP from.
ipstringObligatorioIP to remove from the domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove a specific ip from the allowed listSENDGRID_REMOVE_A_SPECIFIC_IP_FROM_THE_ALLOWED_LISTAcciónThis endpoint lets you delete an allowed ip address using its id, obtainable via the "retrieve allowed ips" endpoint.
SENDGRID_REMOVE_A_SPECIFIC_IP_FROM_THE_ALLOWED_LISTAcciónThis endpoint lets you delete an allowed ip address using its id, obtainable via the "retrieve allowed ips" endpoint.
Parámetros de entrada
rule_idstringObligatorioThe ID of the allowed IP address that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove contacts from a listSENDGRID_REMOVE_CONTACTS_FROM_A_LISTAcción**this endpoint allows you to remove contacts from a given list.** the contacts will not be deleted. only their list membership will be changed.
SENDGRID_REMOVE_CONTACTS_FROM_A_LISTAcción**this endpoint allows you to remove contacts from a given list.** the contacts will not be deleted. only their list membership will be changed.
Parámetros de entrada
idstringObligatorioThe ID of the list on which you want to perform the operation.
contact_idsstringObligatorioComma separated list of contact IDs that you want to remove from the specified contacts list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove list and optional contactsSENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTSAcción**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.
SENDGRID_REMOVE_LIST_AND_OPTIONAL_CONTACTSAcción**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.
Parámetros de entrada
idstringObligatorioThe ID of the list on which you want to perform the operation.
delete_contactsbooleanFlag indicates that all contacts on the list are also to be deleted.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove one or more ips from the allow listSENDGRID_REMOVE_ONE_OR_MORE_IPS_FROM_THE_ALLOW_LISTAcciónThis 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.
SENDGRID_REMOVE_ONE_OR_MORE_IPS_FROM_THE_ALLOW_LISTAcciónThis 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.
Parámetros de entrada
idsinteger[]An array of the IDs of the IP address that you want to remove from your allow list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove segment without affecting contactsSENDGRID_REMOVE_SEGMENT_WITHOUT_AFFECTING_CONTACTSAcciónThis 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.
SENDGRID_REMOVE_SEGMENT_WITHOUT_AFFECTING_CONTACTSAcciónThis 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.
Parámetros de entrada
segment_idstringObligatorioSegment Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Rename an ip poolSENDGRID_RENAME_AN_IP_POOLAcción**this endpoint allows you to update the name of an ip pool.**
SENDGRID_RENAME_AN_IP_POOLAcción**this endpoint allows you to update the name of an ip pool.**
Parámetros de entrada
namestringThe new name for your IP pool.
pool_namestringObligatorioThe name of the IP pool that you want to retrieve the IP addresses for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Request csvSENDGRID_REQUEST_CSVAcciónInitiating 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.
SENDGRID_REQUEST_CSVAcciónInitiating 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.
Parámetros de entrada
querystringUses a SQL like syntax to indicate which messages to include in the CSV
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resend a sender verificationSENDGRID_RESEND_A_SENDER_VERIFICATIONAcción**this endpoint allows you to resend the verification request for a specific sender.**
SENDGRID_RESEND_A_SENDER_VERIFICATIONAcción**this endpoint allows you to resend the verification request for a specific sender.**
Parámetros de entrada
idintegerObligatorioThe unique identifier of the Sender.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resend sender identity verificationSENDGRID_RESEND_SENDER_IDENTITY_VERIFICATIONAcción**this endpoint allows you to resend a sender identity verification email.**
SENDGRID_RESEND_SENDER_IDENTITY_VERIFICATIONAcción**this endpoint allows you to resend a sender identity verification email.**
Parámetros de entrada
sender_idintegerObligatorioThe ID of the sender identity for which you would like to resend a verification email.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resend teammate inviteSENDGRID_RESEND_TEAMMATE_INVITEAcción**this endpoint allows you to resend a teammate invitation.** teammate invitations will expire after 7 days. resending an invitation will reset the expiration date.
SENDGRID_RESEND_TEAMMATE_INVITEAcción**this endpoint allows you to resend a teammate invitation.** teammate invitations will expire after 7 days. resending an invitation will reset the expiration date.
Parámetros de entrada
tokenstringObligatorioThe token for the invite that you want to resend.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Resend verified sender requestSENDGRID_RESEND_VERIFIED_SENDER_REQUESTAcciónThis 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.
SENDGRID_RESEND_VERIFIED_SENDER_REQUESTAcciónThis 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.
Parámetros de entrada
idstringObligatorioId
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a bounceSENDGRID_RETRIEVE_A_BOUNCEAcción**this endpoint allows you to retrieve a specific bounce by email address.**
SENDGRID_RETRIEVE_A_BOUNCEAcción**this endpoint allows you to retrieve a specific bounce by email address.**
Parámetros de entrada
emailstringObligatorioThe email address of the specific bounce you would like to retrieve
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a branded linkSENDGRID_RETRIEVE_A_BRANDED_LINKAcción**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.
SENDGRID_RETRIEVE_A_BRANDED_LINKAcción**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.
Parámetros de entrada
idintegerObligatorioThe ID of the branded link you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve access requestsSENDGRID_RETRIEVE_ACCESS_REQUESTSAcciónRetrieve a list of recent access requests using pagination with `limit` for page size and `offset` to control the start position for additional items.
SENDGRID_RETRIEVE_ACCESS_REQUESTSAcciónRetrieve a list of recent access requests using pagination with `limit` for page size and `offset` to control the start position for additional items.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a count of recipientsSENDGRID_RETRIEVE_A_COUNT_OF_RECIPIENTSAcción**this endpoint allows you to retrieve the total number of marketing campaigns recipients.**
SENDGRID_RETRIEVE_A_COUNT_OF_RECIPIENTSAcción**this endpoint allows you to retrieve the total number of marketing campaigns recipients.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a custom fieldSENDGRID_RETRIEVE_A_CUSTOM_FIELDAcción**this endpoint allows you to retrieve a custom field by id.**
SENDGRID_RETRIEVE_A_CUSTOM_FIELDAcción**this endpoint allows you to retrieve a custom field by id.**
Parámetros de entrada
custom_field_idintegerObligatorioThe ID of the custom field that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve address whitelist mail settingsSENDGRID_RETRIEVE_ADDRESS_WHITELIST_MAIL_SETTINGSAcciónThis endpoint lets you access settings for whitelisting specific emails or domains to prevent email suppression due to bounces, blocks, or unsubscribes.
SENDGRID_RETRIEVE_ADDRESS_WHITELIST_MAIL_SETTINGSAcciónThis endpoint lets you access settings for whitelisting specific emails or domains to prevent email suppression due to bounces, blocks, or unsubscribes.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a global suppressionSENDGRID_RETRIEVE_A_GLOBAL_SUPPRESSIONAcciónThis 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.
SENDGRID_RETRIEVE_A_GLOBAL_SUPPRESSIONAcciónThis 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.
Parámetros de entrada
emailstringObligatorioThe email address of the global suppression you want to retrieve. Or, if you want to check if an email address is on the global suppressions list, enter that email address here.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a list of currently allowed ipsSENDGRID_RETRIEVE_A_LIST_OF_CURRENTLY_ALLOWED_IPSAcciónThis endpoint provides a list of authorized ip addresses for your account, each with creation, update dates, and a unique id for potential removal.
SENDGRID_RETRIEVE_A_LIST_OF_CURRENTLY_ALLOWED_IPSAcciónThis endpoint provides a list of authorized ip addresses for your account, each with creation, update dates, and a unique id for potential removal.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all alertsSENDGRID_RETRIEVE_ALL_ALERTSAcción**this endpoint allows you to retrieve all of your alerts.**
SENDGRID_RETRIEVE_ALL_ALERTSAcción**this endpoint allows you to retrieve all of your alerts.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all assigned ipsSENDGRID_RETRIEVE_ALL_ASSIGNED_IPSAcciónThis 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.
SENDGRID_RETRIEVE_ALL_ASSIGNED_IPSAcciónThis 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all blocksSENDGRID_RETRIEVE_ALL_BLOCKSAcciónRetrieve 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.
SENDGRID_RETRIEVE_ALL_BLOCKSAcciónRetrieve 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.
Parámetros de entrada
emailstringSpecifies which records to return based on the records" associated email addresses. For example, `sales` returns records with email addresses that start with "sales", such as `salesdepartment@example.com` or `sales@example.com`. You can also use `%25` as a wildcard. For example, `%25market` returns records containing email addresses with the string "market" anywhere in the email address, and `%25market%25tree` returns records containing email addresses with the string "market" followed by the string "tree". Any reserved characters should be [percent-encoded](https://en.wikipedia.org/wiki/Percent-encoding#Reserved_characters), e.g., the `@` symbol should be encoded as `%40`.
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used. The maximum page size for this endpoint is 500 items per page.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
end_timeintegerThe end of the time range when a blocked email was created (inclusive). This is a unix timestamp.
start_timeintegerThe start of the time range when a blocked email was created (inclusive). This is a unix timestamp.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all bouncesSENDGRID_RETRIEVE_ALL_BOUNCESAcciónThis endpoint retrieves a paginated list of all your bounces, allowing customization of page size with `limit` and starting position with `offset` for multiple requests.
SENDGRID_RETRIEVE_ALL_BOUNCESAcciónThis endpoint retrieves a paginated list of all your bounces, allowing customization of page size with `limit` and starting position with `offset` for multiple requests.
Parámetros de entrada
emailstringSpecifies which records to return based on the records" associated email addresses. For example, `sales` returns records with email addresses that start with "sales", such as `salesdepartment@example.com` or `sales@example.com`. You can also use `%25` as a wildcard. For example, `%25market` returns records containing email addresses with the string "market" anywhere in the email address, and `%25market%25tree` returns records containing email addresses with the string "market" followed by the string "tree". Any reserved characters should be [percent-encoded](https://en.wikipedia.org/wiki/Percent-encoding#Reserved_characters), e.g., the `@` symbol should be encoded as `%40`.
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used. The maximum page size for this endpoint is 500 items per page.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
end_timeintegerRefers end of the time range in unix timestamp when a bounce was created (inclusive).
start_timeintegerRefers start of the time range in unix timestamp when a bounce was created (inclusive).
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all branded linksSENDGRID_RETRIEVE_ALL_BRANDED_LINKSAcción**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.
SENDGRID_RETRIEVE_ALL_BRANDED_LINKSAcción**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.
Parámetros de entrada
limitintegerLimits the number of results returned per page.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all campaignsSENDGRID_RETRIEVE_ALL_CAMPAIGNSAcciónRetrieve 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`.
SENDGRID_RETRIEVE_ALL_CAMPAIGNSAcciónRetrieve 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`.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all categoriesSENDGRID_RETRIEVE_ALL_CATEGORIESAcciónThis 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.
SENDGRID_RETRIEVE_ALL_CATEGORIESAcciónThis 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.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
categorystringAllows you to perform a prefix search on this particular category.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all custom fieldsSENDGRID_RETRIEVE_ALL_CUSTOM_FIELDSAcción**this endpoint allows you to retrieve all custom fields.**
SENDGRID_RETRIEVE_ALL_CUSTOM_FIELDSAcción**this endpoint allows you to retrieve all custom fields.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all global suppressionsSENDGRID_RETRIEVE_ALL_GLOBAL_SUPPRESSIONSAcciónRetrieve 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.
SENDGRID_RETRIEVE_ALL_GLOBAL_SUPPRESSIONSAcciónRetrieve 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.
Parámetros de entrada
emailstringSpecifies which records to return based on the records" associated email addresses. For example, `sales` returns records with email addresses that start with "sales", such as `salesdepartment@example.com` or `sales@example.com`. You can also use `%25` as a wildcard. For example, `%25market` returns records containing email addresses with the string "market" anywhere in the email address, and `%25market%25tree` returns records containing email addresses with the string "market" followed by the string "tree". Any reserved characters should be [percent-encoded](https://en.wikipedia.org/wiki/Percent-encoding#Reserved_characters), e.g., the `@` symbol should be encoded as `%40`.
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used. The maximum page size for this endpoint is 500 items per page.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
end_timeintegerRefers end of the time range in unix timestamp when an unsubscribe email was created (inclusive).
start_timeintegerRefers start of the time range in unix timestamp when an unsubscribe email was created (inclusive).
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all invalid emailsSENDGRID_RETRIEVE_ALL_INVALID_EMAILSAcciónRetrieve paginated lists of invalid emails with 'limit' for page size and 'offset' to start from a specific position for lists exceeding the limit.
SENDGRID_RETRIEVE_ALL_INVALID_EMAILSAcciónRetrieve paginated lists of invalid emails with 'limit' for page size and 'offset' to start from a specific position for lists exceeding the limit.
Parámetros de entrada
emailstringThis parameter allows you to filter results by email address. Only invalid addresses matching an address passed in this parameter will be returned.
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used. The maximum page size for this endpoint is 500 items per page.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
end_timeintegerRefers end of the time range in unix timestamp when an invalid email was created (inclusive).
start_timeintegerRefers start of the time range in unix timestamp when an invalid email was created (inclusive).
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all ip addressesSENDGRID_RETRIEVE_ALL_IP_ADDRESSESAcciónRetrieve 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.
SENDGRID_RETRIEVE_ALL_IP_ADDRESSESAcciónRetrieve 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.
Parámetros de entrada
ipstringThe IP address to get
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
subuserstringThe subuser you are requesting for.
sort_by_directionstringenumThe direction to sort the results.
descascexclude_whitelabelsbooleanShould we exclude reverse DNS records (whitelabels)?
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all ip poolsSENDGRID_RETRIEVE_ALL_IP_POOLSAcción**this endpoint allows you to get all of your ip pools.**
SENDGRID_RETRIEVE_ALL_IP_POOLSAcción**this endpoint allows you to get all of your ip pools.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all ip pools an ip address belongs toSENDGRID_RETRIEVE_ALL_IP_POOLS_AN_IP_ADDRESS_BELONGS_TOAcciónThis 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.
SENDGRID_RETRIEVE_ALL_IP_POOLS_AN_IP_ADDRESS_BELONGS_TOAcciónThis 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.
Parámetros de entrada
ip_addressstringObligatorioThe IP address you are retrieving the IP pools for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all ips currently in warmupSENDGRID_RETRIEVE_ALL_IPS_CURRENTLY_IN_WARMUPAcción**this endpoint allows you to retrieve all of your ip addresses that are currently warming up.**
SENDGRID_RETRIEVE_ALL_IPS_CURRENTLY_IN_WARMUPAcción**this endpoint allows you to retrieve all of your ip addresses that are currently warming up.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all listsSENDGRID_RETRIEVE_ALL_LISTSAcción**this endpoint allows you to retrieve all of your recipient lists. if you don't have any lists, an empty array will be returned.**
SENDGRID_RETRIEVE_ALL_LISTSAcción**this endpoint allows you to retrieve all of your recipient lists. if you don't have any lists, an empty array will be returned.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all mail settingsSENDGRID_RETRIEVE_ALL_MAIL_SETTINGSAcciónRetrieve 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.
SENDGRID_RETRIEVE_ALL_MAIL_SETTINGSAcciónRetrieve 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.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all of your event webhooksSENDGRID_RETRIEVE_ALL_OF_YOUR_EVENT_WEBHOOKSAcciónThe 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.
SENDGRID_RETRIEVE_ALL_OF_YOUR_EVENT_WEBHOOKSAcciónThe 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.
Parámetros de entrada
includestringUse this to include optional fields in the response payload. When this is set to `include=account_status_change`, the `account_status_change` field will be part of the response payload and set to `false` by default. See [Update an event webhook](https://docs.sendgrid.com/api-reference/webhooks/update-an-event-webhook) for enabling this webhook notification which lets you subscribe to account status change events related to compliance action taken by SendGrid.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all parse settingsSENDGRID_RETRIEVE_ALL_PARSE_SETTINGSAcción**this endpoint allows you to retrieve all of your current inbound parse settings.**
SENDGRID_RETRIEVE_ALL_PARSE_SETTINGSAcción**this endpoint allows you to retrieve all of your current inbound parse settings.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all pending teammatesSENDGRID_RETRIEVE_ALL_PENDING_TEAMMATESAcción**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.
SENDGRID_RETRIEVE_ALL_PENDING_TEAMMATESAcción**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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all recent access attemptsSENDGRID_RETRIEVE_ALL_RECENT_ACCESS_ATTEMPTSAcción**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.**
SENDGRID_RETRIEVE_ALL_RECENT_ACCESS_ATTEMPTSAcción**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.**
Parámetros de entrada
limitintegerLimits the number of IPs to return.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all recipients on a listSENDGRID_RETRIEVE_ALL_RECIPIENTS_ON_A_LISTAcción**this endpoint allows you to retrieve all recipients on the list with the given id.**
SENDGRID_RETRIEVE_ALL_RECIPIENTS_ON_A_LISTAcción**this endpoint allows you to retrieve all recipients on the list with the given id.**
Parámetros de entrada
pageintegerPage index of first recipient to return (must be a positive integer)
list_idintegerObligatorioThe id of the list of recipients you want to retrieve.
page_sizeintegerNumber of recipients to return at a time (must be a positive integer between 1 and 1000)
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all reverse dns recordsSENDGRID_RETRIEVE_ALL_REVERSE_DNS_RECORDSAcciónThe endpoint provides a paginated list of reverse dns records, with optional ip prefix search and adjustable page size using 'limit' and 'offset' parameters.
SENDGRID_RETRIEVE_ALL_REVERSE_DNS_RECORDSAcciónThe endpoint provides a paginated list of reverse dns records, with optional ip prefix search and adjustable page size using 'limit' and 'offset' parameters.
Parámetros de entrada
ipstringThe IP address segment that you"d like to use in a prefix search.
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all scheduled sendsSENDGRID_RETRIEVE_ALL_SCHEDULED_SENDSAcciónThe 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.
SENDGRID_RETRIEVE_ALL_SCHEDULED_SENDSAcciónThe 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all segmentsSENDGRID_RETRIEVE_ALL_SEGMENTSAcción**this endpoint allows you to retrieve all of your segments.**
SENDGRID_RETRIEVE_ALL_SEGMENTSAcción**this endpoint allows you to retrieve all of your segments.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all spam reportsSENDGRID_RETRIEVE_ALL_SPAM_REPORTSAcciónRetrieve spam reports in pages using `limit` for page size and `offset` to continue from a specific list position. multiple requests handle larger lists.
SENDGRID_RETRIEVE_ALL_SPAM_REPORTSAcciónRetrieve spam reports in pages using `limit` for page size and `offset` to continue from a specific list position. multiple requests handle larger lists.
Parámetros de entrada
emailstringSpecifies which records to return based on the records" associated email addresses. For example, `sales` returns records with email addresses that start with "sales", such as `salesdepartment@example.com` or `sales@example.com`. You can also use `%25` as a wildcard. For example, `%25market` returns records containing email addresses with the string "market" anywhere in the email address, and `%25market%25tree` returns records containing email addresses with the string "market" followed by the string "tree". Any reserved characters should be [percent-encoded](https://en.wikipedia.org/wiki/Percent-encoding#Reserved_characters), e.g., the `@` symbol should be encoded as `%40`.
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used. The maximum page size for this endpoint is 500 items per page.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
end_timeintegerThe end of the time range when a spam report was created (inclusive). This is a unix timestamp.
start_timeintegerThe start of the time range when a spam report was created (inclusive). This is a unix timestamp.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all suppression groups for an email addressSENDGRID_RETRIEVE_ALL_SUPPRESSION_GROUPS_FOR_AN_EMAIL_ADDRESSAcciónRetrieve all suppression groups for an email address
SENDGRID_RETRIEVE_ALL_SUPPRESSION_GROUPS_FOR_AN_EMAIL_ADDRESSAcciónRetrieve all suppression groups for an email address
Parámetros de entrada
emailstringObligatorioThe email address that you want to search suppression groups for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all suppressionsSENDGRID_RETRIEVE_ALL_SUPPRESSIONSAcción**this endpoint allows you to retrieve a list of all suppressions.**
SENDGRID_RETRIEVE_ALL_SUPPRESSIONSAcción**this endpoint allows you to retrieve a list of all suppressions.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all suppressions for a suppression groupSENDGRID_RETRIEVE_ALL_SUPPRESSIONS_FOR_A_SUPPRESSION_GROUPAcción**this endpoint allows you to retrieve all suppressed email addresses belonging to the given group.**
SENDGRID_RETRIEVE_ALL_SUPPRESSIONS_FOR_A_SUPPRESSION_GROUPAcción**this endpoint allows you to retrieve all suppressed email addresses belonging to the given group.**
Parámetros de entrada
group_idstringObligatorioThe id of the unsubscribe group that you are adding suppressions to.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all teammatesSENDGRID_RETRIEVE_ALL_TEAMMATESAcciónRetrieve 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.
SENDGRID_RETRIEVE_ALL_TEAMMATESAcciónRetrieve 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.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used. The maximum page size for this endpoint is 500 items per page.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve all the ips in a specified poolSENDGRID_RETRIEVE_ALL_THE_IPS_IN_A_SPECIFIED_POOLAcción**this endpoint allows you to get all of the ip addresses that are in a specific ip pool.**
SENDGRID_RETRIEVE_ALL_THE_IPS_IN_A_SPECIFIED_POOLAcción**this endpoint allows you to get all of the ip addresses that are in a specific ip pool.**
Parámetros de entrada
pool_namestringObligatorioThe name of the IP pool that you want to retrieve the IP addresses for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve an authenticated domainSENDGRID_RETRIEVE_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to retrieve a specific authenticated domain.**
SENDGRID_RETRIEVE_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to retrieve a specific authenticated domain.**
Parámetros de entrada
domain_idstringObligatorioDomain Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve an existing api keySENDGRID_RETRIEVE_AN_EXISTING_API_KEYAcciónRetrieve 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.
SENDGRID_RETRIEVE_AN_EXISTING_API_KEYAcciónRetrieve 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.
Parámetros de entrada
api_key_idstringObligatorio
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a reverse dns recordSENDGRID_RETRIEVE_A_REVERSE_DNS_RECORDAcción**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.
SENDGRID_RETRIEVE_A_REVERSE_DNS_RECORDAcción**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.
Parámetros de entrada
idstringObligatorioThe ID of the reverse DNS record that you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a segmentSENDGRID_RETRIEVE_A_SEGMENTAcción**this endpoint allows you to retrieve a single segment with the given id.**
SENDGRID_RETRIEVE_A_SEGMENTAcción**this endpoint allows you to retrieve a single segment with the given id.**
Parámetros de entrada
segment_idintegerObligatorioSegment Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a single campaignSENDGRID_RETRIEVE_A_SINGLE_CAMPAIGNAcción**this endpoint allows you to retrieve a specific campaign.**
SENDGRID_RETRIEVE_A_SINGLE_CAMPAIGNAcción**this endpoint allows you to retrieve a specific campaign.**
Parámetros de entrada
campaign_idintegerObligatorioThe id of the campaign you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a single listSENDGRID_RETRIEVE_A_SINGLE_LISTAcción**this endpoint allows you to retrieve a single recipient list.**
SENDGRID_RETRIEVE_A_SINGLE_LISTAcción**this endpoint allows you to retrieve a single recipient list.**
Parámetros de entrada
list_idintegerObligatorioList Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a single recipientSENDGRID_RETRIEVE_A_SINGLE_RECIPIENTAcción**this endpoint allows you to retrieve a single recipient by id from your contact database.**
SENDGRID_RETRIEVE_A_SINGLE_RECIPIENTAcción**this endpoint allows you to retrieve a single recipient by id from your contact database.**
Parámetros de entrada
recipient_idstringObligatorioThe ID of the recipient that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a single transactional templateSENDGRID_RETRIEVE_A_SINGLE_TRANSACTIONAL_TEMPLATEAcción**this endpoint allows you to retrieve a single transactional template.**
SENDGRID_RETRIEVE_A_SINGLE_TRANSACTIONAL_TEMPLATEAcción**this endpoint allows you to retrieve a single transactional template.**
Parámetros de entrada
template_idstringObligatorioTemplate Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific alertSENDGRID_RETRIEVE_A_SPECIFIC_ALERTAcción**this endpoint allows you to retrieve a specific alert.**
SENDGRID_RETRIEVE_A_SPECIFIC_ALERTAcción**this endpoint allows you to retrieve a specific alert.**
Parámetros de entrada
alert_idintegerObligatorioThe ID of the alert you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific allowed ipSENDGRID_RETRIEVE_A_SPECIFIC_ALLOWED_IPAcciónThis endpoint retrieves an allowed ip for your account using its id, with ids obtainable from the endpoint listing currently allowed ips.
SENDGRID_RETRIEVE_A_SPECIFIC_ALLOWED_IPAcciónThis endpoint retrieves an allowed ip for your account using its id, with ids obtainable from the endpoint listing currently allowed ips.
Parámetros de entrada
rule_idstringObligatorioThe ID of the allowed IP address that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific blockSENDGRID_RETRIEVE_A_SPECIFIC_BLOCKAcción**this endpoint allows you to retrieve a specific email address from your blocks list.**
SENDGRID_RETRIEVE_A_SPECIFIC_BLOCKAcción**this endpoint allows you to retrieve a specific email address from your blocks list.**
Parámetros de entrada
emailstringObligatorioThe email address of the specific block.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific invalid emailSENDGRID_RETRIEVE_A_SPECIFIC_INVALID_EMAILAcción**this endpoint allows you to retrieve a specific invalid email addresses.**
SENDGRID_RETRIEVE_A_SPECIFIC_INVALID_EMAILAcción**this endpoint allows you to retrieve a specific invalid email addresses.**
Parámetros de entrada
emailstringObligatorioThe specific email address of the invalid email entry that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific parse settingSENDGRID_RETRIEVE_A_SPECIFIC_PARSE_SETTINGAcción**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.
SENDGRID_RETRIEVE_A_SPECIFIC_PARSE_SETTINGAcción**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.
Parámetros de entrada
hostnamestringObligatorioThe hostname associated with the inbound parse setting that you would like to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific spam reportSENDGRID_RETRIEVE_A_SPECIFIC_SPAM_REPORTAcción**this endpoint allows you to retrieve a specific spam report by email address.**
SENDGRID_RETRIEVE_A_SPECIFIC_SPAM_REPORTAcción**this endpoint allows you to retrieve a specific spam report by email address.**
Parámetros de entrada
emailstringObligatorioThe email address of a specific spam report that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a specific transactional template versionSENDGRID_RETRIEVE_A_SPECIFIC_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to retrieve a specific version of a template.**
SENDGRID_RETRIEVE_A_SPECIFIC_TRANSACTIONAL_TEMPLATE_VERSIONAcción**this endpoint allows you to retrieve a specific version of a template.**
Parámetros de entrada
version_idstringObligatorioThe ID of the template version
template_idstringObligatorioThe ID of the original template
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a subuser s branded linkSENDGRID_RETRIEVE_A_SUBUSER_S_BRANDED_LINKAcciónRetrieve a subuser's branded link, created and validated by the parent account, available through the api or twilio sendgrid's subuser management page.
SENDGRID_RETRIEVE_A_SUBUSER_S_BRANDED_LINKAcciónRetrieve a subuser's branded link, created and validated by the parent account, available through the api or twilio sendgrid's subuser management page.
Parámetros de entrada
usernamestringObligatorioThe username of the subuser to retrieve associated branded links for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve bounce classification totalsSENDGRID_RETRIEVE_BOUNCE_CLASSIFICATION_TOTALSAcciónThis 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.
SENDGRID_RETRIEVE_BOUNCE_CLASSIFICATION_TOTALSAcciónThis 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.
Parámetros de entrada
end_datestringThe end of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).
start_datestringThe start of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve bounce purge mail settingsSENDGRID_RETRIEVE_BOUNCE_PURGE_MAIL_SETTINGSAcciónRetrieve and manage your bounce/purge settings for soft/hard bounce suppression lists with twilio sendgrid, either automatically or manually via the app/api.
SENDGRID_RETRIEVE_BOUNCE_PURGE_MAIL_SETTINGSAcciónRetrieve and manage your bounce/purge settings for soft/hard bounce suppression lists with twilio sendgrid, either automatically or manually via the app/api.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve click track settingsSENDGRID_RETRIEVE_CLICK_TRACK_SETTINGSAcciónThis endpoint retrieves your click tracking settings in sendgrid which tracks user engagement by redirecting and monitoring clicks on up to 1000 links per email.
SENDGRID_RETRIEVE_CLICK_TRACK_SETTINGSAcciónThis endpoint retrieves your click tracking settings in sendgrid which tracks user engagement by redirecting and monitoring clicks on up to 1000 links per email.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve current enforced tls settingsSENDGRID_RETRIEVE_CURRENT_ENFORCED_TLS_SETTINGSAcciónThis 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.
SENDGRID_RETRIEVE_CURRENT_ENFORCED_TLS_SETTINGSAcciónThis 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics by browserSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_BROWSERAcciónRetrieve 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.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_BROWSERAcciónRetrieve 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.
Parámetros de entrada
limitintegerThe number of results to return.
offsetintegerThe point in the list to begin retrieving results.
browsersstringThe browsers to get statistics for. You can include up to 10 different browsers by including this parameter multiple times.
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics by client typeSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_CLIENT_TYPEAcciónRetrieve 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.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_CLIENT_TYPEAcciónRetrieve 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.
Parámetros de entrada
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics by country and state provinceSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_COUNTRY_AND_STATE_PROVINCEAcciónRetrieve email statistics by country and state/province.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_COUNTRY_AND_STATE_PROVINCEAcciónRetrieve email statistics by country and state/province.
Parámetros de entrada
limitintegerThe number of results to return.
offsetintegerThe point in the list to begin retrieving results.
countrystringenumThe country you would like to see statistics for. Currently only supported for US and CA.
USCAend_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics by device typeSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_DEVICE_TYPEAcciónRetrieve 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.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_DEVICE_TYPEAcciónRetrieve 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.
Parámetros de entrada
limitintegerThe number of results to return.
offsetintegerThe point in the list to begin retrieving results.
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics by mailbox providerSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_MAILBOX_PROVIDERAcciónRetrieve 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.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_MAILBOX_PROVIDERAcciónRetrieve 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.
Parámetros de entrada
limitintegerThe number of results to return.
offsetintegerThe point in the list to begin retrieving results.
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonthmailbox_providersstringThe mail box providers to get statistics for. You can include up to 10 by including this parameter multiple times.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics for categoriesSENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIESAcción**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.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_CATEGORIESAcción**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.
Parámetros de entrada
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
categoriesstringObligatorioThe individual categories that you want to retrieve statistics for. You may include up to 10 different categories.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve email statistics for your subusersSENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_YOUR_SUBUSERSAcción**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.
SENDGRID_RETRIEVE_EMAIL_STATISTICS_FOR_YOUR_SUBUSERSAcción**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.
Parámetros de entrada
limitintegerLimits the number of results returned per page.
offsetintegerThe point in the list to begin retrieving results from.
end_datestringThe end date of the statistics to retrieve. Defaults to today.
subusersstringObligatorioThe subuser you want to retrieve statistics for. You may include this parameter up to 10 times to retrieve statistics for multiple subusers.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve footer mail settingsSENDGRID_RETRIEVE_FOOTER_MAIL_SETTINGSAcciónRetrieve and customize your footer settings for email bodies via this endpoint, directly or through twilio sendgrid's mail settings menu.
SENDGRID_RETRIEVE_FOOTER_MAIL_SETTINGSAcciónRetrieve and customize your footer settings for email bodies via this endpoint, directly or through twilio sendgrid's mail settings menu.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve forward bounce mail settingsSENDGRID_RETRIEVE_FORWARD_BOUNCE_MAIL_SETTINGSAcciónThis endpoint fetches the current email forwarding settings for bounce messages, including the recipient email and whether the feature is active.
SENDGRID_RETRIEVE_FORWARD_BOUNCE_MAIL_SETTINGSAcciónThis endpoint fetches the current email forwarding settings for bounce messages, including the recipient email and whether the feature is active.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve forward spam mail settingsSENDGRID_RETRIEVE_FORWARD_SPAM_MAIL_SETTINGSAcciónThis endpoint retrieves current forward spam settings, listing specified email addresses receiving spam reports and showing if the feature is active.
SENDGRID_RETRIEVE_FORWARD_SPAM_MAIL_SETTINGSAcciónThis endpoint retrieves current forward spam settings, listing specified email addresses receiving spam reports and showing if the feature is active.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve global email statisticsSENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICSAcciónRetrieve 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.
SENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICSAcciónRetrieve 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.
Parámetros de entrada
limitintegerThe number of results to return.
offsetintegerThe point in the list to begin retrieving results.
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve google analytics settingsSENDGRID_RETRIEVE_GOOGLE_ANALYTICS_SETTINGSAcciónRetrieve 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.
SENDGRID_RETRIEVE_GOOGLE_ANALYTICS_SETTINGSAcciónRetrieve 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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve legacy template mail settingsSENDGRID_RETRIEVE_LEGACY_TEMPLATE_MAIL_SETTINGSAcciónThe endpoint retrieves settings for original email templates, with a guide for using and migrating from legacy to newer dynamic transactional templates.
SENDGRID_RETRIEVE_LEGACY_TEMPLATE_MAIL_SETTINGSAcciónThe endpoint retrieves settings for original email templates, with a guide for using and migrating from legacy to newer dynamic transactional templates.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve monthly stats for all subusersSENDGRID_RETRIEVE_MONTHLY_STATS_FOR_ALL_SUBUSERSAcciónRetrieve 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.
SENDGRID_RETRIEVE_MONTHLY_STATS_FOR_ALL_SUBUSERSAcciónRetrieve 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.
Parámetros de entrada
datestringObligatorioThe date of the month to retrieve statistics for. Must be formatted YYYY-MM-DD
limitintegerOptional field to limit the number of results returned.
offsetintegerOptional beginning point in the list to retrieve from.
subuserstringA substring search of your subusers.
sort_by_metricstringenumThe metric that you want to sort by. Metrics that you can sort by are: `blocks`, `bounces`, `clicks`, `delivered`, `opens`, `requests`, `unique_clicks`, `unique_opens`, and `unsubscribes`."
blocksbouncesclicksdeliveredopensrequestsunique_clicksunique_opensunsubscribessort_by_directionstringenumThe direction you want to sort.
descasc
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve paged transactional templatesSENDGRID_RETRIEVE_PAGED_TRANSACTIONAL_TEMPLATESAcción**this endpoint allows you to retrieve all transactional templates.**
SENDGRID_RETRIEVE_PAGED_TRANSACTIONAL_TEMPLATESAcción**this endpoint allows you to retrieve all transactional templates.**
Parámetros de entrada
page_sizeintegerObligatorioThe number of templates to be returned in each page of results
page_tokenstringA token corresponding to a specific page of results, as provided by metadata
generationsstringenumComma-delimited list specifying which generations of templates to return. Options are `legacy`, `dynamic` or `legacy,dynamic`.
legacydynamiclegacy,dynamic
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve recipientsSENDGRID_RETRIEVE_RECIPIENTSAcciónRetrieve 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.
SENDGRID_RETRIEVE_RECIPIENTSAcciónRetrieve 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.
Parámetros de entrada
pageintegerPage index of first recipients to return (must be a positive integer)
page_sizeintegerNumber of recipients to return at a time (must be a positive integer between 1 and 1000)
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve recipients on a segmentSENDGRID_RETRIEVE_RECIPIENTS_ON_A_SEGMENTAcción**this endpoint allows you to retrieve all of the recipients in a segment with the given id.**
SENDGRID_RETRIEVE_RECIPIENTS_ON_A_SEGMENTAcción**this endpoint allows you to retrieve all of the recipients in a segment with the given id.**
Parámetros de entrada
pageintegerPage
page_sizeintegerPage Size
segment_idintegerObligatorioThe ID of the segment from which you want to retrieve recipients.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve reserved fieldsSENDGRID_RETRIEVE_RESERVED_FIELDSAcción**this endpoint allows you to list all fields that are reserved and can't be used for custom field names.**
SENDGRID_RETRIEVE_RESERVED_FIELDSAcción**this endpoint allows you to list all fields that are reserved and can't be used for custom field names.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve scheduled sendSENDGRID_RETRIEVE_SCHEDULED_SENDAcción**this endpoint allows you to retrieve the cancel/paused scheduled send information for a specific `batch id`.**
SENDGRID_RETRIEVE_SCHEDULED_SENDAcción**this endpoint allows you to retrieve the cancel/paused scheduled send information for a specific `batch id`.**
Parámetros de entrada
batch_idstringObligatorioBatch Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieves inbound parse webhook statisticsSENDGRID_RETRIEVES_INBOUND_PARSE_WEBHOOK_STATISTICSAcciónSendgrid's inbound parse webhook parses incoming emails, up to 30mb, and posts to a specified url, with available integrations listed in their library index.
SENDGRID_RETRIEVES_INBOUND_PARSE_WEBHOOK_STATISTICSAcciónSendgrid's inbound parse webhook parses incoming emails, up to 30mb, and posts to a specified url, with available integrations listed in their library index.
Parámetros de entrada
limitstringThe number of statistics to return on each page.
offsetstringThe number of statistics to skip.
end_datestringThe end date of the statistics you want to retrieve. Must be in the format YYYY-MM-DD
start_datestringObligatorioThe starting date of the statistics you want to retrieve. Must be in the format YYYY-MM-DD
aggregated_bystringenumHow you would like the statistics to by grouped.
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve single segment endpointSENDGRID_RETRIEVE_SINGLE_SEGMENT_ENDPOINTAcción**this endpoint allows you to retrieve a single segment by id.**
SENDGRID_RETRIEVE_SINGLE_SEGMENT_ENDPOINTAcción**this endpoint allows you to retrieve a single segment by id.**
Parámetros de entrada
query_jsonbooleanDefaults to `false`. Set to `true` to return the parsed SQL AST as a JSON object in the field `query_json`
segment_idstringObligatorioSegment Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve specific teammateSENDGRID_RETRIEVE_SPECIFIC_TEAMMATEAcción**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.
SENDGRID_RETRIEVE_SPECIFIC_TEAMMATEAcción**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.
Parámetros de entrada
usernamestringObligatorioThe username of the teammate that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve stats by a specific client typeSENDGRID_RETRIEVE_STATS_BY_A_SPECIFIC_CLIENT_TYPEAcciónUse 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.
SENDGRID_RETRIEVE_STATS_BY_A_SPECIFIC_CLIENT_TYPEAcciónUse 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.
Parámetros de entrada
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
client_typestringObligatorioenumSpecifies the type of client to retrieve stats for. Must be either "phone", "tablet", "webmail", or "desktop".
phonetabletwebmaildesktopaggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonth
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve subscription tracking settingsSENDGRID_RETRIEVE_SUBSCRIPTION_TRACKING_SETTINGSAcción**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.
SENDGRID_RETRIEVE_SUBSCRIPTION_TRACKING_SETTINGSAcción**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.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve subuser reputationsSENDGRID_RETRIEVE_SUBUSER_REPUTATIONSAcciónThis endpoint provides sender reputation scores for subusers, reflecting their email performance based on recipient responses and negative actions like bounces or spam reports.
SENDGRID_RETRIEVE_SUBUSER_REPUTATIONSAcciónThis endpoint provides sender reputation scores for subusers, reflecting their email performance based on recipient responses and negative actions like bounces or spam reports.
Parámetros de entrada
usernamesstringUsernames
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve sums of email stats for each categorySENDGRID_RETRIEVE_SUMS_OF_EMAIL_STATS_FOR_EACH_CATEGORYAcción**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.
SENDGRID_RETRIEVE_SUMS_OF_EMAIL_STATS_FOR_EACH_CATEGORYAcción**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.
Parámetros de entrada
limitintegerLimits the number of results returned.
offsetintegerThe point in the list to begin retrieving results.
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringenumHow to group the statistics. Must be either "day", "week", or "month".
dayweekmonthsort_by_metricstringThe metric that you want to sort by. Must be a single metric.
sort_by_directionstringenumThe direction you want to sort.
descasc
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve the count of billable recipientsSENDGRID_RETRIEVE_THE_COUNT_OF_BILLABLE_RECIPIENTSAcciónThis endpoint provides the billable count of recipients for marketing campaigns, based on the highest number reached in your account.
SENDGRID_RETRIEVE_THE_COUNT_OF_BILLABLE_RECIPIENTSAcciónThis endpoint provides the billable count of recipients for marketing campaigns, based on the highest number reached in your account.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve the default branded linkSENDGRID_RETRIEVE_THE_DEFAULT_BRANDED_LINKAcciónThe 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.
SENDGRID_RETRIEVE_THE_DEFAULT_BRANDED_LINKAcciónThe 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.
Parámetros de entrada
domainstringThe domain to match against when finding the default branded link.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve the lists that a recipient is onSENDGRID_RETRIEVE_THE_LISTS_THAT_A_RECIPIENT_IS_ONAcción**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.
SENDGRID_RETRIEVE_THE_LISTS_THAT_A_RECIPIENT_IS_ONAcción**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.
Parámetros de entrada
recipient_idstringObligatorioThe ID of the recipient for whom you are retrieving lists.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve the warmup status for a specific ip addressSENDGRID_RETRIEVE_THE_WARMUP_STATUS_FOR_A_SPECIFIC_IP_ADDRESSAcciónRetrieve the warmup status for a specific ip address
SENDGRID_RETRIEVE_THE_WARMUP_STATUS_FOR_A_SPECIFIC_IP_ADDRESSAcciónRetrieve the warmup status for a specific ip address
Parámetros de entrada
ip_addressstringObligatorioThe IP address that you want to retrieve the warmup status for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve tracking settingsSENDGRID_RETRIEVE_TRACKING_SETTINGSAcción**this endpoint allows you to retrieve a list of all tracking settings on your account.**
SENDGRID_RETRIEVE_TRACKING_SETTINGSAcción**this endpoint allows you to retrieve a list of all tracking settings on your account.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve user s authenticated domainsSENDGRID_RETRIEVE_USER_S_AUTHENTICATED_DOMAINSAcciónThe 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.
SENDGRID_RETRIEVE_USER_S_AUTHENTICATED_DOMAINSAcciónThe 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.
Parámetros de entrada
usernamestringObligatorioUsername for the subuser to find associated authenticated domains.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve your account email addressSENDGRID_RETRIEVE_YOUR_ACCOUNT_EMAIL_ADDRESSAcción**this endpoint allows you to retrieve the email address currently on file for your account.**
SENDGRID_RETRIEVE_YOUR_ACCOUNT_EMAIL_ADDRESSAcción**this endpoint allows you to retrieve the email address currently on file for your account.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve your credit balanceSENDGRID_RETRIEVE_YOUR_CREDIT_BALANCEAcciónThis endpoint checks an account's base email sending credit balance, which affects per-email charges. more details at sendgrid's billing documentation.
SENDGRID_RETRIEVE_YOUR_CREDIT_BALANCEAcciónThis endpoint checks an account's base email sending credit balance, which affects per-email charges. more details at sendgrid's billing documentation.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve your usernameSENDGRID_RETRIEVE_YOUR_USERNAMEAcción**this endpoint allows you to retrieve your current account username.**
SENDGRID_RETRIEVE_YOUR_USERNAMEAcción**this endpoint allows you to retrieve your current account username.**
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Returns a list of all partner settingsSENDGRID_RETURNS_A_LIST_OF_ALL_PARTNER_SETTINGSAcciónRetrieve 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.
SENDGRID_RETURNS_A_LIST_OF_ALL_PARTNER_SETTINGSAcciónRetrieve 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.
Parámetros de entrada
limitinteger`limit` sets the page size, i.e. maximum number of items from the list to be returned for a single API request. If omitted, the default page size is used.
offsetintegerThe number of items in the list to skip over before starting to retrieve the items for the requested page. The default `offset` of `0` represents the beginning of the list, i.e. the start of the first page. To request the second page of the list, set the `offset` to the page size as determined by `limit`. Use multiples of the page size as your `offset` to request further consecutive pages. E.g. assume your page size is set to `10`. An `offset` of `10` requests the second page, an `offset` of `20` requests the third page and so on, provided there are sufficiently many items in your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Schedule a campaignSENDGRID_SCHEDULE_A_CAMPAIGNAcciónThis 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.
SENDGRID_SCHEDULE_A_CAMPAIGNAcciónThis 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.
Parámetros de entrada
send_atintegerObligatorioThe unix timestamp for the date and time you would like your campaign to be sent out.
campaign_idintegerObligatorioCampaign Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Schedule single sendSENDGRID_SCHEDULE_SINGLE_SENDAcciónUse 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`).
SENDGRID_SCHEDULE_SINGLE_SENDAcciónUse 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`).
Parámetros de entrada
idstringObligatorioId
send_atstringObligatoriodate-timeThe ISO 8601 time at which to send the Single Send. This must be in future or the string `now`. SendGrid [Mail Send](https://docs.sendgrid.com/api-reference/mail-send/mail-send) emails can be scheduled up to 72 hours in advance. However, this scheduling constraint does not apply to emails sent via [Marketing Campaigns](https://docs.sendgrid.com/ui/sending-email/how-to-send-email-with-marketing-campaigns/).
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search contactsSENDGRID_SEARCH_CONTACTSAcciónFind 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.
SENDGRID_SEARCH_CONTACTSAcciónFind 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.
Parámetros de entrada
querystringObligatorioAn SGQL search string or other pattern.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search for suppressions within a groupSENDGRID_SEARCH_FOR_SUPPRESSIONS_WITHIN_A_GROUPAcción**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.
SENDGRID_SEARCH_FOR_SUPPRESSIONS_WITHIN_A_GROUPAcción**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.
Parámetros de entrada
group_idstringObligatorioThe ID of the suppression group that you would like to search.
recipient_emailsstring[]ObligatorioThe array of email addresses to add or find.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search recipientsSENDGRID_SEARCH_RECIPIENTSAcciónThis 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.
SENDGRID_SEARCH_RECIPIENTSAcciónThis 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.
Parámetros de entrada
field__namestringField Name
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Segment json data by specific criteriaSENDGRID_SEGMENT_JSON_DATA_BY_SPECIFIC_CRITERIAAcciónSearch 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.
SENDGRID_SEGMENT_JSON_DATA_BY_SPECIFIC_CRITERIAAcciónSearch 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.
Parámetros de entrada
list_idintegerObligatorioList Id
conditionsobject[]ObligatorioThe conditions by which this segment should be created.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send a campaignSENDGRID_SEND_A_CAMPAIGNAcción**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.
SENDGRID_SEND_A_CAMPAIGNAcción**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.
Parámetros de entrada
campaign_idintegerObligatorioCampaign Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send a test campaignSENDGRID_SEND_A_TEST_CAMPAIGNAcción**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"]
SENDGRID_SEND_A_TEST_CAMPAIGNAcción**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"]
Parámetros de entrada
tostringObligatorioemailThe email address that should receive the test campaign.
campaign_idintegerObligatorioCampaign Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send a test marketing emailSENDGRID_SEND_A_TEST_MARKETING_EMAILAcciónUse 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.
SENDGRID_SEND_A_TEST_MARKETING_EMAILAcciónUse 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.
Parámetros de entrada
emailsstring[]ObligatorioAn array of email addresses you want to send the test message to.
sender_idintegerThis ID must belong to a verified sender. Alternatively, you may supply a `from_address` email.
template_idstringObligatoriouuidThe ID of the template that you would like to use. If you use a template that contains a subject and content (either text or HTML), then those values specified at the personalizations or message level will not be used.
from_addressstringemailYou can either specify this address or specify a verified sender ID.
version_id_overridestringuuidYou can override the active template with an alternative template version by passing the version ID in this field. If this field is blank, the active template version will be used.
suppression_group_idintegerSuppression Group Id
custom_unsubscribe_urlstringA custom unsubscribe URL.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Send email with twilio sendgridSENDGRID_SEND_EMAIL_WITH_TWILIO_SEND_GRIDAcciónThe mail send operation uses sendgrid's v3 api to send emails. visit the provided link for an overview, features, limitations, quickstarts, and helper libraries.
SENDGRID_SEND_EMAIL_WITH_TWILIO_SEND_GRIDAcciónThe mail send operation uses sendgrid's v3 api to send emails. visit the provided link for an overview, features, limitations, quickstarts, and helper libraries.
Parámetros de entrada
contentobject[]An array of objects, each containing a message body"s content and [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types). You must specify at least one MIME type and may include multiple. To include more than one MIME type, add an object for each type to the array.
send_atintegerA [unix timestamp](https://en.wikipedia.org/wiki/Unix_time) allowing you to specify when your email should be sent. A send cannot be scheduled more than 72 hours in advance. This property may be overridden by the `send_at` property set at the personalizations level.
subjectstringThe global or _message level_ subject of your email. Subject lines set in personalizations objects will override this global subject line. See line length limits specified in [RFC 2822](https://www.rfc-editor.org/rfc/rfc2822#section-2.1.1) for guidance on subject line character limits.
batch_idstringAn ID representing a batch of emails to be sent at the same time. Including a `batch_id` in your request allows you to include this email in that batch. It also enables you to cancel or pause the delivery of that batch. See the [Scheduled Sends API](https://sendgrid.com/docs/api-reference/) for more information about scheduling your email.
categoriesstring[]An array of category names assigned to this message. Categories allow you to group messages by categories you define. Categories should be used sparingly to create general groups that are relevant to you. Categories are not meant to be used to track individual mail sends. For more granular categorization and tracking, use the `custom_args` property. A category name cannot exceed 255 characters. See [**Working with Categories**](https://docs.sendgrid.com/for-developers/sending-email/categories) for more information.
from__namestringA name or title associated with the email address such as "Support" or "Alex".
attachmentsobject[]An array of objects where you can define any attachments to be included with the message. Each object contains a `content` property, which must be a Base64 encoded string of the attachment itself, and `type`, `filename`, `disposition`, and `content_id` properties that tell SendGrid how to handle the attachment.
custom_argsstringValues that are specific to the entire send that will be carried along with the email and its activity data. Substitutions will not be made on custom arguments, so any string that is assigned to this property will be assumed to be the custom argument that you would like to be used. This parameter is overridden by `custom_args` set at the personalizations level. Total `custom_args` size may not exceed 10,000 bytes.
from__emailstringemailThe email address from which messages are sent. This address should be a verified sender in your Twilio SendGrid account. Email addresses specified in `personalizations` will override addresses set at the message level outside of the `personalizations` object.
template_idstringAn email template ID. A template that contains a subject and content—either text or html—will override any subject and content values specified at the `personalizations` or message level. If a template ID begins with `d-`, it is a dynamic template and will work with the `dynamic_template_data` property. If the template ID does not begin with `d-`, it is a standard SendGrid template and will work with the `substitutions` property. See [**How to Send an Email with Dynamic Templates**](https://docs.sendgrid.com/ui/sending-email/how-to-send-an-email-with-dynamic-templates) for more information about working with templates.
ip_pool_namestringThe IP Pool that you would like to send this email from. IP Pools allow you to group your dedicated Twilio SendGrid IP addresses in order to have more control over your deliverability. See [**IP Pools**](https://docs.sendgrid.com/ui/account-and-settings/ip-pools) for more information.
reply_to_listobject[]An array of recipients to whom replies will be sent. Each object in this array must contain a recipient"s email address. Each object in the array may optionally contain a recipient"s name. You can use either the `reply_to` property or `reply_to_list` property but not both.
asm__group__idintegerThe unsubscribe group to associate with this email. See the [Suppressions API](https://docs.sendgrid.com/api-reference/suppressions/) to manage unsubscribe group IDs.
reply__to__namestringA name or title associated with the email address such as "Alex".
personalizationsobject[]ObligatorioAn array of messages and their metadata. Each object within the `personalizations` array can be thought of as a mail envelope—it defines who should receive an individual message and how that message should be handled. See [**Personalizations**](https://sendgrid.com/docs/for-developers/sending-email/personalizations/) for more information.
reply__to__emailstringemailAn email address to which a message is sent. Email addresses specified in `personalizations` will override addresses set at the message level outside of the `personalizations` object.
asm__groups__to__displayinteger[]An array containing the unsubscribe groups that you would like to be displayed to a recipient on the unsubscribe preferences page. This page is displayed in the recipient"s browser when they click the unsubscribe link in your message.
mail__settings__footer__htmlstringThe HTML content of your footer.
mail__settings__footer__textstringThe plain text content of your footer.
mail__settings__footer__enablebooleanIndicates if this setting is enabled.
mail__settings__sandbox__mode__enablebooleanIndicates if this setting is enabled.
tracking__settings__ganalytics__enablebooleanIndicates if this setting is enabled.
tracking__settings__ganalytics__utm__termstringUsed to identify any paid keywords.
tracking__settings__open__tracking__enablebooleanIndicates if this setting is enabled.
tracking__settings__click__tracking__enablebooleanIndicates if this setting is enabled.
tracking__settings__ganalytics__utm__mediumstringName of the marketing medium. (e.g., Email)
tracking__settings__ganalytics__utm__sourcestringName of the referrer source. (e.g., Google, SomeDomain.com, or Marketing Email)
tracking__settings__ganalytics__utm__contentstringUsed to differentiate your campaign from advertisements.
tracking__settings__ganalytics__utm__campaignstringThe name of the campaign.
mail__settings__bypass__list__management__enablebooleanIndicates if this setting is enabled.
mail__settings__bypass__spam__management__enablebooleanIndicates if this setting is enabled.
tracking__settings__subscription__tracking__htmlstringHTML to be appended to the email with the subscription tracking link.
tracking__settings__subscription__tracking__textstringText to be appended to the email with the subscription tracking link.
tracking__settings__click__tracking__enable__textbooleanIndicates if this setting should be included in the `text/plain` portion of your email.
mail__settings__bypass__bounce__management__enablebooleanIndicates if this setting is enabled.
tracking__settings__subscription__tracking__enablebooleanIndicates if this setting is enabled.
tracking__settings__open__tracking__substitution__tagstringAllows you to specify a substitution tag that you can insert in the body of your email at a location that you desire. This tag will be replaced by the open tracking pixel.
mail__settings__bypass__unsubscribe__management__enablebooleanIndicates if this setting is enabled.
tracking__settings__subscription__tracking__substitution__tagstringA tag that will be replaced with the unsubscribe URL. If this property is used, it will override both the `text` and `html` properties. The URL of the link will be placed at the substitution tag"s location in the message body with no additional formatting.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Set up reverse dnsSENDGRID_SET_UP_REVERSE_DNSAcción**this endpoint allows you to set up reverse dns.**
SENDGRID_SET_UP_REVERSE_DNSAcción**this endpoint allows you to set up reverse dns.**
Parámetros de entrada
ipstringObligatorioThe IP address for which you want to set up reverse DNS.
domainstringObligatorioThe root, or sending, domain that will be used to send message from the IP address.
subdomainstringThe subdomain that will be used to send emails from the IP address. This should be the same as the subdomain used to set up an authenticated domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Singlesend csv stats retrievalSENDGRID_SINGLE_SEND_CSV_STATS_RETRIEVALAcciónExport 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.
SENDGRID_SINGLE_SEND_CSV_STATS_RETRIEVALAcciónExport 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.
Parámetros de entrada
idsstring[]The IDs of Single Sends for which to export stats.
timezonestringThe [IANA Area/Region](https://en.wikipedia.org/wiki/Tz_database#Names_of_timezones) string representing the timezone in which the stats are to be presented; i.e. `"America/Chicago"`. This parameter changes the timezone format only; it does not alter which stats are returned.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start warming up an ip addressSENDGRID_START_WARMING_UP_AN_IP_ADDRESSAcción**this endpoint allows you to put an ip address into warmup mode.**
SENDGRID_START_WARMING_UP_AN_IP_ADDRESSAcción**this endpoint allows you to put an ip address into warmup mode.**
Parámetros de entrada
ipstringThe IP address that you want to begin warming up.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Stop warming up an ip addressSENDGRID_STOP_WARMING_UP_AN_IP_ADDRESSAcciónThis 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.
SENDGRID_STOP_WARMING_UP_AN_IP_ADDRESSAcciónThis 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.
Parámetros de entrada
ip_addressstringObligatorioThe IP address that you want to retrieve the warmup status for.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
SumemailstatsforsubusersSENDGRID_SUM_EMAIL_STATS_FOR_SUBUSERSAcción**this endpoint allows you to retrieve the total sums of each email statistic metric for all subusers over the given date range.**
SENDGRID_SUM_EMAIL_STATS_FOR_SUBUSERSAcción**this endpoint allows you to retrieve the total sums of each email statistic metric for all subusers over the given date range.**
Parámetros de entrada
limitintegerLimits the number of results returned per page.
offsetintegerThe point in the list to begin retrieving results from.
end_datestringThe end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.
start_datestringObligatorioThe starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.
aggregated_bystringHow to group the statistics. Defaults to today. Must follow format YYYY-MM-DD.
sort_by_metricstringThe metric that you want to sort by. Must be a single metric.
sort_by_directionstringenumThe direction you want to sort.
descasc
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Test an event webhook s settingsSENDGRID_TEST_AN_EVENT_WEBHOOK_S_SETTINGSAcciónThe 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`.
SENDGRID_TEST_AN_EVENT_WEBHOOK_S_SETTINGSAcciónThe 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`.
Parámetros de entrada
idstringThe ID of the Event Webhook you want to retrieve.
urlstringObligatorioThe URL where you would like the test notification to be sent.
oauth_client_idstringThe client ID Twilio SendGrid sends to your OAuth server or service provider to generate an OAuth access token. When passing data in this property, you must also include the `oauth_token_url` property.
oauth_token_urlstringThe URL where Twilio SendGrid sends the Client ID and Client Secret to generate an access token. This should be your OAuth server or service provider. When passing data in this field, you must also include the `oauth_client_id` property.
oauth_client_secretstringThe `oauth_client_secret` is needed only once to create an access token. SendGrid will store this secret, allowing you to update your Client ID and Token URL without passing the secret to SendGrid again. When passing data in this field, you must also include the `oauth_client_id` and `oauth_token_url` properties.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
This request returns a single bulk email validation jobSENDGRID_THIS_REQUEST_RETURNS_A_SINGLE_BULK_EMAIL_VALIDATION_JOBAcciónThis request returns a single bulk email validation job
SENDGRID_THIS_REQUEST_RETURNS_A_SINGLE_BULK_EMAIL_VALIDATION_JOBAcciónThis request returns a single bulk email validation job
Parámetros de entrada
job_idstringObligatorioThe ID of the Bulk Email Address Validation Job you wish to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Toggle signature verification for a single event webhook by idSENDGRID_TOGGLE_WEBHOOK_SIGNATUREAcciónToggle signature verification for a single event webhook by id
SENDGRID_TOGGLE_WEBHOOK_SIGNATUREAcciónToggle signature verification for a single event webhook by id
Parámetros de entrada
idstringObligatorioThe ID of the Event Webhook you want to retrieve.
enabledbooleanObligatorioEnable or disable the webhook by setting this property to `true` or `false`, respectively.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unlink subuser domainSENDGRID_UNLINK_SUBUSER_DOMAINAcciónThe endpoint enables removal of an authenticated domain from subusers, each limited to five domains, to allow mail sending under a parent domain.
SENDGRID_UNLINK_SUBUSER_DOMAINAcciónThe endpoint enables removal of an authenticated domain from subusers, each limited to five domains, to allow mail sending under a parent domain.
Parámetros de entrada
usernamestringUsername for the subuser to find associated authenticated domain.
domain_idintegerObligatorioID of the authenticated domain to be disassociated with the subuser.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Unschedule a scheduled campaignSENDGRID_UNSCHEDULE_A_SCHEDULED_CAMPAIGNAcción**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).
SENDGRID_UNSCHEDULE_A_SCHEDULED_CAMPAIGNAcción**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).
Parámetros de entrada
campaign_idintegerObligatorioCampaign Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a branded linkSENDGRID_UPDATE_A_BRANDED_LINKAcción**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.
SENDGRID_UPDATE_A_BRANDED_LINKAcción**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.
Parámetros de entrada
idintegerObligatorioThe ID of the branded link you want to retrieve.
defaultbooleanDefault
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a campaignSENDGRID_UPDATE_A_CAMPAIGNAcción**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.
SENDGRID_UPDATE_A_CAMPAIGNAcción**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.
Parámetros de entrada
titlestringObligatorioThe title of the campaign.
subjectstringObligatorioThe subject line for your campaign.
categoriesstring[]ObligatorioThe categories you want to tag on this campaign.
campaign_idintegerObligatorioThe id of the campaign you would like to retrieve.
html_contentstringObligatorioThe HTML content of this campaign.
plain_contentstringObligatorioThe plain content of this campaign.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update account offeringsSENDGRID_UPDATE_ACCOUNT_OFFERINGSAcciónUpdates an account's package and attaches optional add-ons like marketing campaigns, dedicated ips, and expert services. note: accounts are limited to one package.
SENDGRID_UPDATE_ACCOUNT_OFFERINGSAcciónUpdates an account's package and attaches optional add-ons like marketing campaigns, dedicated ips, and expert services. note: accounts are limited to one package.
Parámetros de entrada
accountIDstringObligatorioTwilio SendGrid account ID
offeringsobject[]ObligatorioList of offerings to assign to account.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update address whitelist mail settingsSENDGRID_UPDATE_ADDRESS_WHITELIST_MAIL_SETTINGSAcciónUpdate 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.
SENDGRID_UPDATE_ADDRESS_WHITELIST_MAIL_SETTINGSAcciónUpdate 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.
Parámetros de entrada
liststring[]Either a single email address that you want whitelisted or a domain, for which all email addresses belonging to this domain will be whitelisted.
enabledbooleanIndicates if your email address whitelist is enabled.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a listSENDGRID_UPDATE_A_LISTAcción**this endpoint allows you to update the name of one of your recipient lists.**
SENDGRID_UPDATE_A_LISTAcción**this endpoint allows you to update the name of one of your recipient lists.**
Parámetros de entrada
namestringObligatorioThe new name for your list.
list_idintegerObligatorioList Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update an account s stateSENDGRID_UPDATE_AN_ACCOUNT_S_STATEAcciónUpdate the state of the specified account.
SENDGRID_UPDATE_AN_ACCOUNT_S_STATEAcciónUpdate the state of the specified account.
Parámetros de entrada
statestringObligatorioenumState
activateddeactivatedaccountIDstringObligatorioTwilio SendGrid account ID
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update an alertSENDGRID_UPDATE_AN_ALERTAcción**this endpoint allows you to update an alert.**
SENDGRID_UPDATE_AN_ALERTAcción**this endpoint allows you to update an alert.**
Parámetros de entrada
alert_idintegerObligatorioThe ID of the alert you would like to retrieve.
email_tostringThe new email address you want your alert to be sent to. Example: test@example.com
frequencystringThe new frequency at which to send the stats_notification alert. Example: monthly
percentageintegerThe new percentage threshold at which the usage_limit alert will be sent. Example: 90
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update an authenticated domainSENDGRID_UPDATE_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to update the settings for an authenticated domain.**
SENDGRID_UPDATE_AN_AUTHENTICATED_DOMAINAcción**this endpoint allows you to update the settings for an authenticated domain.**
Parámetros de entrada
defaultbooleanIndicates whether this is the default authenticated domain.
domain_idstringObligatorioDomain Id
custom_spfbooleanIndicates whether to generate a custom SPF record for manual security.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update an ip pool nameSENDGRID_UPDATE_AN_IP_POOL_NAMEAcciónThis operation will rename an ip pool. an ip pool name cannot start with a dot/period (.) or space.
SENDGRID_UPDATE_AN_IP_POOL_NAMEAcciónThis operation will rename an ip pool. an ip pool name cannot start with a dot/period (.) or space.
Parámetros de entrada
namestringObligatorioThe name to assign to the IP Pool. An IP Pool name cannot begin with a space or period.
poolidstringObligatorioSpecifies the unique ID for an IP Pool.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update an sso integrationSENDGRID_UPDATE_AN_SSO_INTEGRATIONAcción**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.
SENDGRID_UPDATE_AN_SSO_INTEGRATIONAcción**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.
Parámetros de entrada
idstringObligatorioId
sibooleanIf this parameter is set to `true`, the response will include the `completed_integration` field.
namestringObligatorioThe name of your integration. This name can be anything that makes sense for your organization (eg. Twilio SendGrid)
enabledbooleanObligatorioIndicates if the integration is enabled.
entity_idstringObligatorioAn identifier provided by your IdP to identify Twilio SendGrid in the SAML interaction. This is called the "SAML Issuer ID" in the Twilio SendGrid UI.
signin_urlstringObligatorioThe IdP"s SAML POST endpoint. This endpoint should receive requests and initiate an SSO login flow. This is called the "Embed Link" in the Twilio SendGrid UI.
signout_urlstringObligatorioThis URL is relevant only for an IdP-initiated authentication flow. If a user authenticates from their IdP, this URL will return them to their IdP when logging out.
completed_integrationbooleanIndicates if the integration is complete.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a parse settingSENDGRID_UPDATE_A_PARSE_SETTINGAcción**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.
SENDGRID_UPDATE_A_PARSE_SETTINGAcción**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.
Parámetros de entrada
urlstringThe public URL where you would like SendGrid to POST the data parsed from your email. Any emails sent with the given hostname provided (whose MX records have been updated to point to SendGrid) will be parsed and POSTed to this URL.
hostnamestringObligatorioA specific and unique domain or subdomain that you have created to use exclusively to parse your incoming email. For example, `parse.yourdomain.com`.
send_rawbooleanIndicates if you would like SendGrid to post the original MIME-type content of your parsed email. When this parameter is set to `true`, SendGrid will send a JSON payload of the content of your email.
spam_checkbooleanIndicates if you would like SendGrid to check the content parsed from your emails for spam before POSTing them to your domain.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update api key nameSENDGRID_UPDATE_API_KEY_NAMEAcción**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.
SENDGRID_UPDATE_API_KEY_NAMEAcción**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.
Parámetros de entrada
namestringObligatorioThe new name of the API Key.
api_key_idstringObligatorio
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update api key name and scopesSENDGRID_UPDATE_API_KEY_NAME_AND_SCOPESAcciónUpdate 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)
SENDGRID_UPDATE_API_KEY_NAME_AND_SCOPESAcciónUpdate 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)
Parámetros de entrada
namestringObligatorioName
scopesstring[]Scopes
api_key_idstringObligatorio
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a scheduled campaignSENDGRID_UPDATE_A_SCHEDULED_CAMPAIGNAcción**this endpoint allows to you change the scheduled time and date for a campaign to be sent.**
SENDGRID_UPDATE_A_SCHEDULED_CAMPAIGNAcción**this endpoint allows to you change the scheduled time and date for a campaign to be sent.**
Parámetros de entrada
send_atintegerObligatorioSend At
campaign_idintegerObligatorioCampaign Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a scheduled sendSENDGRID_UPDATE_A_SCHEDULED_SENDAcciónUse 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.
SENDGRID_UPDATE_A_SCHEDULED_SENDAcciónUse 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.
Parámetros de entrada
statusstringObligatorioenumStatus
cancelpausebatch_idstringObligatorioBatch Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a segmentSENDGRID_UPDATE_A_SEGMENTAcción**this endpoint allows you to update a segment.**
SENDGRID_UPDATE_A_SEGMENTAcción**this endpoint allows you to update a segment.**
Parámetros de entrada
namestringObligatorioName
list_idintegerThe list ID you would like this segment to be built from.
conditionsobject[]The conditions by which this segment should be created.
segment_idintegerObligatorioSegment Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a senderSENDGRID_UPDATE_A_SENDERAcciónThis 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.
SENDGRID_UPDATE_A_SENDERAcciónThis 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.
Parámetros de entrada
idintegerObligatorioThe unique identifier of the Sender.
zipstringThe zipcode of the Sender.
citystringThe city of the Sender.
statestringThe state of the Sender.
addressstringThe physical address of the Sender.
countrystringThe country of the Sender.
nicknamestringA nickname for the Sender. Not used for sending.
address_2stringAdditional Sender address information.
from__namestringThe name appended to the from email field. Typically your name or company name.
from__emailstringThe email address from which your recipient will receive emails.
reply__to__namestringThe name appended to the reply to email field. Typically your name or company name.
reply__to__emailstringThe email address to which your recipient will reply.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a sender identitySENDGRID_UPDATE_A_SENDER_IDENTITYAcciónThis 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.
SENDGRID_UPDATE_A_SENDER_IDENTITYAcciónThis 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.
Parámetros de entrada
zipstringThe zipcode of the sender identity.
citystringThe city of the sender identity.
statestringThe state of the sender identity.
addressstringThe physical address of the sender identity.
countrystringThe country of the sender identity.
nicknamestringA nickname for the sender identity. Not used for sending.
address_2stringAdditional sender identity address information.
sender_idintegerObligatorioThe ID of the sender identity that you want to retrieve.
from__namestringThe name appended to the from email field. Typically your name or company name.
from__emailstringThe email address from which your recipient will receive emails.
reply__to__namestringThe name appended to the reply to email field. Typically your name or company name.
reply__to__emailstringThe email address to which your recipient will reply.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a single event webhook by idSENDGRID_UPDATE_A_SINGLE_EVENT_WEBHOOK_BY_IDAcciónUpdate 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.
SENDGRID_UPDATE_A_SINGLE_EVENT_WEBHOOK_BY_IDAcciónUpdate 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.
Parámetros de entrada
idstringObligatorioThe ID of the Event Webhook you want to retrieve.
urlstringObligatorioSet this property to the URL where you want the Event Webhook to send event data.
openbooleanSet this property to `true` to receive open events. Open events occur when a recipient has opened the HTML message. You must [enable Open Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#open-tracking) to receive this type of event.
clickbooleanSet this property to `true` to receive click events. Click events occur when a recipient clicks on a link within the message. You must [enable Click Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#click-tracking) to receive this type of event.
bouncebooleanSet this property to `true` to receive bounce events. A bounce occurs when a receiving server could not or would not accept a message.
droppedbooleanSet this property to `true` to receive dropped events. Dropped events occur when your message is not delivered by Twilio SendGrid. Dropped events are accomponied by a `reason` property, which indicates why the message was dropped. Reasons for a dropped message include: Invalid SMTPAPI header, Spam Content (if spam checker app enabled), Unsubscribed Address, Bounced Address, Spam Reporting Address, Invalid, Recipient List over Package Quota.
enabledbooleanSet this property to `true` to enable the Event Webhook or `false` to disable it.
includestringUse this to include optional fields in the response payload. When this is set to `include=account_status_change`, the `account_status_change` field will be part of the response payload and set to `false` by default. See [Update an event webhook](https://docs.sendgrid.com/api-reference/webhooks/update-an-event-webhook) for enabling this webhook notification which lets you subscribe to account status change events related to compliance action taken by SendGrid.
deferredbooleanSet this property to `true` to receive deferred events. Deferred events occur when a recipient"s email server temporarily rejects a message.
deliveredbooleanSet this property to `true` to receive delivered events. Delivered events occur when a message has been successfully delivered to the receiving server.
processedbooleanSet this property to `true` to receive processed events. Processed events occur when a message has been received by Twilio SendGrid and the message is ready to be delivered.
spam_reportbooleanSet this property to `true` to receive spam report events. Spam reports occur when recipients mark a message as spam.
unsubscribebooleanSet this property to `true` to receive unsubscribe events. Unsubscribes occur when recipients click on a message"s subscription management link. You must [enable Subscription Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#subscription-tracking) to receive this type of event.
friendly_namestringOptionally set this property to a friendly name for the Event Webhook. A friendly name may be assigned to each of your webhooks to help you differentiate them. The friendly name is for convenience only. You should use the webhook `id` property for any programmatic tasks.
oauth_client_idstringSet this property to the OAuth client ID that SendGrid will pass to your OAuth server or service provider to generate an OAuth access token. When passing data in this property, you must also include the `oauth_token_url` property.
oauth_token_urlstringSet this property to the URL where SendGrid will send the OAuth client ID and client secret to generate an OAuth access token. This should be your OAuth server or service provider. When passing data in this field, you must also include the `oauth_client_id` property.
group_resubscribebooleanSet this property to `true` to receive group resubscribe events. Group resubscribes occur when recipients resubscribe to a specific [unsubscribe group](https://docs.sendgrid.com/ui/sending-email/create-and-manage-unsubscribe-groups) by updating their subscription preferences. You must [enable Subscription Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#subscription-tracking) to receive this type of event.
group_unsubscribebooleanSet this property to `true` to receive group unsubscribe events. Group unsubscribes occur when recipients unsubscribe from a specific [unsubscribe group](https://docs.sendgrid.com/ui/sending-email/create-and-manage-unsubscribe-groups) either by direct link or by updating their subscription preferences. You must [enable Subscription Tracking](https://docs.sendgrid.com/ui/account-and-settings/tracking#subscription-tracking) to receive this type of event.
oauth_client_secretstringSet this property to the OAuth client secret that SendGrid will pass to your OAuth server or service provider to generate an OAuth access token. This secret is needed only once to create an access token. SendGrid will store the secret, allowing you to update your client ID and Token URL without passing the secret to SendGrid again. When passing data in this field, you must also include the `oauth_client_id` and `oauth_token_url` properties.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a suppression groupSENDGRID_UPDATE_A_SUPPRESSION_GROUPAcción**this endpoint allows you to update or change a suppression group.**
SENDGRID_UPDATE_A_SUPPRESSION_GROUPAcción**this endpoint allows you to update or change a suppression group.**
Parámetros de entrada
namestringThe name of your suppression group. Required when creating a group.
group_idstringObligatorioThe ID of the suppression group you would like to retrieve.
is_defaultbooleanIndicates if you would like this to be your default suppression group.
descriptionstringA brief description of your suppression group. Required when creating a group.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update a user s profileSENDGRID_UPDATE_A_USER_S_PROFILEAcción**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.
SENDGRID_UPDATE_A_USER_S_PROFILEAcción**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.
Parámetros de entrada
zipstringThe zip code for this user.
citystringThe city for the user profile.
phonestringThe phone number for the user.
statestringThe state for this user.
addressstringThe street address for this user profile.
companystringThat company that this user profile is associated with.
countrystringTh country of this user profile.
websitestringThe website associated with this user.
address2stringAn optional second line for the street address of this user profile.
last_namestringThe last name of the user.
first_namestringThe first name of the user.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update bounce purge mail settingsSENDGRID_UPDATE_BOUNCE_PURGE_MAIL_SETTINGSAcciónUpdate 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.
SENDGRID_UPDATE_BOUNCE_PURGE_MAIL_SETTINGSAcciónUpdate 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.
Parámetros de entrada
enabledbooleanIndicates if the bounce purge mail setting is enabled.
hard_bouncesintegerThe number of days after which SendGrid will purge all contacts from your hard bounces suppression lists.
soft_bouncesintegerThe number of days after which SendGrid will purge all contacts from your soft bounces suppression lists.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update click tracking settingsSENDGRID_UPDATE_CLICK_TRACKING_SETTINGSAcciónThis endpoint configures click tracking for emails, redirecting links through sendgrid or branded domains for engagement analysis, with a limit of 1000 links per email.
SENDGRID_UPDATE_CLICK_TRACKING_SETTINGSAcciónThis endpoint configures click tracking for emails, redirecting links through sendgrid or branded domains for engagement analysis, with a limit of 1000 links per email.
Parámetros de entrada
enabledbooleanThe setting you want to use for click tracking.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update custom field definitionSENDGRID_UPDATE_CUSTOM_FIELD_DEFINITIONAcción**this endpoint allows you to update a defined custom field.** only your custom fields can be modified; reserved fields cannot be updated.
SENDGRID_UPDATE_CUSTOM_FIELD_DEFINITIONAcción**this endpoint allows you to update a defined custom field.** only your custom fields can be modified; reserved fields cannot be updated.
Parámetros de entrada
namestringObligatorioName
custom_field_idstringObligatorioCustom Field Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update designSENDGRID_UPDATE_DESIGNAcciónThe design api enables partial design updates using patch requests, changing only specified fields, like the 'name' field, with no impact on other data.
SENDGRID_UPDATE_DESIGNAcciónThe design api enables partial design updates using patch requests, changing only specified fields, like the 'name' field, with no impact on other data.
Parámetros de entrada
idstringObligatorioThe ID of the Design you want to duplicate.
namestringName of the Design.
subjectstringSubject of the Design.
categoriesstring[]The list of categories applied to the design
html_contentstringThe HTML content of the Design.
plain_contentstringPlain text content of the Design.
generate_plain_contentbooleanIf true, plain_content is always generated from html_content. If false, plain_content is not altered.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update details for an ip addressSENDGRID_UPDATE_DETAILS_FOR_AN_IP_ADDRESSAcciónThe 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`.
SENDGRID_UPDATE_DETAILS_FOR_AN_IP_ADDRESSAcciónThe 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`.
Parámetros de entrada
ipstringObligatorioThe `ip` path parameter specifies an IP address to make the request against.
is_enabledbooleanIndicates if the IP address is billed and able to send email. This parameter applies to non-Twilio SendGrid APIs that been added to your Twilio SendGrid account. This parameter"s value is `null` for Twilio SendGrid IP addresses.
is_auto_warmupbooleanIndicates if the IP address is set to automatically [warmup](https://docs.sendgrid.com/ui/sending-email/warming-up-an-ip-address).
is_parent_assignedbooleanIndicates if a parent on the account is able to send email from the IP address.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update enforced tls settingsSENDGRID_UPDATE_ENFORCED_TLS_SETTINGSAcciónUpdate 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.
SENDGRID_UPDATE_ENFORCED_TLS_SETTINGSAcciónUpdate 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.
Parámetros de entrada
versionintegerVersion
require_tlsbooleanIndicates if you want to require your recipients to support TLS.
require_valid_certbooleanIndicates if you want to require your recipients to have a valid certificate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update footer mail settingsSENDGRID_UPDATE_FOOTER_MAIL_SETTINGSAcciónThis endpoint updates your email footer settings, enabling a custom footer addition in text/html emails. edit directly or via the twilio sendgrid app.
SENDGRID_UPDATE_FOOTER_MAIL_SETTINGSAcciónThis endpoint updates your email footer settings, enabling a custom footer addition in text/html emails. edit directly or via the twilio sendgrid app.
Parámetros de entrada
enabledbooleanIndicates if the Footer mail setting is currently enabled.
html_contentstringThe custom HTML content of your email footer.
plain_contentstringThe plain text content of your email footer.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update forward bounce mail settingsSENDGRID_UPDATE_FORWARD_BOUNCE_MAIL_SETTINGSAcciónThis 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.
SENDGRID_UPDATE_FORWARD_BOUNCE_MAIL_SETTINGSAcciónThis 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.
Parámetros de entrada
emailstringThe email address that you would like your bounce reports forwarded to.
enabledbooleanIndicates if the bounce forwarding mail setting is enabled.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update forward spam mail settingsSENDGRID_UPDATE_FORWARD_SPAM_MAIL_SETTINGSAcciónActivate 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.
SENDGRID_UPDATE_FORWARD_SPAM_MAIL_SETTINGSAcciónActivate 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.
Parámetros de entrada
emailstringThe email address where you would like the spam reports to be forwarded.
enabledbooleanIndicates if the Forward Spam setting is enabled.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update google analytics settingsSENDGRID_UPDATE_GOOGLE_ANALYTICS_SETTINGSAcciónUpdate 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.
SENDGRID_UPDATE_GOOGLE_ANALYTICS_SETTINGSAcciónUpdate 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.
Parámetros de entrada
enabledbooleanIndicates if Google Analytics is enabled.
utm_termstringAny paid keywords.
utm_mediumstringName of the marketing medium (e.g. "Email").
utm_sourcestringName of the referrer source.
utm_contentstringUsed to differentiate ads
utm_campaignstringThe name of the campaign.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
UpdateintegrationSENDGRID_UPDATE_INTEGRATIONAcciónThis endpoint updates an existing integration.
SENDGRID_UPDATE_INTEGRATIONAcciónThis endpoint updates an existing integration.
Parámetros de entrada
idstringObligatorioThe ID of the Integration you would like to update.
labelstringThe nickname for the Integration.
destinationstringenumDestination
Segmentfilters__email__eventsstring[]The possible SendGrid email event types for event forwarding. Specify all the email event types that you would like to forward to the Integration"s destination.
properties__write__keystringThe write key provided by the Segment Source you"d like to have events forwarded to. Must be between 6 and 51 characters.
properties__destination__regionstringenumDestination Region
EUUS
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update listSENDGRID_UPDATE_LISTAcción**this endpoint updates the name of a list.**
SENDGRID_UPDATE_LISTAcción**this endpoint updates the name of a list.**
Parámetros de entrada
idstringObligatorioThe ID of the list on which you want to perform the operation.
namestringYour name for your list.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update open tracking settingsSENDGRID_UPDATE_OPEN_TRACKING_SETTINGSAcciónUpdate 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.
SENDGRID_UPDATE_OPEN_TRACKING_SETTINGSAcciónUpdate 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.
Parámetros de entrada
enabledbooleanThe new status that you want to set for open tracking.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update segmentSENDGRID_UPDATE_SEGMENTAcciónSegment `name` has to be unique. a user can not create a new segment with an existing segment name.
SENDGRID_UPDATE_SEGMENTAcciónSegment `name` has to be unique. a user can not create a new segment with an existing segment name.
Parámetros de entrada
namestringName of the segment.
query_dslstringSQL query which will filter contacts based on the conditions provided
segment_idstringObligatorioSegment Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update single sendSENDGRID_UPDATE_SINGLE_SENDAcciónUpdate 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.
SENDGRID_UPDATE_SINGLE_SENDAcciónUpdate 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.
Parámetros de entrada
idstringObligatorioId
namestringObligatorioThe name of the Single Send.
send_atstringdate-timeSet this property to an ISO 8601 formatted date-time when you would like to send the Single Send. Please note that any `send_at` property value set with this endpoint will prepopulate the send date in the SendGrid user interface (UI). However, the Single Send will remain an unscheduled draft until it"s updated with the [**Schedule Single Send**](https://docs.sendgrid.com/api-reference/single-sends/schedule-single-send) endpoint or SendGrid application UI. Additionally, the `now` keyword is a valid `send_at` value only when using the Schedule Single Send endpoint. Setting this property to `now` with this endpoint will cause an error.
categoriesstring[]The categories to associate with this Single Send.
send__to__allbooleanSet to `true` to send to All Contacts. If set to `false`, at least one `list_ids` or `segment_ids` value must be provided before the Single Send is scheduled to be sent to recipients.
send__to__list__idsstring[]The recipient List IDs that will receive the Single Send.
email__config__editorstringenumEditor
codedesignemail__config__subjectstringThe subject line of the Single Send. Do not include this field when using a `design_id`.
send__to__segment__idsstring[]The recipient Segment IDs that will receive the Single Send.
email__config__ip__poolstringThe name of the IP Pool from which the Single Send emails are sent.
email__config__design__idstringA `design_id` can be used in place of `html_content`, `plain_content`, and/or `subject`. You can retrieve a design"s ID from the ["List Designs" endpoint](https://docs.sendgrid.com/api-reference/designs-api/list-designs) or by pulling it from the design"s detail page URL in the Marketing Campaigns App.
email__config__sender__idintegerThe ID of the verified Sender. You can retrieve a verified Sender"s ID from the ["Get Verified Senders" endpoint](https://www.twilio.com/docs/sendgrid/api-reference/sender-verification/get-all-verified-senders) or by pulling it from the Sender"s detail page URL in the SendGrid App.
email__config__html__contentstringThe HTML content of the Single Send. Do not include this field when using a `design_id`.
email__config__plain__contentstringThe plain text content of the Single Send. Do not include this field when using a `design_id`.
email__config__suppression__group__idintegerThe ID of the Suppression Group to allow recipients to unsubscribe — you must provide this or the `custom_unsubscribe_url`.
email__config__custom__unsubscribe__urlstringuriThe URL allowing recipients to unsubscribe — you must provide this or the `suppression_group_id`.
email__config__generate__plain__contentbooleanIf set to `true`, `plain_content` is always generated from `html_content`. If set to false, `plain_content` is not altered.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update sso certificateSENDGRID_UPDATE_SSO_CERTIFICATEAcción**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.
SENDGRID_UPDATE_SSO_CERTIFICATEAcción**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.
Parámetros de entrada
cert_idstringObligatorioCert Id
enabledbooleanIndicates whether or not the certificate is enabled.
integration_idstringAn ID that matches a certificate to a specific IdP integration.
public_certificatestringThis public certificate allows SendGrid to verify that SAML requests it receives are signed by an IdP that it recognizes.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update subscription tracking settingsSENDGRID_UPDATE_SUBSCRIPTION_TRACKING_SETTINGSAcción**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.
SENDGRID_UPDATE_SUBSCRIPTION_TRACKING_SETTINGSAcción**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.
Parámetros de entrada
urlstringuriThe URL where you would like your users sent to unsubscribe.
enabledbooleanIndicates if subscription tracking is enabled.
landingstringThe HTML that will be displayed on the page that your customers will see after clicking unsubscribe, hosted on SendGrid’s server.
replacestringYour custom defined replacement tag for your templates. Use this tag to place your unsubscribe content anywhere in your emailtemplate.
html_contentstringThe information and HTML for your unsubscribe link.
plain_contentstringThe information in plain text for your unsubscribe link. You should have the “<% %>” tag in your content, otherwise the user will have no URL for unsubscribing.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update teammate s permissionsSENDGRID_UPDATE_TEAMMATE_S_PERMISSIONSAcciónThis 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.
SENDGRID_UPDATE_TEAMMATE_S_PERMISSIONSAcciónThis 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.
Parámetros de entrada
scopesstring[]ObligatorioProvide list of scopes that should be given to teammate. If specifying list of scopes, is_admin should be set to False.
is_adminbooleanObligatorioSet to True if this teammate should be promoted to an admin user. If True, scopes should be an empty array.
usernamestringObligatorioThe username of the teammate that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update template mail settingsSENDGRID_UPDATE_TEMPLATE_MAIL_SETTINGSAcciónThe 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.
SENDGRID_UPDATE_TEMPLATE_MAIL_SETTINGSAcciónThe 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.
Parámetros de entrada
enabledbooleanIndicates if you want to enable the legacy email template mail setting.
html_contentstringThe new HTML content for your legacy email template.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update the credits for a subuserSENDGRID_UPDATE_THE_CREDITS_FOR_A_SUBUSERAcción**this endpoint allows you to update the credits for a subuser.**
SENDGRID_UPDATE_THE_CREDITS_FOR_A_SUBUSERAcción**this endpoint allows you to update the credits for a subuser.**
Parámetros de entrada
typestringObligatorioenumType
unlimitedrecurringnonrecurringtotalintegerTotal number of credits to which the Subuser is to be reset. If `type` is `nonrecurring` then the Subuser"s credits will be reset to `total` on a one-time basis. If `type` is `recurring` then the Subuser"s credits will be reset to `total` every time a reset is scheduled in accordance with the `reset_frequency`. Do _not_ include `total` if you choose a reset `type` value of `unlimited`.
subuser_namestringObligatorioThe username of the Subuser.
reset_frequencystringenumReset Frequency
monthlyweeklydaily
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update the remaining credits for a subuserSENDGRID_UPDATE_THE_REMAINING_CREDITS_FOR_A_SUBUSERAcción**this endpoint allows you to update the remaining credits for a subuser.**
SENDGRID_UPDATE_THE_REMAINING_CREDITS_FOR_A_SUBUSERAcción**this endpoint allows you to update the remaining credits for a subuser.**
Parámetros de entrada
subuser_namestringObligatorioThe username of the Subuser.
allocation_updateintegerObligatorioThe number of credits to add to or subtract from the current remaining credits for the Subuser. Use a positive number to increase the remaining credits or a negative number to reduce the remaining credits.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update your account email addressSENDGRID_UPDATE_YOUR_ACCOUNT_EMAIL_ADDRESSAcción**this endpoint allows you to update the email address currently on file for your account.**
SENDGRID_UPDATE_YOUR_ACCOUNT_EMAIL_ADDRESSAcción**this endpoint allows you to update the email address currently on file for your account.**
Parámetros de entrada
emailstringThe new email address that you would like to use for your account.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update your passwordSENDGRID_UPDATE_YOUR_PASSWORDAcción**this endpoint allows you to update your password.**
SENDGRID_UPDATE_YOUR_PASSWORDAcción**this endpoint allows you to update your password.**
Parámetros de entrada
new_passwordstringObligatorioThe new password you would like to use for your account.
old_passwordstringObligatorioThe old password for your account.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update your usernameSENDGRID_UPDATE_YOUR_USERNAMEAcción**this endpoint allows you to update the username for your account.**
SENDGRID_UPDATE_YOUR_USERNAMEAcción**this endpoint allows you to update the username for your account.**
Parámetros de entrada
usernamestringThe new username you would like to use for your account.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate a batch idSENDGRID_VALIDATE_A_BATCH_IDAcciónValidate 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.
SENDGRID_VALIDATE_A_BATCH_IDAcciónValidate 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.
Parámetros de entrada
batch_idstringObligatorioSet this parameter to the batch ID that"s associated with the mail send you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate a branded linkSENDGRID_VALIDATE_A_BRANDED_LINKAcción**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.
SENDGRID_VALIDATE_A_BRANDED_LINKAcción**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.
Parámetros de entrada
idintegerObligatorioThe ID of the branded link that you want to validate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate a domain authenticationSENDGRID_VALIDATE_A_DOMAIN_AUTHENTICATIONAcción**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.**
SENDGRID_VALIDATE_A_DOMAIN_AUTHENTICATIONAcción**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.**
Parámetros de entrada
idintegerObligatorioID of the domain to validate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate an emailSENDGRID_VALIDATE_AN_EMAILAcción**this endpoint allows you to validate an email address.**
SENDGRID_VALIDATE_AN_EMAILAcción**this endpoint allows you to validate an email address.**
Parámetros de entrada
emailstringObligatorioThe email address that you want to validate.
sourcestringA one-word classifier for where this validation originated.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate a reverse dns recordSENDGRID_VALIDATE_A_REVERSE_DNS_RECORDAcciónEndpoint 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.
SENDGRID_VALIDATE_A_REVERSE_DNS_RECORDAcciónEndpoint 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.
Parámetros de entrada
idstringObligatorioThe ID of the reverse DNS record that you would like to validate.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Verify sender requestSENDGRID_VERIFY_SENDER_REQUESTAcción**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.
SENDGRID_VERIFY_SENDER_REQUESTAcción**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.
Parámetros de entrada
tokenstringObligatorioToken
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
View a sender identitySENDGRID_VIEW_A_SENDER_IDENTITYAcción**this endpoint allows you to retrieve a specific sender identity.**
SENDGRID_VIEW_A_SENDER_IDENTITYAcción**this endpoint allows you to retrieve a specific sender identity.**
Parámetros de entrada
sender_idintegerObligatorioThe ID of the sender identity that you want to retrieve.
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
View scheduled time of a campaignSENDGRID_VIEW_SCHEDULED_TIME_OF_A_CAMPAIGNAcción**this endpoint allows you to retrieve the date and time that a campaign has been scheduled to be sent.**
SENDGRID_VIEW_SCHEDULED_TIME_OF_A_CAMPAIGNAcción**this endpoint allows you to retrieve the date and time that a campaign has been scheduled to be sent.**
Parámetros de entrada
campaign_idintegerObligatorioCampaign Id
Parámetros de salida
dataobjectObligatorioerrorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not