NAiOS IconNAiOS Logo
Volver al catálogo

SendGrid

sendgrid

SendGrid is a cloud-based email delivery platform providing transactional and marketing email services, with APIs for integration, analytics, and scalability

Acciones
375
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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.**

Parámetros de entrada

  • version_idstringObligatorio

    The ID of the template version

  • template_idstringObligatorio

    The ID of the original template

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This operation appends a batch of ips to an ip pool. this operation requires all ip assignments to succeed. if any ip assignments fail, this endpoint will return an error.

Parámetros de entrada

  • ipsstring[]Obligatorio

    An array of IP addresses to assign to the specified IP Pool. All assignments must succeed.

  • poolidstringObligatorio

    Specifies the unique ID for an IP Pool.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add an ip address to a poolSENDGRID_ADD_AN_IP_ADDRESS_TO_A_POOLAcción

Add an ip address to a pool with this endpoint. activation in sendgrid needed first. it takes up to 60 seconds. possible to add to multiple pools. retrieve ips via a specific endpoint.

Parámetros de entrada

  • ipstring

    The IP address that you want to add to the named pool.

  • pool_namestringObligatorio

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • idintegerObligatorio

    ID of the domain to which you are adding an IP

  • ipstringObligatorio

    IP to associate with the domain. Used for manually specifying IPs for custom SPF.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • list_idintegerObligatorio

    The ID of the list that you want to add the recipient to.

  • recipient_idstringObligatorio

    The ID of the recipient you are adding to the list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a twilio sendgrid ip addressSENDGRID_ADD_A_TWILIO_SEND_GRID_IP_ADDRESSAcción

This operation adds a twilio sendgrid ip address to your account. you can also assign up to 100 subusers to the ip address at creation.

Parámetros de entrada

  • regionstringenum

    Region

    globaleu
  • subusersstring[]

    An array of Subuser IDs the IP address will be assigned to.

  • include_regionboolean

    Boolean indicating whether or not to return the IP address"s region information in the response.

  • is_auto_warmupbooleanObligatorio

    Indicates if the IP address is set to automatically [warmup](https://docs.sendgrid.com/ui/sending-email/warming-up-an-ip-address).

  • is_parent_assignedbooleanObligatorio

    Indicates if a parent on the account is able to send email from the IP address.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • countintegerObligatorio

    The amount of IPs to add to the account.

  • warmupboolean

    Whether or not to warmup the IPs being added.

  • subusersstring[]

    Array of usernames to be assigned a send IP.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This endpoint adds allowed ip addresses to a list, which then assigns each ip an id for future removal; ids can be retrieved via a specific retrieval endpoint.

Parámetros de entrada

  • ipsobject[]Obligatorio

    An array containing the IP(s) you want to allow.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add or update a contactSENDGRID_ADD_OR_UPDATE_A_CONTACTAcción

The endpoint can handle 30k contacts or 6mb, reports queuing/errors, needs extra steps to confirm changes and retrieve ids. custom fields must pre-exist and exact identifiers are required for updates; email addresses are auto-lowered in case.

Parámetros de entrada

  • contactsobject[]Obligatorio

    One 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • recipient_emailsstring[]Obligatorio

    The array of email addresses to add or find.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • group_idstringObligatorio

    The id of the unsubscribe group that you are adding suppressions to.

  • recipient_emailsstring[]Obligatorio

    The array of email addresses to add or find.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • request_idstringObligatorio

    The ID of the request that you want to approve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This operation appends a batch of subusers to a specified ip address. this endpoint requires all subuser assignments to succeed. if a subuser assignment fails, this endpoint will return an error.

Parámetros de entrada

  • ipstringObligatorio

    The `ip` path parameter specifies an IP address to make the request against.

  • subusersstring[]Obligatorio

    An array of Subuser IDs to be assigned to the specified IP address. All Subuser assignments must succeed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Associate a branded link with a subuserSENDGRID_ASSOCIATE_A_BRANDED_LINK_WITH_A_SUBUSERAcción

Parent accounts can create and validate branded links, then assign them to subusers through the api or twilio sendgrid app, enabling subusers to use the branded links for mail.

Parámetros de entrada

  • link_idintegerObligatorio

    The ID of the branded link you want to associate.

  • usernamestring

    The username of the subuser account that you want to associate the branded link with.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Associate authenticated domains with subusers under a parent account to enable email sending using the parent's domain. authentication by the parent is required. multiple domains can be linked using the specified endpoint.

Parámetros de entrada

  • usernamestringObligatorio

    Username to associate with the authenticated domain.

  • domain_idintegerObligatorio

    ID of the authenticated domain to associate with the subuser.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Authenticate a domainSENDGRID_AUTHENTICATE_A_DOMAINAcción

The endpoint enables domain authentication for users or subusers, offering two methods—'username' parameter for visibility and modification, or the association workflow for a fixed, non-editable domain assignment.

Parámetros de entrada

  • ipsstring[]

    The IP addresses that will be included in the custom SPF record for this authenticated domain.

  • domainstringObligatorio

    Domain being authenticated.

  • regionstring

    The region of the domain. Allowed values are `global` and `eu`. The default value is `global`.

  • defaultboolean

    Whether to use this authenticated domain as the fallback if no authenticated domains match the sender"s domain.

  • usernamestring

    The username associated with this domain.

  • subdomainstring

    The subdomain to use for this authenticated domain.

  • custom_spfboolean

    Specify 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_securityboolean

    Whether to allow SendGrid to manage your SPF records, DKIM keys, and DKIM key rotation.

  • custom_dkim_selectorstring

    Add a custom DKIM selector. Accepts three letters or numbers.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Authenticate an account with single sign onSENDGRID_AUTHENTICATE_AN_ACCOUNT_WITH_SINGLE_SIGN_ONAcción

Authenticates and logs in a user to twilio sendgrid as a specific admin identity configured for sso by partner. any additional teammates or subusers will need to log in directly via app.sendgrid.com

Parámetros de entrada

  • accountIDstringObligatorio

    Twilio SendGrid account ID

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bind authenticated domains to userSENDGRID_BIND_AUTHENTICATED_DOMAINS_TO_USERAcción

This endpoint enables linking up to five authenticated domains from a parent account to a subuser, giving them permission to send emails with the parent's domain. domains are prioritized when sending emails.

Parámetros de entrada

  • usernamestringObligatorio

    Username to associate with the authenticated domain.

  • domain_idintegerObligatorio

    ID of the authenticated domain to associate with the subuser.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Bulk delete single sendsSENDGRID_BULK_DELETE_SINGLE_SENDSAcción

This api endpoint enables the deletion of multiple single sends by providing their ids. retrieve ids with a get request to `/marketing/singlensends`. deletions are irreversible.

Parámetros de entrada

  • idsstring[]

    Single Send IDs to delete

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel or pause a scheduled sendSENDGRID_CANCEL_OR_PAUSE_A_SCHEDULED_SENDAcción

This api endpoint allows users to cancel or pause a scheduled email by providing its `batch id`. to change or remove this status, specific endpoints must be used; exceeding limits or duplicating actions will trigger a `400` error.

Parámetros de entrada

  • statusstringObligatorioenum

    Status

    pausecancel
  • batch_idstringObligatorio

    The batch ID is the identifier that your scheduled mail sends share.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Completed stepsSENDGRID_COMPLETED_STEPSAcción

This api endpoint checks if a sendgrid account has completed domain authentication (`domain verified`) and single sender verification (`sender verified`), returning boolean values for each.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a batch idSENDGRID_CREATE_A_BATCH_IDAcción

Create 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a branded linkSENDGRID_CREATE_A_BRANDED_LINKAcción

Create a new branded link by specifying the root domain, which must align with your from email, and an optional unique subdomain. subusers can request using the `on-behalf-of` header.

Parámetros de entrada

  • domainstringObligatorio

    The root domain for the subdomain that you are creating the link branding for. This should match your FROM email address.

  • regionstringenum

    Region

    allglobaleu
  • defaultboolean

    Default

  • subdomainstring

    The subdomain to create the link branding for. Must be different from the subdomain you used for authenticating your domain.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a campaignSENDGRID_CREATE_A_CAMPAIGNAcción

This endpoint enables campaign creation, requiring a subject, sender id, content (html and text suggested), and a list or segment id for sending or scheduling, but not for initial creation.

Parámetros de entrada

  • titlestringObligatorio

    The display title of your campaign. This will be viewable by you in the Marketing Campaigns UI.

  • editorstringenum

    Editor

    codedesign
  • ip_poolstring

    The pool of IPs that you would like to send this email from.

  • subjectstring

    The 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_idinteger

    The 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_contentstring

    The HTML of your marketing email.

  • plain_contentstring

    The plain text content of your emails.

  • suppression_group_idinteger

    The suppression group that this marketing email belongs to, allowing recipients to opt-out of emails of this type.

  • custom_unsubscribe_urlstring

    This is the url of the custom unsubscribe page that you provide for customers to unsubscribe from your suppression groups.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestring

    Name

  • typestring

    Type

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestringObligatorio

    Name

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an accountSENDGRID_CREATE_AN_ACCOUNTAcción

Creates a new account, with specified offering, under the organization.

Parámetros de entrada

  • offeringsobject[]Obligatorio

    List of offering names to assign to account.

  • profile__emailstring

    Email of the account holder

  • profile__phonestring

    Phone number with a maximum of fifteen digits formatted using the E.164 standard consisting of [+] [country code] [subscriber number including area code]

  • profile__timezonestring

    Area/Location as listed in the [IANA Time Zone database](https://www.iana.org/time-zones)

  • profile__last__namestring

    Last name of the account holder

  • profile__first__namestring

    First name of the account holder

  • profile__company__namestring

    Company name of the account holder

  • profile__company__websitestring

    Company website of the account holder

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • typestringObligatorioenum

    Type

    unlimitedrecurringnonrecurring
  • email_tostringObligatorioemail

    The email address the alert will be sent to. Example: test@example.com

  • frequencystring

    Required for stats_notification. How frequently the alert will be sent. Example: daily

  • percentageinteger

    Required for usage_limit. When this usage threshold is reached, the alert will be sent. Example: 90

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new event webhookSENDGRID_CREATE_A_NEW_EVENT_WEBHOOKAcción

Set up an event webhook by providing a url, choosing events for post requests, and receive a unique id. after creation, you can add names, oauth, and signature verification.

Parámetros de entrada

  • urlstringObligatorio

    Set this property to the URL where you want the Event Webhook to send event data.

  • openboolean

    Set 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.

  • clickboolean

    Set 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.

  • bounceboolean

    Set this property to `true` to receive bounce events. A bounce occurs when a receiving server could not or would not accept a message.

  • droppedboolean

    Set 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.

  • enabledboolean

    Set this property to `true` to enable the Event Webhook or `false` to disable it.

  • deferredboolean

    Set this property to `true` to receive deferred events. Deferred events occur when a recipient"s email server temporarily rejects a message.

  • deliveredboolean

    Set this property to `true` to receive delivered events. Delivered events occur when a message has been successfully delivered to the receiving server.

  • processedboolean

    Set 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_reportboolean

    Set this property to `true` to receive spam report events. Spam reports occur when recipients mark a message as spam.

  • unsubscribeboolean

    Set 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_namestring

    Optionally 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_idstring

    Set 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_urlstring

    Set 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_resubscribeboolean

    Set 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_unsubscribeboolean

    Set 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_secretstring

    Set 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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).

Parámetros de entrada

  • namestring

    The name of your suppression group. Required when creating a group.

  • is_defaultboolean

    Indicates if you would like this to be your default suppression group.

  • descriptionstring

    A brief description of your suppression group. Required when creating a group.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestringObligatorio

    Name of the transactional template version.

  • activeinteger

    Active

  • editorstringenum

    Editor

    codedesign
  • subjectstringObligatorio

    Subject of the new transactional template version.

  • test_datastring

    For dynamic templates only, the mock json data that will be used for template preview and test sends.

  • template_idstringObligatorio

    Template Id

  • html_contentstring

    The HTML content of the version. Maximum of 1048576 bytes allowed.

  • plain_contentstring

    Text/plain content of the transactional template version. Maximum of 1048576 bytes allowed.

  • generate_plain_contentboolean

    If true, plain_content is always generated from html_content. If false, plain_content is not altered.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an ip poolSENDGRID_CREATE_AN_IP_POOLAcción

Create an ip pool by activating an ip in sendgrid: log in, go to settings > ip addresses, edit selected ip, check to allow sending, and save.

Parámetros de entrada

  • namestringObligatorio

    The name of your new IP pool.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Creating an ip pool associates specified ips with it. all ips must be successfully assigned, or creation fails with an error. a pool can have up to 100 ips.

Parámetros de entrada

  • ipsstring[]

    An array of IP addresses to assign to the IP Pool. All assignments must succeed.

  • namestringObligatorio

    The name to assign to the IP Pool. An IP Pool name cannot begin with a space or period.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • enabledboolean

    Indicates if the certificate is enabled.

  • integration_idstringObligatorio

    An ID that matches a certificate to a specific IdP integration. This is the `id` returned by the "Get All SSO Integrations" endpoint.

  • public_certificatestringObligatorio

    This public certificate allows SendGrid to verify that SAML requests it receives are signed by an IdP that it recognizes.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestringObligatorio

    The name of your integration. This name can be anything that makes sense for your organization (eg. Twilio SendGrid)

  • enabledbooleanObligatorio

    Indicates if the integration is enabled.

  • entity_idstringObligatorio

    An 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_urlstringObligatorio

    The 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_urlstringObligatorio

    This 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_integrationboolean

    Indicates if the integration is complete.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an sso teammateSENDGRID_CREATE_AN_SSO_TEAMMATEAcción

Create an sso teammate with email as username. assign roles using `is admin`, `scopes`, or `persona`. admins have full rights, personas have predefined permissions, and scopes are specific rights. teammates can manage subusers with potential limitations.

Parámetros de entrada

  • emailstringObligatorioemail

    Set 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.

  • personastringenum

    Persona

    accountantdevelopermarketerobserver
  • is_adminboolean

    Set 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_namestringObligatorio

    Set this property to the Teammate"s last name.

  • first_namestringObligatorio

    Set 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_accessboolean

    Set 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a parse settingSENDGRID_CREATE_A_PARSE_SETTINGAcción

Create a new inbound parse setting with a twilio sendgrid authenticated `hostname` and a public `url` to receive parsed messages via http post. complete domain authentication and mx record setup as instructed in sendgrid documentation.

Parámetros de entrada

  • urlstring

    The 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.

  • hostnamestring

    A specific and unique domain or subdomain that you have created to use exclusively to parse your incoming email. For example, `parse.yourdomain.com`.

  • send_rawboolean

    Indicates 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_checkboolean

    Indicates 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create api keysSENDGRID_CREATE_API_KEYSAcción

Use sendgrid app to create an initial api key; then manage others via api. json with 'name' required; 100 key limit. keys have unique ids, default 'full access' unless scopes specified. update scopes with 'update api keys' endpoint.

Parámetros de entrada

  • namestringObligatorio

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a segmentSENDGRID_CREATE_A_SEGMENTAcción

New segment endpoint created: supports various operators for date, text, number, and email fields. values must be strings, can specify campaign for email actions. conditions combinable via "and"/"or".

Parámetros de entrada

  • namestringObligatorio

    The name of this segment.

  • list_idinteger

    The 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[]Obligatorio

    The conditions for a recipient to be included in this segment.

  • recipient_countinteger

    The count of recipients in this list. This is not included on creation of segments.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a senderSENDGRID_CREATE_A_SENDERAcción

This api endpoint is for creating new senders, with a limit of 100. verification is mandatory, either automatic upon domain authentication or via a confirmation email sent to the sender's address.

Parámetros de entrada

  • zipstring

    The zipcode of the Sender.

  • citystringObligatorio

    The city of the Sender.

  • statestring

    The state of the Sender.

  • addressstringObligatorio

    The physical address of the Sender.

  • countrystringObligatorio

    The country of the Sender.

  • nicknamestringObligatorio

    A nickname for the Sender. Not used for sending.

  • address_2string

    Additional Sender address information.

  • from__namestring

    The name appended to the from email field. Typically your name or company name.

  • from__emailstring

    The email address from which your recipient will receive emails.

  • reply__to__namestring

    The name appended to the reply to email field. Typically your name or company name.

  • reply__to__emailstring

    The email address to which your recipient will reply.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • zipstring

    The zipcode of the sender identity.

  • citystringObligatorio

    The city of the sender identity.

  • statestring

    The state of the sender identity.

  • addressstringObligatorio

    The physical address of the sender identity.

  • countrystringObligatorio

    The country of the sender identity.

  • nicknamestringObligatorio

    A nickname for the sender identity. Not used for sending.

  • address_2string

    Additional sender identity address information.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestringObligatorio

    The name for the new transactional template.

  • generationstringenum

    Generation

    legacydynamic

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create custom field definitionSENDGRID_CREATE_CUSTOM_FIELD_DEFINITIONAcción

Create unique case-insensitive custom fields with alphanumeric/underscore names starting with a letter/underscore. save the id for edits/deletes. limited to 500 fields of type date, text, or number. avoid starting with numbers to prevent campaign issues.

Parámetros de entrada

  • namestringObligatorio

    Name

  • field_typestringObligatorioenum

    Field Type

    TextNumberDate

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create designSENDGRID_CREATE_DESIGNAcción

Create new designs via `/designs` by submitting html content. consider email client limitations and see the guide for best practices. convert html to editable modules in the design library, or use preferred tools/migrate existing designs.

Parámetros de entrada

  • namestring

    The name of the new design.

  • editorstringenum

    Editor

    codedesign
  • html_contentstringObligatorio

    The HTML content of the Design.

  • plain_contentstring

    Plain text content of the Design.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

CreateintegrationSENDGRID_CREATE_INTEGRATIONAcción

This endpoint creates an integration for email event forwarding. each integration has a maximum number of allowed integration instances per user. for example, users can create up to 10 segment integrations.

Parámetros de entrada

  • labelstring

    The nickname for the Integration.

  • destinationstringObligatorioenum

    Destination

    Segment
  • filters__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__keystring

    The write key provided by the Segment Source you"d like to have events forwarded to. Must be between 6 and 51 characters.

  • properties__destination__regionstringenum

    Destination Region

    EUUS

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create listSENDGRID_CREATE_LISTAcción

This endpoint enables the creation of a new contacts list, which can automate email sending when new contacts are added. a link to the new list is provided in ` metadata`.

Parámetros de entrada

  • namestringObligatorio

    Your name for your list

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create segmentSENDGRID_CREATE_SEGMENTAcción

Segment `name` has to be unique. a user can not create a new segment with an existing segment name.

Parámetros de entrada

  • namestringObligatorio

    Name of the segment.

  • query_dslstringObligatorio

    SQL 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create single sendSENDGRID_CREATE_SINGLE_SENDAcción

The endpoint lets you create a single send draft without needing a template id; it now uses `email config`. a set `send at` doesn't schedule it; it must be done through another endpoint or ui.

Parámetros de entrada

  • namestringObligatorio

    The name of the Single Send.

  • send_atstringdate-time

    Set 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__allboolean

    Set 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__editorstringenum

    Editor

    codedesign
  • email__config__subjectstring

    The 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__poolstring

    The name of the IP Pool from which the Single Send emails are sent.

  • email__config__design__idstring

    A `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__idinteger

    The 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__contentstring

    The HTML content of the Single Send. Do not include this field when using a `design_id`.

  • email__config__plain__contentstring

    The plain text content of the Single Send. Do not include this field when using a `design_id`.

  • email__config__suppression__group__idinteger

    The ID of the Suppression Group to allow recipients to unsubscribe — you must provide this or the `custom_unsubscribe_url`.

  • email__config__custom__unsubscribe__urlstringuri

    The URL allowing recipients to unsubscribe — you must provide this or the `suppression_group_id`.

  • email__config__generate__plain__contentboolean

    If set to `true`, `plain_content` is always generated from `html_content`. If set to false, `plain_content` is not altered.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create subuserSENDGRID_CREATE_SUBUSERAcción

**this endpoint allows you to create a new subuser.**

Parámetros de entrada

  • ipsstring[]Obligatorio

    The IP addresses that should be assigned to this subuser.

  • emailstringObligatorioemail

    The email address of the subuser.

  • regionstringenum

    Region

    globaleu
  • passwordstringObligatorio

    The password this subuser will use when logging into SendGrid.

  • usernamestringObligatorio

    The username for this subuser.

  • include_regionboolean

    A 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create verified sender requestSENDGRID_CREATE_VERIFIED_SENDER_REQUESTAcción

This endpoint creates a new sender identity via `post`, sends a verification email to `from email`, and requires email verification. to resend, use `/resend/{id}`. for domain authentication, refer to the domain authentication api.

Parámetros de entrada

  • zipstring

    Zip

  • citystring

    City

  • statestring

    State

  • addressstring

    Address

  • countrystring

    Country

  • address2string

    Address2

  • nicknamestringObligatorio

    Nickname

  • reply_tostringObligatorioemail

    Reply To

  • from_namestring

    From Name

  • from_emailstringObligatorioemail

    From Email

  • reply_to_namestring

    Reply To Name

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This operation removes a batch of ips from an ip pool. all ips associated with the pool will be unassigned from the deleted pool. however, this operation does not remove the ips from your account.

Parámetros de entrada

  • ipsstring[]Obligatorio

    An array of IP addresses to remove from the specified IP Pool.

  • poolidstringObligatorio

    Specifies the unique ID for an IP Pool.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This operation removes a batch of subusers from a specified ip address.

Parámetros de entrada

  • ipstringObligatorio

    The `ip` path parameter specifies an IP address to make the request against.

  • subusersstring[]Obligatorio

    An array of Subuser IDs to be removed from the specified IP address.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The email address you would like to remove from the bounce list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a branded linkSENDGRID_DELETE_A_BRANDED_LINKAcción

Delete a branded link using this endpoint; successful deletion returns a 204 status. record link details beforehand as they're not provided. subuser deletions are possible with their id in the header.

Parámetros de entrada

  • idintegerObligatorio

    The ID of the branded link you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • campaign_idintegerObligatorio

    The id of the campaign you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • batch_idstringObligatorio

    Batch Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a contact identifierSENDGRID_DELETE_A_CONTACT_IDENTIFIERAcción

This endpoint asynchronously deletes an identifier (not the entire contact) from a contact, failing if it's their only one. allowed identifier types are email, phonenumberid, externalid, or anonymousid.

Parámetros de entrada

  • contact_idstringObligatorio

    Must be set to the `contact_id` of the contact you want to remove the identifier from.

  • identifier_typestringObligatorioenum

    Identifier Type

    EMAILPHONENUMBERIDEXTERNALIDANONYMOUSID
  • identifier_valuestringObligatorio

    The value of the identifier you want to remove from the contact.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • custom_field_idintegerObligatorio

    The ID of the custom field that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a global suppressionSENDGRID_DELETE_A_GLOBAL_SUPPRESSIONAcción

This endpoint removes an email from suppressions, allowing future emails to be sent to it. use with consent or bypass filters for one-off emails.

Parámetros de entrada

  • emailstringObligatorio

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • list_idintegerObligatorio

    List Id

  • delete_contactsboolean

    Adds the ability to delete all contacts on the list in addition to deleting the list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an accountSENDGRID_DELETE_AN_ACCOUNTAcción

To delete an organization's account by id: it revokes api keys/sso, removes sendgrid resources like dedicated ips, and stops billing immediately. this action is irreversible.

Parámetros de entrada

  • accountIDstringObligatorio

    Twilio SendGrid account ID

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an alertSENDGRID_DELETE_AN_ALERTAcción

**this endpoint allows you to delete an alert.**

Parámetros de entrada

  • alert_idintegerObligatorio

    The ID of the alert you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • domain_idstringObligatorio

    Domain Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • pool_namestringObligatorio

    The name of the IP pool that you want to retrieve the IP addresses for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • cert_idstringObligatorio

    Cert Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • hostnamestringObligatorio

    The hostname associated with the inbound parse setting that you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • api_key_idstringObligatorio

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • recipient_idstringObligatorio

    The ID of the recipient that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a reverse dns recordSENDGRID_DELETE_A_REVERSE_DNS_RECORDAcción

This 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

  • idstringObligatorio

    The ID of the reverse DNS record that you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • segment_idintegerObligatorio

    Segment Id

  • delete_contactsboolean

    True to delete all contacts matching the segment in addition to deleting the segment

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • idintegerObligatorio

    The unique identifier of the Sender.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • sender_idintegerObligatorio

    The ID of the sender identity that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a single event webhook by idSENDGRID_DELETE_A_SINGLE_EVENT_WEBHOOK_BY_IDAcción

Delete a specific event webhook by id with this endpoint. unlike other endpoints which default to the oldest webhook, this requires an id, else it errors to prevent accidental deletions. to disable, not delete, use `enabled` property to `false`.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Event Webhook you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • list_idintegerObligatorio

    The ID of the list that you want to add the recipient to.

  • recipient_idstringObligatorio

    The ID of the recipient you are adding to the list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The email address of the specific block.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The specific email address of the invalid email entry that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a specific spam reportSENDGRID_DELETE_A_SPECIFIC_SPAM_REPORTAcción

This endpoint removes a spam report for an email, lifting suppression and allowing email to be sent to that address. use with caution and recipient consent, or use bypass filters for exceptions.

Parámetros de entrada

  • emailstringObligatorio

    The email address of a specific spam report that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • subuser_namestringObligatorio

    The username of the Subuser.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a suppression from a suppression groupSENDGRID_DELETE_A_SUPPRESSION_FROM_A_SUPPRESSION_GROUPAcción

This endpoint removes an email from a suppression group, re-enabling email delivery unless specified otherwise, and should only be used when recipients opt back in.

Parámetros de entrada

  • emailstringObligatorio

    The email address that you want to remove from the suppression group.

  • group_idstringObligatorio

    The id of the suppression group that you are removing an email address from.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a suppression groupSENDGRID_DELETE_A_SUPPRESSION_GROUPAcción

This api endpoint deletes email suppression groups. deleted group members get globally suppressed if they unsubscribe. use with caution, only if recipients want to resubscribe. bypass filters available for exceptions.

Parámetros de entrada

  • group_idstringObligatorio

    The ID of the suppression group you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • template_idstringObligatorio

    Template Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • version_idstringObligatorio

    The ID of the template version

  • template_idstringObligatorio

    The ID of the original template

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete blocksSENDGRID_DELETE_BLOCKSAcción

This 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_allboolean

    Indicates if you want to delete all blocked email addresses.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete bouncesSENDGRID_DELETE_BOUNCESAcción

This api endpoint lets users delete bounced emails: either all by setting `delete all` to true, or specific ones by listing them in `emails`. do not use both options together.

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_allboolean

    This parameter allows you to delete **every** email in your bounce list. This should not be used with the emails parameter.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

DeletebulkintegrationSENDGRID_DELETE_BULK_INTEGRATIONAcción

This endpoint deletes integrations.

Parámetros de entrada

  • idsstring[]Obligatorio

    Comma-delimited Integration IDs for the Integrations to delete.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete contactsSENDGRID_DELETE_CONTACTSAcción

Use this endpoint to bulk delete contacts with `ids` as a list of ids or `delete all contacts` set to `"true"` for all. deletions are asynchronous. regularly export contacts as a backup.

Parámetros de entrada

  • idsstring

    A comma-separated list of contact IDs.

  • delete_all_contactsstring

    Must be set to `"true"` to delete all contacts.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • custom_field_idstringObligatorio

    Custom Field Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Design you want to duplicate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete invalid emailsSENDGRID_DELETE_INVALID_EMAILSAcción

This endpoint lets you delete email addresses from your invalid list; delete all by setting `delete all` to true, or specify individual addresses to remove.

Parámetros de entrada

  • emailsstring[]

    The list of specific email addresses that you want to remove.

  • delete_allboolean

    Indicates if you want to remove all email address from the invalid emails list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete ip poolSENDGRID_DELETE_IP_POOLAcción

This operation deletes an ip pool and unassigns all ip addresses associated with the pool. ip addresses associated with the deleted pool will remain in your account.

Parámetros de entrada

  • poolidstringObligatorio

    Specifies the unique ID for an IP Pool.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • tokenstringObligatorio

    The token for the invite you want to delete.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete segmentSENDGRID_DELETE_SEGMENTAcción

**this endpoint allows you to delete a segment by id.**

Parámetros de entrada

  • segment_idstringObligatorio

    Segment Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete single send by idSENDGRID_DELETE_SINGLE_SEND_BY_IDAcción

This endpoint lets you delete a single send with its id, which you can obtain by a get request to `/marketing/singlensends`. note: deletion is irreversible.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete single send scheduleSENDGRID_DELETE_SINGLE_SEND_SCHEDULEAcción

Cancel a scheduled single send by making a delete request with its id to the endpoint. this action doesn't delete the single send content, only stops the send-out.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete spam reportsSENDGRID_DELETE_SPAM_REPORTSAcción

This endpoint lets users delete spam reports, lifting email suppression for specified addresses. it's advised only when recipients want to resume emails. two deletion methods: 'delete all' or listing emails. use 'bypass filters' for exceptions.

Parámetros de entrada

  • emailsstring[]

    A list of specific email addresses that you want to remove from the spam report list.

  • delete_allboolean

    Indicates if you want to delete all email addresses on the spam report list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • usernamestringObligatorio

    The username of the teammate that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete verified senderSENDGRID_DELETE_VERIFIED_SENDERAcción

Use this endpoint with a sender identity's `id` to remove it from your account. find sender identity ids through the "get all verified senders" endpoint.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • request_idstringObligatorio

    The ID of the request that you want to deny.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Disassociate a branded link from a subuserSENDGRID_DISASSOCIATE_A_BRANDED_LINK_FROM_A_SUBUSERAcción

The 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

  • usernamestringObligatorio

    The username of the subuser account that you want to disassociate a branded link from.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Disassociate an authenticated domain from a given user.

Parámetros de entrada

  • usernamestring

    Username for the subuser to find associated authenticated domain.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Domain warn listSENDGRID_DOMAIN_WARN_LISTAcción

The endpoint provides a list of domains with dmarc, divided by how they fail (hard or soft). hard failures prevent mail delivery using those domains as sender identities. for more on dmarc, visit sendgrid's guide.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • download_uuidstringObligatorio

    UUID 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestring

    The name for the new transactional template.

  • template_idstringObligatorio

    Template Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Duplicate designSENDGRID_DUPLICATE_DESIGNAcción

This endpoint duplicates existing designs without requiring data in the request body. if you don't specify a `name`, it's labeled "duplicate:" plus the original's name, but you can set a new name upon creation. each copy gets a unique id.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Design you want to duplicate.

  • namestring

    The name of the new design.

  • editorstringenum

    Editor

    codedesign

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Duplicate sendgrid pre built designSENDGRID_DUPLICATE_SEND_GRID_PRE_BUILT_DESIGNAcción

The endpoint lets you duplicate twilio sendgrid pre-built designs without data. if unnamed, "duplicate:" precedes the original name. the copy gets a unique id, modifiable upon creation. use "list sendgrid pre-built designs" for ids.

Parámetros de entrada

  • idstringObligatorio

    The ID of the pre-built Design you want to duplicate.

  • namestring

    The name of the new design.

  • editorstringenum

    Editor

    codedesign

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Duplicate single sendSENDGRID_DUPLICATE_SINGLE_SENDAcción

This endpoint duplicates single sends using an id for easy creation, allowing edits via patch. duplicates are named as "copy of" the original, with a 100-character limit for names.

Parámetros de entrada

  • idstringObligatorio

    Id

  • namestring

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit an sso teammateSENDGRID_EDIT_AN_SSO_TEAMMATEAcción

This endpoint allows admin or parent users to adjust sso teammate permissions using 'is admin', 'scopes', or 'persona', and to control subuser access, including restrictions.

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.

  • personastringenum

    Persona

    accountantdevelopermarketerobserver
  • is_adminboolean

    Set 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.

  • usernamestringObligatorio

    Set this parameter to the Teammate"s email address. This address must be the same address assigned to the Teammate in your IdP.

  • last_namestringObligatorio

    Set this property to the Teammate"s last name.

  • first_namestringObligatorio

    Set 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_accessboolean

    Set 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit a transactional templateSENDGRID_EDIT_A_TRANSACTIONAL_TEMPLATEAcción

This 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

  • namestring

    The name of the transactional template.

  • template_idstringObligatorio

    Template Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestringObligatorio

    Name of the transactional template version.

  • activeinteger

    Active

  • editorstringenum

    Editor

    codedesign
  • subjectstringObligatorio

    Subject of the new transactional template version.

  • test_datastring

    For dynamic templates only, the mock json data that will be used for template preview and test sends.

  • version_idstringObligatorio

    The ID of the template version

  • template_idstringObligatorio

    The ID of the original template

  • html_contentstring

    The HTML content of the version. Maximum of 1048576 bytes allowed.

  • plain_contentstring

    Text/plain content of the transactional template version. Maximum of 1048576 bytes allowed.

  • generate_plain_contentboolean

    If true, plain_content is always generated from html_content. If false, plain_content is not altered.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edit verified senderSENDGRID_EDIT_VERIFIED_SENDERAcción

Update a sender identity by sending a `patch` request with the `id` and json-formatted changes. unchanged fields will stay the same. retrieve ids via `get` to `/verified senders`.

Parámetros de entrada

  • idstringObligatorio

    Id

  • zipstring

    Zip

  • citystring

    City

  • statestring

    State

  • addressstring

    Address

  • countrystring

    Country

  • address2string

    Address2

  • nicknamestringObligatorio

    Nickname

  • reply_tostringObligatorioemail

    Reply To

  • from_namestring

    From Name

  • from_emailstringObligatorioemail

    From Email

  • reply_to_namestring

    Reply To Name

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Email dns records to a co workerSENDGRID_EMAIL_DNS_RECORDS_TO_A_CO_WORKERAcción

Use sendgrid for domain validation and branding by sharing dns records—cname for automated security, or txt/mx otherwise. include `link id` for link branding and `domain id` for domain auth.

Parámetros de entrada

  • emailstringObligatorioemail

    The email address to send the DNS information to.

  • link_idintegerObligatorio

    The ID of the branded link.

  • messagestring

    A custom text block to include in the email body sent with the records.

  • domain_idintegerObligatorio

    The ID of your SendGrid domain record.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • disabledboolean

    Whether or not this subuser is disabled. `true` means disabled, `false` means enabled.

  • subuser_namestringObligatorio

    The username of the Subuser.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable disable website access for a subuserSENDGRID_ENABLE_DISABLE_WEBSITE_ACCESS_FOR_A_SUBUSERAcción

Enable/disable website access for a subuser, while still preserving email send functionality.

Parámetros de entrada

  • disabledboolean

    Whether or not to disable website access to the Subuser. `true` means disabled, `false` means enabled.

  • subuser_namestringObligatorio

    Subuser Name

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Erase recipients email dataSENDGRID_ERASE_RECIPIENTS_EMAIL_DATAAcción

Sendgrid's delete recipients' email data operation removes personal data of up to 5,000 unique email recipients or a 256kb payload per request. invalid emails return an error, and deletions are account-specific, not affecting subusers.

Parámetros de entrada

  • email_addressesstring[]Obligatorio

    List 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export contactsSENDGRID_EXPORT_CONTACTSAcción

Use the endpoint to export contact lists or segments by email, with notifications, or download as csvs using an 'id'. specify the data by id and choose json or csv output with a max file size option.

Parámetros de entrada

  • list_idsstring[]

    IDs of the contact lists you want to export.

  • file_typestringenum

    File Type

    csvjson
  • segment_idsstring[]

    IDs of the contact segments you want to export.

  • max_file_sizeinteger

    The 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__emailboolean

    Email

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export contacts statusSENDGRID_EXPORT_CONTACTS_STATUSAcción

Use this endpoint with an `id` from "export contacts" to check the status and get `urls` for downloading your csv contact export files. regular exports are recommended for backups.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export single send statsSENDGRID_EXPORT_SINGLE_SEND_STATSAcción

This endpoint exports single send stats in .csv format, allowing specification of multiple single sends by separating their ids with commas in the `ids` parameter.

Parámetros de entrada

  • idsstring[]

    The IDs of Single Sends for which to export stats.

  • timezonestring

    The [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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Filter all messagesSENDGRID_FILTER_ALL_MESSAGESAcción

Summarize email activity filtering: use url-encoded queries in the format `query={type}="{content}"` to search email activity. example: filter by email with `query=to email%3d"example@example.com"`. reference more at sendgrid query reference.

Parámetros de entrada

  • limitinteger

    The number of messages returned. This parameter must be greater than 0 and less than or equal to 1000

  • querystringObligatorio

    Use the query syntax to filter your email activity.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Filter messages by message idSENDGRID_FILTER_MESSAGES_BY_MESSAGE_IDAcción

Get all of the details about the specified message.

Parámetros de entrada

  • msg_idstringObligatorio

    The ID of the message you are requesting details for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

FiltersegmentsbyparentidsSENDGRID_FILTER_SEGMENTS_BY_PARENT_IDSAcción

Retrieve segments using `parent list ids` as a filter. an empty or unmatched query returns an empty result with a 200 code. filters combine `parent list ids` and the absence or presence of `no parent list id` with segment ids.

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_idsstring

    A 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_idboolean

    If 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get account offeringsSENDGRID_GET_ACCOUNT_OFFERINGSAcción

Retrieves offering information about the specified account.

Parámetros de entrada

  • accountIDstringObligatorio

    Twilio SendGrid account ID

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a list by idSENDGRID_GET_A_LIST_BY_IDAcción

This endpoint fetches detailed information on a list. using `contact sample=true` includes up to 50 recent contacts and the total contact count in the response.

Parámetros de entrada

  • idstringObligatorio

    The ID of the list on which you want to perform the operation.

  • contact_sampleboolean

    Setting this parameter to the true will cause the contact_sample to be returned

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Fetches your account's ip addresses with details such as pool association and warm-up status. 'is parent assigned' and 'pool' must be exclusive. pagination needs 'limit' and 'before key' or 'after key'.

Parámetros de entrada

  • ipstring

    Specifies an IP address. The `ip` query parameter can be used to filter results by IP address.

  • poolstring

    Specifies the unique ID for an IP Pool. When included, only IP addresses belonging to the specified Pool will be returned.

  • limitinteger

    Specifies 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.

  • regionstringenum

    Allowed 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.

    alleuus
  • after_keyinteger

    Specifies 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_leasedboolean

    Indicates 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_keystring

    Specifies 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_enabledboolean

    Indicates 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_atinteger

    The `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_regionboolean

    Boolean indicating whether or not to return the IP Pool"s region information in the response.

  • start_added_atinteger

    The `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_assignedboolean

    A 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

The api lists subuser ids with a specific ip, retrieves up to 100 per request, and iterates with `after key` for more. use [subusers api](https://docs.sendgrid.com/api-reference/subusers-api/list-all-subusers) for details.

Parámetros de entrada

  • ipstringObligatorio

    The `ip` path parameter specifies an IP address to make the request against.

  • limitinteger

    Specifies 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_keyinteger

    Specifies 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all accountsSENDGRID_GET_ALL_ACCOUNTSAcción

Retrieves all accounts under the organization.

Parámetros de entrada

  • limitinteger

    The number of items to return

  • offsetstring

    The last item successfully retrieved

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all automation statsSENDGRID_GET_ALL_AUTOMATION_STATSAcción

Retrieve all your automation stats by default or specify with 'automation ids'. results are paginated with customizable 'page size' (1-50, default 25) and 'page token' for specific pages.

Parámetros de entrada

  • page_sizeinteger

    The number of elements you want returned on each page.

  • page_tokenstring

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all available offeringsSENDGRID_GET_ALL_AVAILABLE_OFFERINGSAcción

Retrieves offerings available under the organization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all existing exportsSENDGRID_GET_ALL_EXISTING_EXPORTSAcción

This endpoint provides an array with details on active or completed export jobs. each object includes `export type`, `status`, and downloadable `urls` for ready exports. useful when export ids are unknown.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

The function lists your ip pools and samples up to 10 ips from each. for more ips per pool, use "get ips assigned to an ip pool." max of 100 ip pools per user.

Parámetros de entrada

  • ipstring

    Specifies an IP address. The `ip` query parameter can be used to filter results by IP address.

  • limitinteger

    Specifies 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.

  • regionstringenum

    Allowed 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.

    alleuus
  • after_keyinteger

    Specifies 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_regionboolean

    Boolean indicating whether or not to return the IP Pool"s region information in the response.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • page_sizeinteger

    Maximum number of elements to return. Defaults to 100, returns 1000 max

  • page_tokenstring

    Page Token

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all single sendsSENDGRID_GET_ALL_SINGLE_SENDSAcción

Retrieve a list of your single sends with brief details, including their ids. for in-depth information on a specific single send, use its id at the `/marketing/singlesends/{id}` endpoint.

Parámetros de entrada

  • page_sizeinteger

    Page Size

  • page_tokenstring

    Page Token

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all single sends statsSENDGRID_GET_ALL_SINGLE_SENDS_STATSAcción

Retrieve 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_sizeinteger

    The number of elements you want returned on each page.

  • page_tokenstring

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • integration_idstringObligatorio

    An ID that matches a certificate to a specific IdP integration.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • siboolean

    If this parameter is set to `true`, the response will include the `completed_integration` field.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all verified sendersSENDGRID_GET_ALL_VERIFIED_SENDERSAcción

Retrieve all sender identities (verified/unverified) for an account via an endpoint. customize results using `limit`, `lastseenid`, and `id` parameters to define the results scope.

Parámetros de entrada

  • idinteger

    Returns information about only the Sender Identity passed in the request.

  • limitinteger

    Specifies 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.

  • lastSeenIDinteger

    Returns 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an account s stateSENDGRID_GET_AN_ACCOUNT_S_STATEAcción

Retrieve the state of the specified account.

Parámetros de entrada

  • accountIDstringObligatorio

    Twilio SendGrid account ID

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • cert_idstringObligatorio

    Cert Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    Id

  • siboolean

    If this parameter is set to `true`, the response will include the `completed_integration` field.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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`.**

Parámetros de entrada

  • idintegerObligatorio

    The unique identifier of the Sender.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    The 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_sizeinteger

    The number of elements you want returned on each page.

  • page_tokenstring

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get automation stats by idSENDGRID_GET_AUTOMATION_STATS_BY_IDAcción

Retrieve detailed stats for a specific automation by id, with optional date and aggregation filters, or use another endpoint to get stats for multiple automations.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Automation for which you want to retrieve statistics.

  • end_datestring

    Format: `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_sizeinteger

    The number of elements you want returned on each page.

  • page_tokenstring

    The 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_datestring

    Format: `YYYY-MM-DD`. If this parameter is included, the stats" start date is included in the search.

  • aggregated_bystringenum

    Dictates how the stats are time-sliced. Currently, `"total"` and `"day"` are supported.

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get batched contacts by idsSENDGRID_GET_BATCHED_CONTACTS_BY_IDSAcción

This endpoint fetches multiple contacts using their ids, allowing up to 100 ids per request for efficiency over single `get` requests. regular export of contacts is advised for backup.

Parámetros de entrada

  • idsstring[]Obligatorio

    Ids

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get bounce class statsSENDGRID_GET_BOUNCE_CLASS_STATSAcción

This endpoint will return the number of bounces for the classification specified in descending order for each day. you can retrieve the bounce classification totals in csv format by specifying `"text/csv"` in the accept header.

Parámetros de entrada

  • end_datestring

    The end of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).

  • start_datestring

    The start of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).

  • classificationstringObligatorioenum

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get contacts by emailsSENDGRID_GET_CONTACTS_BY_EMAILSAcción

Endpoint retrieves up to 100 contacts by email, ignoring case/space; simpler than sgql's search. success returns `200`, `404` for no match, `400` for invalid emails. regular contact backups recommended.

Parámetros de entrada

  • emailsstring[]Obligatorio

    One or more primary and/or alternate email addresses to search for in your Marketing Campaigns contacts.

  • external_idstring

    The contact"s External ID.

  • anonymous_idstring

    The contact"s Anonymous ID.

  • phone_number_idstring

    The contact"s Phone Number ID. This is required to be a valid phone number.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get contacts by identifiersSENDGRID_GET_CONTACTS_BY_IDENTIFIERSAcción

Use the endpoint to fetch up to 100 contacts by identifiers (email, phone number, etc.). successful queries return 200, no results return 404, and errors return 400. regular backups are advised.

Parámetros de entrada

  • identifiersstring[]Obligatorio

    One or more more identifier values to search for in your Marketing Campaigns contacts.

  • identifier_typestringObligatorioenum

    The type of identifier to search for.

    emailphone_number_idexternal_idanonymous_id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get designSENDGRID_GET_DESIGNAcción

Access a specific design's details in your design library with a get request to `/designs/{id}`. this endpoint is useful for obtaining info to update via patch request.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Design you want to duplicate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get details for an ip addressSENDGRID_GET_DETAILS_FOR_AN_IP_ADDRESSAcción

The operation provides details for an ip address, such as its parent account status, warm-up settings, associated pools, add/modify dates, lease status, and enablement, excluding subuser info, which requires a different endpoint.

Parámetros de entrada

  • ipstringObligatorio

    The `ip` path parameter specifies an IP address to make the request against.

  • include_regionboolean

    Boolean indicating whether or not to return the IP Pool"s region information in the response.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get details for an ip poolSENDGRID_GET_DETAILS_FOR_AN_IP_POOLAcción

This operation retrieves details of an ip pool, such as name, id, some sample ips (up to 10), and the total ip count. for more ips, use "get ips assigned to an ip pool."

Parámetros de entrada

  • poolidstringObligatorio

    Specifies the unique ID for an IP Pool.

  • include_regionboolean

    Boolean indicating whether or not to return the IP Pool"s region information in the response.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get engagement quality scoresSENDGRID_GET_ENGAGEMENT_QUALITY_SCORESAcción

Retrieve your sendgrid engagement quality (seq) scores via api for a chosen date range. get a `200` response for available scores, or a `202` if scores haven't been calculated yet. scores range from 1 to 5, higher indicating better engagement.

Parámetros de entrada

  • tostringObligatorio

    The ending date in YYYY-MM-DD format (UTC) for which you want to retrieve scores.

  • fromstringObligatorio

    The starting date in YYYY-MM-DD format (UTC) for which you want to retrieve scores.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • group_idstringObligatorio

    The ID of the suppression group you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

GetintegrationSENDGRID_GET_INTEGRATIONAcción

This endpoint returns the data for a specific integration.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Integration you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ips assigned to an ip poolSENDGRID_GET_IPS_ASSIGNED_TO_AN_IP_POOLAcción

This operation returns the ip addresses that are assigned to the specified ip pool.

Parámetros de entrada

  • limitinteger

    Specifies 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.

  • poolidstringObligatorio

    Specifies the unique ID for an IP Pool.

  • after_keyinteger

    Specifies 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_regionboolean

    Boolean indicating whether or not to return the IP Pool"s region information in the response.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get list of segmentsSENDGRID_GET_LIST_OF_SEGMENTSAcción

The api endpoint retrieves segments, using `parent list ids` to filter results. if no matches are found, a 200 code with an empty array is returned. filters include list ids, absence of parent ids, or specific segment ids.

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_idsstring

    A 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_idboolean

    If 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get open tracking settingsSENDGRID_GET_OPEN_TRACKING_SETTINGSAcción

The endpoint retrieves settings for tracking email opens using an invisible image. it logs open events when images load, with data available in sendgrid's statistics portal and event webhook.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get sample contactsSENDGRID_GET_SAMPLE_CONTACTSAcción

The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get segment by idSENDGRID_GET_SEGMENT_BY_IDAcción

Get marketing campaigns segment by id

Parámetros de entrada

  • segment_idstringObligatorio

    Segment Id

  • contacts_sampleboolean

    Defaults to `true`. Set to `false` to exclude the contacts_sample in the response.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get sendgrid pre built designSENDGRID_GET_SEND_GRID_PRE_BUILT_DESIGNAcción

The endpoint `/designs/pre-builts/{id}` is used to fetch details about a particular pre-built design for duplication and modification.

Parámetros de entrada

  • idstringObligatorio

    The ID of the pre-built Design you want to duplicate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get signed event webhook s public keySENDGRID_GET_SIGNED_EVENT_WEBHOOK_S_PUBLIC_KEYAcción

Retrieve a webhook's public key using its id via this endpoint; if no id is given, the oldest key is returned. useful for signature verification and toggling signature settings. multiple ids can be found using the "get all event webhooks" endpoint.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Event Webhook you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    The 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_sizeinteger

    The number of elements you want returned on each page.

  • page_tokenstring

    The 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_idstringenum

    Ab Phase Id

    testsend
  • ab_variation_idstring

    Ab Variation Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get single sends searchSENDGRID_GET_SINGLE_SENDS_SEARCHAcción

Search 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

  • namestring

    leading and trailing wildcard search on name of the Single Send

  • statusstring[]

    current status of the Single Send

  • page_sizeinteger

    Page Size

  • categoriesstring[]

    categories to associate with this Single Send, match any single send that has at least one of the categories

  • page_tokenstring

    Page Token

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get single send stats by idSENDGRID_GET_SINGLE_SEND_STATS_BY_IDAcción

Retrieve individual single send stats using its id. for multiple ids, use "get all single sends stats". filter results by date or refine with `group by` and `aggregated by` parameters.

Parámetros de entrada

  • idstringObligatorio

    The ID of Single Send for which you want to retrieve stats.

  • end_datestring

    Format: `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_sizeinteger

    The number of elements you want returned on each page.

  • page_tokenstring

    The 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_datestring

    Format: `YYYY-MM-DD`. If this parameter is included, the stats" start date is included in the search.

  • aggregated_bystringenum

    Dictates how the stats are time-sliced. Currently, `"total"` and `"day"` are supported.

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get subuser monthly statsSENDGRID_GET_SUBUSER_MONTHLY_STATSAcción

Retrieve monthly email stats for subusers with `sort by metric`, excluding sorts by `bounce drops`, `deferred`, `invalid emails`, `processed`, `spam report drops`, `spam reports`, `unsubscribe drops`.

Parámetros de entrada

  • datestringObligatorio

    The date of the month to retrieve statistics for. Must be formatted YYYY-MM-DD

  • limitinteger

    Optional field to limit the number of results returned.

  • offsetinteger

    Optional beginning point in the list to retrieve from.

  • subuser_namestringObligatorio

    The username of the Subuser.

  • sort_by_metricstring

    The 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_directionstringenum

    The direction you want to sort.

    descasc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get subusers engagement quality scoresSENDGRID_GET_SUBUSERS_ENGAGEMENT_QUALITY_SCORESAcción

Retrieve seq scores for sendgrid subusers/accounts on a specific date; expect ‘200’ with scores or ‘202’ if unavailable yet, possibly accessible later. scores range from 1-5, with higher numbers indicating better engagement.

Parámetros de entrada

  • datestringObligatorio

    The date in YYYY-MM-DD format (UTC) for which you want to retrieve a SendGrid Engagement Quality score.

  • limitinteger

    Specifies 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_keyinteger

    Specifies 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get suppression groupsSENDGRID_GET_SUPPRESSION_GROUPSAcción

This endpoint provides a list of user-created suppression groups and can return info for multiple groups when their ids are added to the request with `?id=123456`.

Parámetros de entrada

  • idinteger

    The ID of the suppression group(s) you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get teammate subuser accessSENDGRID_GET_TEAMMATE_SUBUSER_ACCESSAcción

Retrieve subusers accessible to a specified teammate, with available scopes. admin teammates get access to all subusers.

Parámetros de entrada

  • limitinteger

    Limit the number of Subusers to be returned. The default `limit` is `100` per request.

  • usernamestring

    A Subuser"s username that will be used to filter the returned result.

  • teammate_namestringObligatorio

    The username of the Teammate for whom you want to retrieve Subuser access information.

  • after_subuser_idinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • subuser_namestringObligatorio

    The username of the Subuser.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the default authenticationSENDGRID_GET_THE_DEFAULT_AUTHENTICATIONAcción

This endpoint fetches the default domain authentication, used for sending all mail unless overridden by a 'from' address match. it provides domain details if a default is set; otherwise, it gives general authentication info.

Parámetros de entrada

  • domainstring

    The domain to find a default authentication.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Retrieve an event webhook by id to get settings, event types, and url details. without id, the oldest is returned. signatures and oauth webhooks have extra properties. use another endpoint for multiple webhook ids.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Event Webhook you want to retrieve.

  • includestring

    Use 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve a list of scopes for which this user has accessSENDGRID_GET_USER_SCOPESAcción

Retrieve a list of scopes for which this user has access

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import contactsSENDGRID_IMPORT_CONTACTSAcción

The endpoint permits async csv uploads for up to 1m contacts or 5gb with specified identifiers and file type, supports gzip, field mappings, uses job id for tracking, and recommends regular backups.

Parámetros de entrada

  • list_idsstring[]

    All contacts will be added to each of the specified lists.

  • file_typestringObligatorioenum

    File Type

    csv
  • field_mappingsstring[]Obligatorio

    Import file header to reserved/custom field mapping.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import contacts statusSENDGRID_IMPORT_CONTACTS_STATUSAcción

Check the status of contact import jobs using `job id` via this endpoint. it shows if the job is pending, completed, errored, or failed. for errors, download the `errors url` file. regular contact exports are advised for backup.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Invite teammateSENDGRID_INVITE_TEAMMATEAcción

Invite teammates to your account through email with this endpoint, assigning initial permissions via the `scopes` array. invites expire after 7 days but can be resent.

Parámetros de entrada

  • emailstringObligatorio

    New teammate"s email

  • scopesstring[]Obligatorio

    Set to specify list of scopes that teammate should have. Should be empty if teammate is an admin.

  • is_adminboolean

    Set to true if teammate should be an admin user

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all authenticated domainsSENDGRID_LIST_ALL_AUTHENTICATED_DOMAINSAcción

Retrieve authenticated domain lists in pages using the `limit` parameter for page size and `offset` to start from specific list positions. multiple requests handle large lists.

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.

  • domainstring

    Search for authenticated domains.

  • offsetinteger

    The 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.

  • usernamestring

    The username associated with an authenticated domain.

  • exclude_subusersboolean

    Exclude subuser domains from the result.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all subusersSENDGRID_LIST_ALL_SUBUSERSAcción

Retrieve a paginated list of subusers with filtering options. use `username` to filter, `limit` to set page size, and `offset` to navigate through the list.

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.

  • offsetinteger

    The 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.

  • regionstringenum

    Filter 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`.

    allglobaleu
  • usernamestring

    The username of this subuser.

  • include_regionboolean

    Optional 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List api keysSENDGRID_LIST_API_KEYSAcción

Retrieve user's api key names and ids with this endpoint; keys themself cannot be retrieved for security. lost keys require recreation. use 'api key id' to manage keys.

Parámetros de entrada

  • limitinteger

    Limit

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List designsSENDGRID_LIST_DESIGNSAcción

The `/designs` endpoint fetches a list of user's stored designs, restricted to 100 per request by default but adjustable with `page size`. pre-built designs are at `/designs/pre-builts`.

Parámetros de entrada

  • summaryboolean

    set to false to return all fields

  • page_sizeinteger

    number of results to return

  • page_tokenstring

    token corresponding to a specific page of results, as provided by metadata

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

ListintegrationSENDGRID_LIST_INTEGRATIONAcción

This endpoint returns all the integrations for the user making this call.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List sendgrid pre built designsSENDGRID_LIST_SEND_GRID_PRE_BUILT_DESIGNSAcción

The `designs/pre-builts` endpoint fetches a list of twilio sendgrid's ready-made designs, not user-specific ones, with 100 results per request by default, adjustable with `page size`. useful for duplicating and editing design ids.

Parámetros de entrada

  • summaryboolean

    set to false to return all fields

  • page_sizeinteger

    number of results to return

  • page_tokenstring

    token corresponding to a specific page of results, as provided by metadata

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List the authenticated domain associated with the given userSENDGRID_LIST_USER_AUTH_DOMAINSAcción

Parent accounts can link validated domains to subusers through an endpoint, allowing subusers to email from those domains. the api supports multiple domain associations and listings.

Parámetros de entrada

  • usernamestringObligatorio

    Username for the subuser to find associated authenticated domain.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Manually refresh a segmentSENDGRID_MANUALLY_REFRESH_A_SEGMENTAcción

Manually refresh a segment by segment id.

Parámetros de entrada

  • segment_idstringObligatorio

    Segment Id

  • user_time_zonestringObligatorio

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Presigned url headers for bulk email validationSENDGRID_PRESIGNED_URL_HEADERS_FOR_BULK_EMAIL_VALIDATIONAcción

Get a presigned url and headers to upload an email list for verification. ensure the 'content-type' matches 'file type' in the 'put' request. visit the bulk validation overview page for format and sample request.

Parámetros de entrada

  • file_typestringObligatorioenum

    File Type

    csvjson

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • ipstringObligatorio

    The IP address that you wish to remove.

  • pool_namestringObligatorio

    The name of the IP pool that you are removing the IP address from.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • idintegerObligatorio

    ID of the domain to delete the IP from.

  • ipstringObligatorio

    IP to remove from the domain.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This endpoint lets you delete an allowed ip address using its id, obtainable via the "retrieve allowed ips" endpoint.

Parámetros de entrada

  • rule_idstringObligatorio

    The ID of the allowed IP address that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    The ID of the list on which you want to perform the operation.

  • contact_idsstringObligatorio

    Comma separated list of contact IDs that you want to remove from the specified contacts list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    The ID of the list on which you want to perform the operation.

  • delete_contactsboolean

    Flag indicates that all contacts on the list are also to be deleted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This endpoint lets you remove ips from your allowed list by sending an array of their ids, obtained from another endpoint. carefully select ips to avoid blocking your account access. if blocked, submit a support ticket.

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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove segment without affecting contactsSENDGRID_REMOVE_SEGMENT_WITHOUT_AFFECTING_CONTACTSAcción

This endpoint permits the deletion of a segment using `segment id`, but associated contacts remain in the overall list and any other segments they're part of.

Parámetros de entrada

  • segment_idstringObligatorio

    Segment Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestring

    The new name for your IP pool.

  • pool_namestringObligatorio

    The name of the IP pool that you want to retrieve the IP addresses for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request csvSENDGRID_REQUEST_CSVAcción

Initiating a backend process creates a csv file of up to 1 million events from the last 30 days, emailed to the user with a 3-day expiry link. limited to one request per 12 hours, it's similar to the get single message but for csv downloads.

Parámetros de entrada

  • querystring

    Uses a SQL like syntax to indicate which messages to include in the CSV

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • idintegerObligatorio

    The unique identifier of the Sender.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • sender_idintegerObligatorio

    The ID of the sender identity for which you would like to resend a verification email.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • tokenstringObligatorio

    The token for the invite that you want to resend.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resend verified sender requestSENDGRID_RESEND_VERIFIED_SENDER_REQUESTAcción

This endpoint resends a verification email to a sender identity's 'from address' by using the 'id' of the sender. useful if the original email is lost or needs to be resent. retrieve ids via "get all verified senders" endpoint.

Parámetros de entrada

  • idstringObligatorio

    Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The email address of the specific bounce you would like to retrieve

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idintegerObligatorio

    The ID of the branded link you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve access requestsSENDGRID_RETRIEVE_ACCESS_REQUESTSAcción

Retrieve 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.

  • offsetinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • custom_field_idintegerObligatorio

    The ID of the custom field that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve address whitelist mail settingsSENDGRID_RETRIEVE_ADDRESS_WHITELIST_MAIL_SETTINGSAcción

This 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve a global suppressionSENDGRID_RETRIEVE_A_GLOBAL_SUPPRESSIONAcción

This endpoint retrieves global email suppressions and confirms if an email is suppressed. if suppressed, the email is returned in the response; if not, an empty json object is returned.

Parámetros de entrada

  • emailstringObligatorio

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve a list of currently allowed ipsSENDGRID_RETRIEVE_A_LIST_OF_CURRENTLY_ALLOWED_IPSAcción

This 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all assigned ipsSENDGRID_RETRIEVE_ALL_ASSIGNED_IPSAcción

This api endpoint retrieves assigned ip addresses used to send emails for various domains, where the ip's reputation is influenced by the collective performance of all sending users.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all blocksSENDGRID_RETRIEVE_ALL_BLOCKSAcción

Retrieve a paginated list of blocked emails using this endpoint, with adjustable page sizes via the 'limit' parameter and starting points with 'offset' for multiple requests.

Parámetros de entrada

  • emailstring

    Specifies 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.

  • offsetinteger

    The 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_timeinteger

    The end of the time range when a blocked email was created (inclusive). This is a unix timestamp.

  • start_timeinteger

    The start of the time range when a blocked email was created (inclusive). This is a unix timestamp.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all bouncesSENDGRID_RETRIEVE_ALL_BOUNCESAcción

This endpoint retrieves a paginated list of all your bounces, allowing customization of page size with `limit` and starting position with `offset` for multiple requests.

Parámetros de entrada

  • emailstring

    Specifies 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.

  • offsetinteger

    The 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_timeinteger

    Refers end of the time range in unix timestamp when a bounce was created (inclusive).

  • start_timeinteger

    Refers start of the time range in unix timestamp when a bounce was created (inclusive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • limitinteger

    Limits the number of results returned per page.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all campaignsSENDGRID_RETRIEVE_ALL_CAMPAIGNSAcción

Retrieve a paginated list of campaigns in reverse creation order with the api endpoint. if none exist, get an empty array. adjust page size with `limit`, and fetch more with `offset`.

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.

  • offsetinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all categoriesSENDGRID_RETRIEVE_ALL_CATEGORIESAcción

This endpoint provides a paginated list of user categories, with adjustable page size using the `limit` and pagination control using `offset`. multiple requests are needed for large lists.

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.

  • offsetinteger

    The 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.

  • categorystring

    Allows you to perform a prefix search on this particular category.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all global suppressionsSENDGRID_RETRIEVE_ALL_GLOBAL_SUPPRESSIONSAcción

Retrieve paginated lists of globally suppressed emails using `limit` for page size and `offset` to start from a specific list position. multiple requests may be needed for large lists.

Parámetros de entrada

  • emailstring

    Specifies 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.

  • offsetinteger

    The 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_timeinteger

    Refers end of the time range in unix timestamp when an unsubscribe email was created (inclusive).

  • start_timeinteger

    Refers start of the time range in unix timestamp when an unsubscribe email was created (inclusive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all invalid emailsSENDGRID_RETRIEVE_ALL_INVALID_EMAILSAcción

Retrieve 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

  • emailstring

    This 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.

  • offsetinteger

    The 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_timeinteger

    Refers end of the time range in unix timestamp when an invalid email was created (inclusive).

  • start_timeinteger

    Refers start of the time range in unix timestamp when an invalid email was created (inclusive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all ip addressesSENDGRID_RETRIEVE_ALL_IP_ADDRESSESAcción

Retrieve a paginated list of assigned/unassigned ips with warmup status, pools, subusers, and dns info. ip reputation is based on email traffic. use `limit` and `offset` parameters to control pagination.

Parámetros de entrada

  • ipstring

    The 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.

  • offsetinteger

    The 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.

  • subuserstring

    The subuser you are requesting for.

  • sort_by_directionstringenum

    The direction to sort the results.

    descasc
  • exclude_whitelabelsboolean

    Should we exclude reverse DNS records (whitelabels)?

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This endpoint checks which ip pools contain a specific ip, which may be shared across multiple ip pools and affect the ip's reputation based on collective usage for email sending.

Parámetros de entrada

  • ip_addressstringObligatorio

    The IP address you are retrieving the IP pools for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all mail settingsSENDGRID_RETRIEVE_ALL_MAIL_SETTINGSAcción

Retrieve a paginated list of mail settings with their `enabled` status and descriptions. control page size with `limit` and list position with `offset` for multiple requests.

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.

  • offsetinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all of your event webhooksSENDGRID_RETRIEVE_ALL_OF_YOUR_EVENT_WEBHOOKSAcción

The endpoint fetches all event webhooks as objects in an array, showing each webhook's configuration and id, used to update, delete, or manage signature verification and oauth settings.

Parámetros de entrada

  • includestring

    Use 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • limitinteger

    Limits the number of IPs to return.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • pageinteger

    Page index of first recipient to return (must be a positive integer)

  • list_idintegerObligatorio

    The id of the list of recipients you want to retrieve.

  • page_sizeinteger

    Number of recipients to return at a time (must be a positive integer between 1 and 1000)

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all reverse dns recordsSENDGRID_RETRIEVE_ALL_REVERSE_DNS_RECORDSAcción

The 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

  • ipstring

    The 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.

  • offsetinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all scheduled sendsSENDGRID_RETRIEVE_ALL_SCHEDULED_SENDSAcción

The endpoint provides details of cancelled or paused scheduled sends but only if they have a `batch id`. sends scheduled without a `batch id` via `/mail/send` won't be listed and can't be paused or cancelled later through this endpoint.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all spam reportsSENDGRID_RETRIEVE_ALL_SPAM_REPORTSAcción

Retrieve 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

  • emailstring

    Specifies 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.

  • offsetinteger

    The 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_timeinteger

    The end of the time range when a spam report was created (inclusive). This is a unix timestamp.

  • start_timeinteger

    The start of the time range when a spam report was created (inclusive). This is a unix timestamp.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Retrieve all suppression groups for an email address

Parámetros de entrada

  • emailstringObligatorio

    The email address that you want to search suppression groups for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • group_idstringObligatorio

    The id of the unsubscribe group that you are adding suppressions to.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all teammatesSENDGRID_RETRIEVE_ALL_TEAMMATESAcción

Retrieve a paginated list of teammates with the `limit` parameter to set page size and `offset` to specify the starting point for additional items. make multiple requests if needed.

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.

  • offsetinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • pool_namestringObligatorio

    The name of the IP pool that you want to retrieve the IP addresses for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • domain_idstringObligatorio

    Domain Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve an existing api keySENDGRID_RETRIEVE_AN_EXISTING_API_KEYAcción

Retrieve an api key's details with its id via this endpoint. nonexistent keys yield a 404 error. key scopes can be modified later. refer to the documentation for scope details.

Parámetros de entrada

  • api_key_idstringObligatorio

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    The ID of the reverse DNS record that you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • segment_idintegerObligatorio

    Segment Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • campaign_idintegerObligatorio

    The id of the campaign you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • list_idintegerObligatorio

    List Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • recipient_idstringObligatorio

    The ID of the recipient that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • template_idstringObligatorio

    Template Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • alert_idintegerObligatorio

    The ID of the alert you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve a specific allowed ipSENDGRID_RETRIEVE_A_SPECIFIC_ALLOWED_IPAcción

This 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_idstringObligatorio

    The ID of the allowed IP address that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The email address of the specific block.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The specific email address of the invalid email entry that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • hostnamestringObligatorio

    The hostname associated with the inbound parse setting that you would like to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The email address of a specific spam report that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • version_idstringObligatorio

    The ID of the template version

  • template_idstringObligatorio

    The ID of the original template

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve a subuser s branded linkSENDGRID_RETRIEVE_A_SUBUSER_S_BRANDED_LINKAcción

Retrieve 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

  • usernamestringObligatorio

    The username of the subuser to retrieve associated branded links for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve bounce classification totalsSENDGRID_RETRIEVE_BOUNCE_CLASSIFICATION_TOTALSAcción

This endpoint will return the total number of bounces by classification in descending order for each day. you can retrieve the bounce classification totals in csv format by specifying `"text/csv"` in the accept header.

Parámetros de entrada

  • end_datestring

    The end of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).

  • start_datestring

    The start of the time range, in YYYY-MM-DD format, when a bounce was created (inclusive).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve bounce purge mail settingsSENDGRID_RETRIEVE_BOUNCE_PURGE_MAIL_SETTINGSAcción

Retrieve 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve click track settingsSENDGRID_RETRIEVE_CLICK_TRACK_SETTINGSAcción

This endpoint retrieves your click tracking settings in sendgrid which tracks user engagement by redirecting and monitoring clicks on up to 1000 links per email.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve current enforced tls settingsSENDGRID_RETRIEVE_CURRENT_ENFORCED_TLS_SETTINGSAcción

This endpoint retrieves enforced tls settings that mandate recipients to support tls 1.1+ or have a valid certificate. if not met, messages are dropped with a "tls required but not supported" block event.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve email statistics by browserSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_BROWSERAcción

Retrieve email stats by browser with advanced stats api, storing 7 days of data, and defaulting to 500 items per request. segment by location, device, and more. visit provided link for details.

Parámetros de entrada

  • limitinteger

    The number of results to return.

  • offsetinteger

    The point in the list to begin retrieving results.

  • browsersstring

    The browsers to get statistics for. You can include up to 10 different browsers by including this parameter multiple times.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve email statistics by client typeSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_CLIENT_TYPEAcción

Retrieve email stats by client type with endpoint; stats stored for 7 days, 500 items per request. advanced stats offer detailed insights, segmentable by location, device, and more. visit the provided link for details.

Parámetros de entrada

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Retrieve email statistics by country and state/province.

Parámetros de entrada

  • limitinteger

    The number of results to return.

  • offsetinteger

    The point in the list to begin retrieving results.

  • countrystringenum

    The country you would like to see statistics for. Currently only supported for US and CA.

    USCA
  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve email statistics by device typeSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_DEVICE_TYPEAcción

Retrieve email stats by device type with a 7-day data retention limit. the advanced stats api returns 500 items per request. device types include desktop, webmail, phone, tablet, and other. more analytics available at sendgrid's statistics overview.

Parámetros de entrada

  • limitinteger

    The number of results to return.

  • offsetinteger

    The point in the list to begin retrieving results.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve email statistics by mailbox providerSENDGRID_RETRIEVE_EMAIL_STATISTICS_BY_MAILBOX_PROVIDERAcción

Retrieve email stats by provider with advanced stats api, displaying details like location and device. only 7 days of data stored, 500 items per request. more info at sendgrid's statistics overview.

Parámetros de entrada

  • limitinteger

    The number of results to return.

  • offsetinteger

    The point in the list to begin retrieving results.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth
  • mailbox_providersstring

    The mail box providers to get statistics for. You can include up to 10 by including this parameter multiple times.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • categoriesstringObligatorio

    The individual categories that you want to retrieve statistics for. You may include up to 10 different categories.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • limitinteger

    Limits the number of results returned per page.

  • offsetinteger

    The point in the list to begin retrieving results from.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today.

  • subusersstringObligatorio

    The subuser you want to retrieve statistics for. You may include this parameter up to 10 times to retrieve statistics for multiple subusers.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve footer mail settingsSENDGRID_RETRIEVE_FOOTER_MAIL_SETTINGSAcción

Retrieve 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve forward bounce mail settingsSENDGRID_RETRIEVE_FORWARD_BOUNCE_MAIL_SETTINGSAcción

This 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve forward spam mail settingsSENDGRID_RETRIEVE_FORWARD_SPAM_MAIL_SETTINGSAcción

This 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve global email statisticsSENDGRID_RETRIEVE_GLOBAL_EMAIL_STATISTICSAcción

Retrieve your global email stats within a specific date range, with parent accounts viewing their own or a subuser's aggregated data via the `on-behalf-of` header, while subusers see only their stats.

Parámetros de entrada

  • limitinteger

    The number of results to return.

  • offsetinteger

    The point in the list to begin retrieving results.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve google analytics settingsSENDGRID_RETRIEVE_GOOGLE_ANALYTICS_SETTINGSAcción

Retrieve your google analytics settings, which are set to google's recommended defaults, to understand user site activity. for details, use google's guides and best practices links.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve legacy template mail settingsSENDGRID_RETRIEVE_LEGACY_TEMPLATE_MAIL_SETTINGSAcción

The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve monthly stats for all subusersSENDGRID_RETRIEVE_MONTHLY_STATS_FOR_ALL_SUBUSERSAcción

Retrieve monthly subuser email stats for a date range but can't sort by metrics like bounce drops, deferred, invalid emails, processed, spam reports, or unsubscribe drops.

Parámetros de entrada

  • datestringObligatorio

    The date of the month to retrieve statistics for. Must be formatted YYYY-MM-DD

  • limitinteger

    Optional field to limit the number of results returned.

  • offsetinteger

    Optional beginning point in the list to retrieve from.

  • subuserstring

    A substring search of your subusers.

  • sort_by_metricstringenum

    The 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_opensunsubscribes
  • sort_by_directionstringenum

    The direction you want to sort.

    descasc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • page_sizeintegerObligatorio

    The number of templates to be returned in each page of results

  • page_tokenstring

    A token corresponding to a specific page of results, as provided by metadata

  • generationsstringenum

    Comma-delimited list specifying which generations of templates to return. Options are `legacy`, `dynamic` or `legacy,dynamic`.

    legacydynamiclegacy,dynamic

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve recipientsSENDGRID_RETRIEVE_RECIPIENTSAcción

Retrieve all marketing campaign recipients via this endpoint. use batch deletion carefully, as it may lead to empty pages. continue iterating pages until a 404 error occurs to ensure complete retrieval.

Parámetros de entrada

  • pageinteger

    Page index of first recipients to return (must be a positive integer)

  • page_sizeinteger

    Number of recipients to return at a time (must be a positive integer between 1 and 1000)

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • pageinteger

    Page

  • page_sizeinteger

    Page Size

  • segment_idintegerObligatorio

    The ID of the segment from which you want to retrieve recipients.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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`.**

Parámetros de entrada

  • batch_idstringObligatorio

    Batch Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieves inbound parse webhook statisticsSENDGRID_RETRIEVES_INBOUND_PARSE_WEBHOOK_STATISTICSAcción

Sendgrid's inbound parse webhook parses incoming emails, up to 30mb, and posts to a specified url, with available integrations listed in their library index.

Parámetros de entrada

  • limitstring

    The number of statistics to return on each page.

  • offsetstring

    The number of statistics to skip.

  • end_datestring

    The end date of the statistics you want to retrieve. Must be in the format YYYY-MM-DD

  • start_datestringObligatorio

    The starting date of the statistics you want to retrieve. Must be in the format YYYY-MM-DD

  • aggregated_bystringenum

    How you would like the statistics to by grouped.

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • query_jsonboolean

    Defaults to `false`. Set to `true` to return the parsed SQL AST as a JSON object in the field `query_json`

  • segment_idstringObligatorio

    Segment Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • usernamestringObligatorio

    The username of the teammate that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve stats by a specific client typeSENDGRID_RETRIEVE_STATS_BY_A_SPECIFIC_CLIENT_TYPEAcción

Use advanced stats api to get email statistics by client type (e.g., phone, desktop), offering location and device details. data storage is limited to 7 days with up to 500 items per request. see statistics overview for further information.

Parámetros de entrada

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • client_typestringObligatorioenum

    Specifies the type of client to retrieve stats for. Must be either "phone", "tablet", "webmail", or "desktop".

    phonetabletwebmaildesktop
  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve subuser reputationsSENDGRID_RETRIEVE_SUBUSER_REPUTATIONSAcción

This 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

  • usernamesstring

    Usernames

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • limitinteger

    Limits the number of results returned.

  • offsetinteger

    The point in the list to begin retrieving results.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystringenum

    How to group the statistics. Must be either "day", "week", or "month".

    dayweekmonth
  • sort_by_metricstring

    The metric that you want to sort by. Must be a single metric.

  • sort_by_directionstringenum

    The direction you want to sort.

    descasc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve the count of billable recipientsSENDGRID_RETRIEVE_THE_COUNT_OF_BILLABLE_RECIPIENTSAcción

This 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve the default branded linkSENDGRID_RETRIEVE_THE_DEFAULT_BRANDED_LINKAcción

The endpoint retrieves the default branded link for message sending, prioritizing user-set default, legacy, or sendgrid's default links. subuser requests are possible with id in the header.

Parámetros de entrada

  • domainstring

    The domain to match against when finding the default branded link.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • recipient_idstringObligatorio

    The ID of the recipient for whom you are retrieving lists.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

Retrieve the warmup status for a specific ip address

Parámetros de entrada

  • ip_addressstringObligatorio

    The IP address that you want to retrieve the warmup status for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve user s authenticated domainsSENDGRID_RETRIEVE_USER_S_AUTHENTICATED_DOMAINSAcción

The api endpoint allows subusers to fetch up to five domains verified by the main account for sending emails, with a defined order of domain selection.

Parámetros de entrada

  • usernamestringObligatorio

    Username for the subuser to find associated authenticated domains.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve your credit balanceSENDGRID_RETRIEVE_YOUR_CREDIT_BALANCEAcción

This 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Returns a list of all partner settingsSENDGRID_RETURNS_A_LIST_OF_ALL_PARTNER_SETTINGSAcción

Retrieve a paginated list of partner settings using the `limit` to set page size and `offset` to specify the starting point for additional items. multiple requests may be needed for long lists.

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.

  • offsetinteger

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Schedule a campaignSENDGRID_SCHEDULE_A_CAMPAIGNAcción

This endpoint schedules campaign emails for a specific time, recommending off-peak times like 10:53 instead of on the hour to minimize server deferrals and enhance delivery rates.

Parámetros de entrada

  • send_atintegerObligatorio

    The unix timestamp for the date and time you would like your campaign to be sent out.

  • campaign_idintegerObligatorio

    Campaign Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Schedule single sendSENDGRID_SCHEDULE_SINGLE_SENDAcción

Use this endpoint to send a message right away by setting `send at` to `now`, or schedule it by specifying a future time in iso 8601 format (`yyyy-mm-ddthh:mm:ssz`).

Parámetros de entrada

  • idstringObligatorio

    Id

  • send_atstringObligatoriodate-time

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search contactsSENDGRID_SEARCH_CONTACTSAcción

Find contacts using this endpoint with a body containing a `query` in sgql. searches must use lowercase, and only the first 50 matches are returned. queries over 20s will timeout. dates are in iso format, not unix timestamps.

Parámetros de entrada

  • querystringObligatorio

    An SGQL search string or other pattern.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • group_idstringObligatorio

    The ID of the suppression group that you would like to search.

  • recipient_emailsstring[]Obligatorio

    The array of email addresses to add or find.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search recipientsSENDGRID_SEARCH_RECIPIENTSAcción

This endpoint searches marketing campaigns recipients. variable 'field name' represents custom text fields (url-encoded) or date fields (by unix timestamp) and auto-converts epoch time for 'reserved' date fields to a full day range.

Parámetros de entrada

  • field__namestring

    Field Name

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Segment json data by specific criteriaSENDGRID_SEGMENT_JSON_DATA_BY_SPECIFIC_CRITERIAAcción

Search json data for segments by specifying criteria for dates, text, and campaign ids using operators and boolean logic. optional list ids can refine results. used for email metrics.

Parámetros de entrada

  • list_idintegerObligatorio

    List Id

  • conditionsobject[]Obligatorio

    The conditions by which this segment should be created.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • campaign_idintegerObligatorio

    Campaign Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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"]

Parámetros de entrada

  • tostringObligatorioemail

    The email address that should receive the test campaign.

  • campaign_idintegerObligatorio

    Campaign Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send a test marketing emailSENDGRID_SEND_A_TEST_MARKETING_EMAILAcción

Use the endpoint to test marketing emails with a `template id` and up to 10 contacts. requires a `from address` or `sender id`. supports only dynamic transactional templates. manage with sendgrid app or api.

Parámetros de entrada

  • emailsstring[]Obligatorio

    An array of email addresses you want to send the test message to.

  • sender_idinteger

    This ID must belong to a verified sender. Alternatively, you may supply a `from_address` email.

  • template_idstringObligatoriouuid

    The 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_addressstringemail

    You can either specify this address or specify a verified sender ID.

  • version_id_overridestringuuid

    You 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_idinteger

    Suppression Group Id

  • custom_unsubscribe_urlstring

    A custom unsubscribe URL.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Send email with twilio sendgridSENDGRID_SEND_EMAIL_WITH_TWILIO_SEND_GRIDAcción

The mail send operation uses sendgrid's v3 api to send emails. visit the provided link for an overview, features, limitations, quickstarts, and helper libraries.

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_atinteger

    A [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.

  • subjectstring

    The 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_idstring

    An 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__namestring

    A 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_argsstring

    Values 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__emailstringemail

    The 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_idstring

    An 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_namestring

    The 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__idinteger

    The 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__namestring

    A name or title associated with the email address such as "Alex".

  • personalizationsobject[]Obligatorio

    An 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__emailstringemail

    An 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__htmlstring

    The HTML content of your footer.

  • mail__settings__footer__textstring

    The plain text content of your footer.

  • mail__settings__footer__enableboolean

    Indicates if this setting is enabled.

  • mail__settings__sandbox__mode__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__ganalytics__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__ganalytics__utm__termstring

    Used to identify any paid keywords.

  • tracking__settings__open__tracking__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__click__tracking__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__ganalytics__utm__mediumstring

    Name of the marketing medium. (e.g., Email)

  • tracking__settings__ganalytics__utm__sourcestring

    Name of the referrer source. (e.g., Google, SomeDomain.com, or Marketing Email)

  • tracking__settings__ganalytics__utm__contentstring

    Used to differentiate your campaign from advertisements.

  • tracking__settings__ganalytics__utm__campaignstring

    The name of the campaign.

  • mail__settings__bypass__list__management__enableboolean

    Indicates if this setting is enabled.

  • mail__settings__bypass__spam__management__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__subscription__tracking__htmlstring

    HTML to be appended to the email with the subscription tracking link.

  • tracking__settings__subscription__tracking__textstring

    Text to be appended to the email with the subscription tracking link.

  • tracking__settings__click__tracking__enable__textboolean

    Indicates if this setting should be included in the `text/plain` portion of your email.

  • mail__settings__bypass__bounce__management__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__subscription__tracking__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__open__tracking__substitution__tagstring

    Allows 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__enableboolean

    Indicates if this setting is enabled.

  • tracking__settings__subscription__tracking__substitution__tagstring

    A 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • ipstringObligatorio

    The IP address for which you want to set up reverse DNS.

  • domainstringObligatorio

    The root, or sending, domain that will be used to send message from the IP address.

  • subdomainstring

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Singlesend csv stats retrievalSENDGRID_SINGLE_SEND_CSV_STATS_RETRIEVALAcción

Export single send stats in .csv format by specifying one or multiple single send ids in the `ids` query string, separated by commas. data is returned as plain text in .csv for flexible use or saving.

Parámetros de entrada

  • idsstring[]

    The IDs of Single Sends for which to export stats.

  • timezonestring

    The [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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • ipstring

    The IP address that you want to begin warming up.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Stop warming up an ip addressSENDGRID_STOP_WARMING_UP_AN_IP_ADDRESSAcción

This endpoint removes an ip from warmup mode, returning a 204 code if successful. for warmup status details prior to removal, use the "retrieve warmup status" endpoint.

Parámetros de entrada

  • ip_addressstringObligatorio

    The IP address that you want to retrieve the warmup status for.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • limitinteger

    Limits the number of results returned per page.

  • offsetinteger

    The point in the list to begin retrieving results from.

  • end_datestring

    The end date of the statistics to retrieve. Defaults to today. Must follow format YYYY-MM-DD.

  • start_datestringObligatorio

    The starting date of the statistics to retrieve. Must follow format YYYY-MM-DD.

  • aggregated_bystring

    How to group the statistics. Defaults to today. Must follow format YYYY-MM-DD.

  • sort_by_metricstring

    The metric that you want to sort by. Must be a single metric.

  • sort_by_directionstringenum

    The direction you want to sort.

    descasc

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Test an event webhook s settingsSENDGRID_TEST_AN_EVENT_WEBHOOK_S_SETTINGSAcción

The endpoint tests event webhooks by sending a fake event to your url. it has unique retry logic and requires specific oauth properties to test oauth configurations. saved credentials can be retrieved except for `oauth client secret`.

Parámetros de entrada

  • idstring

    The ID of the Event Webhook you want to retrieve.

  • urlstringObligatorio

    The URL where you would like the test notification to be sent.

  • oauth_client_idstring

    The 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_urlstring

    The 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_secretstring

    The `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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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ón

This request returns a single bulk email validation job

Parámetros de entrada

  • job_idstringObligatorio

    The ID of the Bulk Email Address Validation Job you wish to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Toggle signature verification for a single event webhook by idSENDGRID_TOGGLE_WEBHOOK_SIGNATUREAcción

Toggle signature verification for a single event webhook by id

Parámetros de entrada

  • idstringObligatorio

    The ID of the Event Webhook you want to retrieve.

  • enabledbooleanObligatorio

    Enable or disable the webhook by setting this property to `true` or `false`, respectively.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Unlink subuser domainSENDGRID_UNLINK_SUBUSER_DOMAINAcción

The 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

  • usernamestring

    Username for the subuser to find associated authenticated domain.

  • domain_idintegerObligatorio

    ID of the authenticated domain to be disassociated with the subuser.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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).

Parámetros de entrada

  • campaign_idintegerObligatorio

    Campaign Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idintegerObligatorio

    The ID of the branded link you want to retrieve.

  • defaultboolean

    Default

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • titlestringObligatorio

    The title of the campaign.

  • subjectstringObligatorio

    The subject line for your campaign.

  • categoriesstring[]Obligatorio

    The categories you want to tag on this campaign.

  • campaign_idintegerObligatorio

    The id of the campaign you would like to retrieve.

  • html_contentstringObligatorio

    The HTML content of this campaign.

  • plain_contentstringObligatorio

    The plain content of this campaign.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update account offeringsSENDGRID_UPDATE_ACCOUNT_OFFERINGSAcción

Updates an account's package and attaches optional add-ons like marketing campaigns, dedicated ips, and expert services. note: accounts are limited to one package.

Parámetros de entrada

  • accountIDstringObligatorio

    Twilio SendGrid account ID

  • offeringsobject[]Obligatorio

    List of offerings to assign to account.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update address whitelist mail settingsSENDGRID_UPDATE_ADDRESS_WHITELIST_MAIL_SETTINGSAcción

Update email whitelist settings by toggling `enabled`. use `list` to replace entries - include all desired. exclude generic domains for can-spam compliance; whitelist bypasses bounces/unsubscribes for included contacts.

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.

  • enabledboolean

    Indicates if your email address whitelist is enabled.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestringObligatorio

    The new name for your list.

  • list_idintegerObligatorio

    List Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an account s stateSENDGRID_UPDATE_AN_ACCOUNT_S_STATEAcción

Update the state of the specified account.

Parámetros de entrada

  • statestringObligatorioenum

    State

    activateddeactivated
  • accountIDstringObligatorio

    Twilio SendGrid account ID

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an alertSENDGRID_UPDATE_AN_ALERTAcción

**this endpoint allows you to update an alert.**

Parámetros de entrada

  • alert_idintegerObligatorio

    The ID of the alert you would like to retrieve.

  • email_tostring

    The new email address you want your alert to be sent to. Example: test@example.com

  • frequencystring

    The new frequency at which to send the stats_notification alert. Example: monthly

  • percentageinteger

    The new percentage threshold at which the usage_limit alert will be sent. Example: 90

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • defaultboolean

    Indicates whether this is the default authenticated domain.

  • domain_idstringObligatorio

    Domain Id

  • custom_spfboolean

    Indicates whether to generate a custom SPF record for manual security.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an ip pool nameSENDGRID_UPDATE_AN_IP_POOL_NAMEAcción

This operation will rename an ip pool. an ip pool name cannot start with a dot/period (.) or space.

Parámetros de entrada

  • namestringObligatorio

    The name to assign to the IP Pool. An IP Pool name cannot begin with a space or period.

  • poolidstringObligatorio

    Specifies the unique ID for an IP Pool.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idstringObligatorio

    Id

  • siboolean

    If this parameter is set to `true`, the response will include the `completed_integration` field.

  • namestringObligatorio

    The name of your integration. This name can be anything that makes sense for your organization (eg. Twilio SendGrid)

  • enabledbooleanObligatorio

    Indicates if the integration is enabled.

  • entity_idstringObligatorio

    An 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_urlstringObligatorio

    The 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_urlstringObligatorio

    This 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_integrationboolean

    Indicates if the integration is complete.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • urlstring

    The 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.

  • hostnamestringObligatorio

    A specific and unique domain or subdomain that you have created to use exclusively to parse your incoming email. For example, `parse.yourdomain.com`.

  • send_rawboolean

    Indicates 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_checkboolean

    Indicates 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • namestringObligatorio

    The new name of the API Key.

  • api_key_idstringObligatorio

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update api key name and scopesSENDGRID_UPDATE_API_KEY_NAME_AND_SCOPESAcción

Update an api key's name and/or scopes using json with a `name` field and `scopes` array. to change only scopes, reuse the existing name. for just a name update, use another endpoint. see the permissions list for scope options. (https://docs.sendgrid.com)

Parámetros de entrada

  • namestringObligatorio

    Name

  • scopesstring[]

    Scopes

  • api_key_idstringObligatorio

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • send_atintegerObligatorio

    Send At

  • campaign_idintegerObligatorio

    Campaign Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a scheduled sendSENDGRID_UPDATE_A_SCHEDULED_SENDAcción

Use this endpoint to change the status of a scheduled send by batch id. status updates fail with a 400 error if previously set with the cancel/pause endpoint.

Parámetros de entrada

  • statusstringObligatorioenum

    Status

    cancelpause
  • batch_idstringObligatorio

    Batch Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a segmentSENDGRID_UPDATE_A_SEGMENTAcción

**this endpoint allows you to update a segment.**

Parámetros de entrada

  • namestringObligatorio

    Name

  • list_idinteger

    The list ID you would like this segment to be built from.

  • conditionsobject[]

    The conditions by which this segment should be created.

  • segment_idintegerObligatorio

    Segment Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a senderSENDGRID_UPDATE_A_SENDERAcción

This endpoint updates an existing sender. changes to `from.email` need re-verification. if domain authenticated, new senders auto verify; else, verification email sent. partial updates can be made, but "required" fields in a `patch` must not be empty.

Parámetros de entrada

  • idintegerObligatorio

    The unique identifier of the Sender.

  • zipstring

    The zipcode of the Sender.

  • citystring

    The city of the Sender.

  • statestring

    The state of the Sender.

  • addressstring

    The physical address of the Sender.

  • countrystring

    The country of the Sender.

  • nicknamestring

    A nickname for the Sender. Not used for sending.

  • address_2string

    Additional Sender address information.

  • from__namestring

    The name appended to the from email field. Typically your name or company name.

  • from__emailstring

    The email address from which your recipient will receive emails.

  • reply__to__namestring

    The name appended to the reply to email field. Typically your name or company name.

  • reply__to__emailstring

    The email address to which your recipient will reply.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a sender identitySENDGRID_UPDATE_A_SENDER_IDENTITYAcción

This api endpoint enables updates to sender identities. changing `from.email` necessitates re-verification. partial updates are valid, but "required" fields must not be empty in patch requests.

Parámetros de entrada

  • zipstring

    The zipcode of the sender identity.

  • citystring

    The city of the sender identity.

  • statestring

    The state of the sender identity.

  • addressstring

    The physical address of the sender identity.

  • countrystring

    The country of the sender identity.

  • nicknamestring

    A nickname for the sender identity. Not used for sending.

  • address_2string

    Additional sender identity address information.

  • sender_idintegerObligatorio

    The ID of the sender identity that you want to retrieve.

  • from__namestring

    The name appended to the from email field. Typically your name or company name.

  • from__emailstring

    The email address from which your recipient will receive emails.

  • reply__to__namestring

    The name appended to the reply to email field. Typically your name or company name.

  • reply__to__emailstring

    The email address to which your recipient will reply.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a single event webhook by idSENDGRID_UPDATE_A_SINGLE_EVENT_WEBHOOK_BY_IDAcción

Update event webhooks by id with this endpoint or without id to update the oldest one. enable or disable, set url, choose event types, give friendly names, and configure oauth. for signature verification, use a different endpoint.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Event Webhook you want to retrieve.

  • urlstringObligatorio

    Set this property to the URL where you want the Event Webhook to send event data.

  • openboolean

    Set 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.

  • clickboolean

    Set 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.

  • bounceboolean

    Set this property to `true` to receive bounce events. A bounce occurs when a receiving server could not or would not accept a message.

  • droppedboolean

    Set 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.

  • enabledboolean

    Set this property to `true` to enable the Event Webhook or `false` to disable it.

  • includestring

    Use 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.

  • deferredboolean

    Set this property to `true` to receive deferred events. Deferred events occur when a recipient"s email server temporarily rejects a message.

  • deliveredboolean

    Set this property to `true` to receive delivered events. Delivered events occur when a message has been successfully delivered to the receiving server.

  • processedboolean

    Set 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_reportboolean

    Set this property to `true` to receive spam report events. Spam reports occur when recipients mark a message as spam.

  • unsubscribeboolean

    Set 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_namestring

    Optionally 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_idstring

    Set 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_urlstring

    Set 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_resubscribeboolean

    Set 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_unsubscribeboolean

    Set 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_secretstring

    Set 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • namestring

    The name of your suppression group. Required when creating a group.

  • group_idstringObligatorio

    The ID of the suppression group you would like to retrieve.

  • is_defaultboolean

    Indicates if you would like this to be your default suppression group.

  • descriptionstring

    A brief description of your suppression group. Required when creating a group.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • zipstring

    The zip code for this user.

  • citystring

    The city for the user profile.

  • phonestring

    The phone number for the user.

  • statestring

    The state for this user.

  • addressstring

    The street address for this user profile.

  • companystring

    That company that this user profile is associated with.

  • countrystring

    Th country of this user profile.

  • websitestring

    The website associated with this user.

  • address2string

    An optional second line for the street address of this user profile.

  • last_namestring

    The last name of the user.

  • first_namestring

    The first name of the user.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update bounce purge mail settingsSENDGRID_UPDATE_BOUNCE_PURGE_MAIL_SETTINGSAcción

Update your bounce settings with twilio sendgrid to automatically delete contacts from suppression lists based on a set schedule in full days for both soft and hard email bounces. manage settings via their app or api.

Parámetros de entrada

  • enabledboolean

    Indicates if the bounce purge mail setting is enabled.

  • hard_bouncesinteger

    The number of days after which SendGrid will purge all contacts from your hard bounces suppression lists.

  • soft_bouncesinteger

    The number of days after which SendGrid will purge all contacts from your soft bounces suppression lists.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update click tracking settingsSENDGRID_UPDATE_CLICK_TRACKING_SETTINGSAcción

This endpoint configures click tracking for emails, redirecting links through sendgrid or branded domains for engagement analysis, with a limit of 1000 links per email.

Parámetros de entrada

  • enabledboolean

    The setting you want to use for click tracking.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • namestringObligatorio

    Name

  • custom_field_idstringObligatorio

    Custom Field Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update designSENDGRID_UPDATE_DESIGNAcción

The 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

  • idstringObligatorio

    The ID of the Design you want to duplicate.

  • namestring

    Name of the Design.

  • subjectstring

    Subject of the Design.

  • categoriesstring[]

    The list of categories applied to the design

  • html_contentstring

    The HTML content of the Design.

  • plain_contentstring

    Plain text content of the Design.

  • generate_plain_contentboolean

    If true, plain_content is always generated from html_content. If false, plain_content is not altered.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update details for an ip addressSENDGRID_UPDATE_DETAILS_FOR_AN_IP_ADDRESSAcción

The operation modifies an ip address's settings, such as auto warm-up status, parent account assignment, and active status. the request must have one of `is auto warmup`, `is parent assigned`, or `is enabled`.

Parámetros de entrada

  • ipstringObligatorio

    The `ip` path parameter specifies an IP address to make the request against.

  • is_enabledboolean

    Indicates 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_warmupboolean

    Indicates if the IP address is set to automatically [warmup](https://docs.sendgrid.com/ui/sending-email/warming-up-an-ip-address).

  • is_parent_assignedboolean

    Indicates if a parent on the account is able to send email from the IP address.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update enforced tls settingsSENDGRID_UPDATE_ENFORCED_TLS_SETTINGSAcción

Update tls settings through the endpoint by setting 'require tls' to 'true' for compulsory tls 1.1+ and valid certificates with recipients. messages without tls are blocked with a specific event notice.

Parámetros de entrada

  • versioninteger

    Version

  • require_tlsboolean

    Indicates if you want to require your recipients to support TLS.

  • require_valid_certboolean

    Indicates if you want to require your recipients to have a valid certificate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update footer mail settingsSENDGRID_UPDATE_FOOTER_MAIL_SETTINGSAcción

This 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

  • enabledboolean

    Indicates if the Footer mail setting is currently enabled.

  • html_contentstring

    The custom HTML content of your email footer.

  • plain_contentstring

    The plain text content of your email footer.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update forward bounce mail settingsSENDGRID_UPDATE_FORWARD_BOUNCE_MAIL_SETTINGSAcción

This endpoint updates bounce forwarding mail settings, allowing users to set an email for bounce report forwards and configure spam mail forwarding in twilio sendgrid app.

Parámetros de entrada

  • emailstring

    The email address that you would like your bounce reports forwarded to.

  • enabledboolean

    Indicates if the bounce forwarding mail setting is enabled.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update forward spam mail settingsSENDGRID_UPDATE_FORWARD_SPAM_MAIL_SETTINGSAcción

Activate forward spam to send spam reports to specified emails; supports multiple addresses and authenticating domains to receive abuse/postmaster mails. configure via twilio sendgrid app.

Parámetros de entrada

  • emailstring

    The email address where you would like the spam reports to be forwarded.

  • enabledboolean

    Indicates if the Forward Spam setting is enabled.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update google analytics settingsSENDGRID_UPDATE_GOOGLE_ANALYTICS_SETTINGSAcción

Update your google analytics settings to track user activity on your site more effectively; defaults follow google's recommendations. for guidance, visit google's url builder and campaign building best practices.

Parámetros de entrada

  • enabledboolean

    Indicates if Google Analytics is enabled.

  • utm_termstring

    Any paid keywords.

  • utm_mediumstring

    Name of the marketing medium (e.g. "Email").

  • utm_sourcestring

    Name of the referrer source.

  • utm_contentstring

    Used to differentiate ads

  • utm_campaignstring

    The name of the campaign.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

UpdateintegrationSENDGRID_UPDATE_INTEGRATIONAcción

This endpoint updates an existing integration.

Parámetros de entrada

  • idstringObligatorio

    The ID of the Integration you would like to update.

  • labelstring

    The nickname for the Integration.

  • destinationstringenum

    Destination

    Segment
  • filters__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__keystring

    The write key provided by the Segment Source you"d like to have events forwarded to. Must be between 6 and 51 characters.

  • properties__destination__regionstringenum

    Destination Region

    EUUS

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update listSENDGRID_UPDATE_LISTAcción

**this endpoint updates the name of a list.**

Parámetros de entrada

  • idstringObligatorio

    The ID of the list on which you want to perform the operation.

  • namestring

    Your name for your list.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update open tracking settingsSENDGRID_UPDATE_OPEN_TRACKING_SETTINGSAcción

Update your email settings to enable open tracking with sendgrid, which uses an invisible image to log email opens in various reports if the recipient allows images.

Parámetros de entrada

  • enabledboolean

    The new status that you want to set for open tracking.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update segmentSENDGRID_UPDATE_SEGMENTAcción

Segment `name` has to be unique. a user can not create a new segment with an existing segment name.

Parámetros de entrada

  • namestring

    Name of the segment.

  • query_dslstring

    SQL query which will filter contacts based on the conditions provided

  • segment_idstringObligatorio

    Segment Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update single sendSENDGRID_UPDATE_SINGLE_SENDAcción

Update single send drafts using its id via this endpoint; only changed properties are affected. the 'send at' property sets a date but doesn't schedule it; use schedule single send endpoint or ui to schedule.

Parámetros de entrada

  • idstringObligatorio

    Id

  • namestringObligatorio

    The name of the Single Send.

  • send_atstringdate-time

    Set 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__allboolean

    Set 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__editorstringenum

    Editor

    codedesign
  • email__config__subjectstring

    The 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__poolstring

    The name of the IP Pool from which the Single Send emails are sent.

  • email__config__design__idstring

    A `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__idinteger

    The 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__contentstring

    The HTML content of the Single Send. Do not include this field when using a `design_id`.

  • email__config__plain__contentstring

    The plain text content of the Single Send. Do not include this field when using a `design_id`.

  • email__config__suppression__group__idinteger

    The ID of the Suppression Group to allow recipients to unsubscribe — you must provide this or the `custom_unsubscribe_url`.

  • email__config__custom__unsubscribe__urlstringuri

    The URL allowing recipients to unsubscribe — you must provide this or the `suppression_group_id`.

  • email__config__generate__plain__contentboolean

    If set to `true`, `plain_content` is always generated from `html_content`. If set to false, `plain_content` is not altered.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • cert_idstringObligatorio

    Cert Id

  • enabledboolean

    Indicates whether or not the certificate is enabled.

  • integration_idstring

    An ID that matches a certificate to a specific IdP integration.

  • public_certificatestring

    This public certificate allows SendGrid to verify that SAML requests it receives are signed by an IdP that it recognizes.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • urlstringuri

    The URL where you would like your users sent to unsubscribe.

  • enabledboolean

    Indicates if subscription tracking is enabled.

  • landingstring

    The HTML that will be displayed on the page that your customers will see after clicking unsubscribe, hosted on SendGrid’s server.

  • replacestring

    Your custom defined replacement tag for your templates. Use this tag to place your unsubscribe content anywhere in your emailtemplate.

  • html_contentstring

    The information and HTML for your unsubscribe link.

  • plain_contentstring

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update teammate s permissionsSENDGRID_UPDATE_TEAMMATE_S_PERMISSIONSAcción

This endpoint updates teammate permissions: set `is admin` to `true` for admin rights, otherwise to `false` with relevant scopes. only parent users or admins can modify these settings, and admin users are limited to permission changes.

Parámetros de entrada

  • scopesstring[]Obligatorio

    Provide list of scopes that should be given to teammate. If specifying list of scopes, is_admin should be set to False.

  • is_adminbooleanObligatorio

    Set to True if this teammate should be promoted to an admin user. If True, scopes should be an empty array.

  • usernamestringObligatorio

    The username of the teammate that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update template mail settingsSENDGRID_UPDATE_TEMPLATE_MAIL_SETTINGSAcción

The endpoint updates legacy email templates, replaced by more advanced dynamic transactional templates. legacy templates are html-wrapped email content useful for marketing. guidance is available for using and migrating from legacy templates.

Parámetros de entrada

  • enabledboolean

    Indicates if you want to enable the legacy email template mail setting.

  • html_contentstring

    The new HTML content for your legacy email template.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • typestringObligatorioenum

    Type

    unlimitedrecurringnonrecurring
  • totalinteger

    Total 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_namestringObligatorio

    The username of the Subuser.

  • reset_frequencystringenum

    Reset Frequency

    monthlyweeklydaily

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • subuser_namestringObligatorio

    The username of the Subuser.

  • allocation_updateintegerObligatorio

    The 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

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstring

    The new email address that you would like to use for your account.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update your passwordSENDGRID_UPDATE_YOUR_PASSWORDAcción

**this endpoint allows you to update your password.**

Parámetros de entrada

  • new_passwordstringObligatorio

    The new password you would like to use for your account.

  • old_passwordstringObligatorio

    The old password for your account.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • usernamestring

    The new username you would like to use for your account.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate a batch idSENDGRID_VALIDATE_A_BATCH_IDAcción

Validate a mail batch id to get a `200` status code for a valid one, or a `400` code for an invalid. a valid id simply means it's created, not necessarily assigned to a send.

Parámetros de entrada

  • batch_idstringObligatorio

    Set this parameter to the batch ID that"s associated with the mail send you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • idintegerObligatorio

    The ID of the branded link that you want to validate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • idintegerObligatorio

    ID of the domain to validate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • emailstringObligatorio

    The email address that you want to validate.

  • sourcestring

    A one-word classifier for where this validation originated.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate a reverse dns recordSENDGRID_VALIDATE_A_REVERSE_DNS_RECORDAcción

Endpoint checks reverse dns record validity via `valid` in `validation results.a record`. if `false`, it's undetermined, not necessarily invalid. check `reason` for explanation. retrieve ids with "retrieve all reverse dns records" endpoint.

Parámetros de entrada

  • idstringObligatorio

    The ID of the reverse DNS record that you would like to validate.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.

Parámetros de entrada

  • tokenstringObligatorio

    Token

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • sender_idintegerObligatorio

    The ID of the sender identity that you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether 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.**

Parámetros de entrada

  • campaign_idintegerObligatorio

    Campaign Id

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not