WebhookNewAttachmentPayload

Properties

NameTypeDescriptionNotes
attachmentIdkotlin.StringID of attachment. Use the AttachmentController to[optional]
contentLengthkotlin.LongSize of attachment in bytes[optional]
contentTypekotlin.StringContent type of attachment such as ‘image/png’ or ‘application/pdf[optional]
eventNameinlineName of the event type webhook is being triggered for.[optional]
messageIdkotlin.StringIdempotent message ID. Store this ID locally or in a database to prevent message duplication.[optional]
namekotlin.StringFilename of the attachment if present[optional]
webhookIdjava.util.UUIDID of webhook entity being triggered[optional]
webhookNamekotlin.StringName of the webhook being triggered[optional]

Enum: eventName

NameValue
eventNameEMAIL_RECEIVED, NEW_EMAIL, NEW_CONTACT, NEW_ATTACHMENT, EMAIL_OPENED, EMAIL_READ