MailSlurpAPI.Api.WebhookController.get_test_webhook_payload

You're seeing just the function get_test_webhook_payload, go back to MailSlurpAPI.Api.WebhookController module for more information.
Link to this function

get_test_webhook_payload(connection, opts \\ [])

Specs

get_test_webhook_payload(Tesla.Env.client(), keyword()) ::
  {:ok, MailSlurpAPI.Model.AbstractWebhookPayload.t()} | {:error, Tesla.Env.t()}

Get test webhook payload example. Response content depends on eventName passed. Uses EMAIL_RECEIVED as default.

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :event_name (String.t): eventName

      Returns

} on success {:error, info} on failure