Skip to content

WebhookNewAttachmentPayload

Properties

Name Type Description Notes
messageId kotlin.String Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
webhookId java.util.UUID ID of webhook entity being triggered
eventName inline Name of the event type webhook is being triggered for.
attachmentId kotlin.String ID of attachment. Use the AttachmentController to
name kotlin.String Filename of the attachment if present
contentType kotlin.String Content type of attachment such as 'image/png' or 'application/pdf
contentLength kotlin.Long Size of attachment in bytes
webhookName kotlin.String Name of the webhook being triggered [optional]

Enum: eventName

Name Value
eventName EMAIL_RECEIVED, NEW_EMAIL, NEW_CONTACT, NEW_ATTACHMENT, EMAIL_OPENED, EMAIL_READ, DELIVERY_STATUS, BOUNCE, BOUNCE_RECIPIENT, NEW_SMS