message_idStringIdempotent message ID. Store this ID locally or in a database to prevent message duplication.
webhook_idStringID of webhook entity being triggered
webhook_nameStringName of the webhook being triggered[optional]
event_nameStringName of the event type webhook is being triggered for.
attachment_idStringID of attachment. Use the AttachmentController to
nameStringFilename of the attachment if present
content_typeStringContent type of attachment such as ‘image/png’ or ‘application/pdf
content_lengthIntegerSize of attachment in bytes

Code Sample

require 'MailSlurpClient'

instance = null,
                                 webhook_id: null,
                                 webhook_name: null,
                                 event_name: null,
                                 attachment_id: null,
                                 name: null,
                                 content_type: null,
                                 content_length: null)