CreateWebhookOptions

Properties

NameTypeDescriptionNotes
basicAuthBasicAuthOptions[optional]
eventNameinlineOptional webhook event name. Default is EMAIL_RECEIVED. Payload differ according to the webhook event name.[optional]
namekotlin.StringOptional name for the webhook[optional]
urlkotlin.StringPublic URL on your server that MailSlurp can post WebhookNotification payload to when an email is received. The payload of the submitted JSON is described by https://api.mailslurp.com/schemas/webhook-payload[optional]

Enum: eventName

NameValue
eventNameEMAIL_RECEIVED, NEW_EMAIL, NEW_CONTACT, NEW_ATTACHMENT