Properties

NameTypeDescriptionNotes
MessageIdStringIdempotent message ID. Store this ID locally or in a database to prevent message duplication.
WebhookIdStringID of webhook entity being triggered
EventNameStringName of the event type webhook is being triggered for.
WebhookNameStringName of the webhook being triggered[optional]
EmailIdStringID of the email that was received. Use this ID for fetching the email with the EmailController.
InboxIdStringId of the inbox that received an email
EmailIsReadBooleanIs the email read
CreatedAtSystem.DateTimeDate time of event creation

Examples

  • Prepare the resource
$WebhookEmailReadPayload = Initialize-maislurp-client-powershellWebhookEmailReadPayload  -MessageId null `
 -WebhookId null `
 -EventName null `
 -WebhookName null `
 -EmailId null `
 -InboxId null `
 -EmailIsRead null `
 -CreatedAt null
  • Convert the resource to JSON
$WebhookEmailReadPayload | ConvertTo-JSON

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