-
public final class WebhookBouncePayloadBOUNCE webhook payload. Sent to your webhook url endpoint via HTTP POST when an email bounced or was rejected by a recipient. Save the recipients to a ban list on your server and avoid emailing them again. It is recommended you also listen to the BOUNCE_RECIPIENT payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumWebhookBouncePayload.EventNameName of the event type webhook is being triggered for. Values: eMAILRECEIVED,nEWEMAIL,nEWCONTACT,nEWATTACHMENT,eMAILOPENED,eMAILREAD,bOUNCE,bOUNCERECIPIENT,nEWSMS
-
Field Summary
Fields Modifier and Type Field Description private final StringmessageIdprivate final UUIDwebhookIdprivate final WebhookBouncePayload.EventNameeventNameprivate final UUIDbounceIdprivate final Stringsenderprivate final StringwebhookNameprivate final List<String>sentToRecipientsprivate final List<String>bounceRecipients
-
Method Summary
Modifier and Type Method Description final StringgetMessageId()final UUIDgetWebhookId()final WebhookBouncePayload.EventNamegetEventName()final UUIDgetBounceId()final StringgetSender()final StringgetWebhookName()final List<String>getSentToRecipients()final List<String>getBounceRecipients()-
-
Constructor Detail
-
WebhookBouncePayload
WebhookBouncePayload(String messageId, UUID webhookId, WebhookBouncePayload.EventName eventName, UUID bounceId, String sender, String webhookName, List<String> sentToRecipients, List<String> bounceRecipients)
- Parameters:
messageId- Idempotent message ID.webhookId- ID of webhook entity being triggeredeventName- Name of the event type webhook is being triggered for.bounceId- ID of the bounce email record.webhookName- Name of the webhook being triggeredbounceRecipients- Email addresses that resulted in a bounce or email being rejected.
-
-
Method Detail
-
getMessageId
final String getMessageId()
-
getWebhookId
final UUID getWebhookId()
-
getEventName
final WebhookBouncePayload.EventName getEventName()
-
getBounceId
final UUID getBounceId()
-
getWebhookName
final String getWebhookName()
-
getSentToRecipients
final List<String> getSentToRecipients()
-
getBounceRecipients
final List<String> getBounceRecipients()
-
-
-
-