action sendgrid_get_mail_settings_bounce_purge { label: "Retrieve bounce purge mail settings" description: "**This endpoint allows you to retrieve your current bounce and purge settings.**\n\nThe Bounce Perge setting allows you to set a schedule that Twilio SendGrid will use to automatically delete contacts from your soft and hard bounce suppression lists.\n\nA hard bounce occurs when an email message has been returned to the sender because the recipient's address is invalid. A hard bounce might occur because the domain name doesn't exist or because the recipient is unknown.\n\nA soft bounce occurs when an email message reaches the recipient's mail server but is bounced back undelivered before it actually reaches the recipient. A soft bounce might occur because the recipient's inbox is full.\n\nYou can also manage this setting in the [Mail Settings section of the Twilio SendGrid App](https://app.sendgrid.com/settings/mail_settings). You can manage your bounces manually using the [Bounces API](https://sendgrid.api-docs.io/v3.0/bounces-api) or the [Bounces menu in the Twilio SendGrid App](https://app.sendgrid.com/suppressions/bounces)." provider: sendgrid method: GET path: "/mail_settings/bounce_purge" encoding: json output: { type: "object" properties: { enabled: { type: "boolean" description: "Indicates if the bounce purge mail setting is enabled." } hard_bounces: { type: "integer" description: "The number of days after which SendGrid will purge all contacts from your hard bounces suppression lists." } soft_bounces: { type: "integer" description: "The number of days after which SendGrid will purge all contacts from your soft bounces suppression lists." } } } }