Skip to content



Name Type Description Notes
message_id String Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
webhook_id String ID of webhook entity being triggered
webhook_name String Name of the webhook being triggered [optional]
event_name String Name of the event type webhook is being triggered for.
attachment_id String ID of attachment. Use the AttachmentController to
name String Filename of the attachment if present
content_type String Content type of attachment such as 'image/png' or 'application/pdf
content_length Integer Size 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)