WebhookNewEmailPayload

Properties

NameTypeDescriptionNotes
AttachmentMetaDatas**AttachmentMetaData[]**List of attachment meta data objects if attachments present[optional]
BccString[]List of BCC recipients email addresses that the email was addressed to. See recipients object for names.[optional]
CcString[]List of CC recipients email addresses that the email was addressed to. See recipients object for names.[optional]
CreatedAtSystem.DateTimeDate time of event creation[optional]
EmailIdStringID of the email that was received. Use this ID for fetching the email with the EmailController.[optional]
EventNameStringName of the event type webhook is being triggered for.[optional]
VarFromStringWho the email was sent from. An email address - see fromName for the sender name.[optional]
InboxIdStringId of the inbox that received an email[optional]
MessageIdStringIdempotent message ID. Store this ID locally or in a database to prevent message duplication.[optional]
SubjectStringThe subject line of the email message as specified by SMTP subject header[optional]
ToString[]List of To recipient email addresses that the email was addressed to. See recipients object for names.[optional]
WebhookIdStringID of webhook entity being triggered[optional]
WebhookNameStringName of the webhook being triggered[optional]

Examples

  • Prepare the resource
$WebhookNewEmailPayload = Initialize-maislurp-client-powershellWebhookNewEmailPayload  -AttachmentMetaDatas null `
 -Bcc null `
 -Cc null `
 -CreatedAt null `
 -EmailId null `
 -EventName null `
 -VarFrom null `
 -InboxId null `
 -MessageId null `
 -Subject null `
 -To null `
 -WebhookId null `
 -WebhookName null
  • Convert the resource to JSON
$WebhookNewEmailPayload | ConvertTo-JSON

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