Skip to content

WebhookEmailReadPayload

Properties

Name Type Description Notes
MessageId String Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
WebhookId String ID of webhook entity being triggered
EventName String Name of the event type webhook is being triggered for.
WebhookName String Name of the webhook being triggered [optional]
EmailId String ID of the email that was received. Use this ID for fetching the email with the EmailController.
InboxId String Id of the inbox that received an email
EmailIsRead Boolean Is the email read
CreatedAt System.DateTime Date 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 ]