Skip to content

OAICreateWebhookOptions

Properties

Name Type Description Notes
url NSString* Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received or an event is trigger. The payload of the submitted JSON is dependent on the webhook event type. See docs.mailslurp.com/webhooks for event payload documentation.
basicAuth OAIBasicAuthOptions* [optional]
name NSString* Optional name for the webhook [optional]
eventName NSString* Optional webhook event name. Default is EMAIL_RECEIVED and is triggered when an email is received by the inbox associated with the webhook. Payload differ according to the webhook event name. [optional]
includeHeaders OAIWebhookHeaders* [optional]
requestBodyTemplate NSString* Template for the JSON body of the webhook request that will be sent to your server. Use Moustache style {{variableName}} templating to use parts of the standard webhook payload for the given event. [optional]

[Back to Model list] [Back to API list] [Back to ]