Function mailslurp::apis::webhook_controller_api::create_webhook[][src]

pub async fn create_webhook(
    configuration: &Configuration,
    params: CreateWebhookParams
) -> Result<WebhookDto, Error<CreateWebhookError>>

Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.