mailslurp.Model.WebhookNewEmailPayload

NEW_EMAIL webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to. Use the email ID to fetch the full email body or attachments.

Properties

NameTypeDescriptionNotes
AttachmentMetaDatasListList of attachment meta data objects if attachments present[optional]
BccListList of BCC recipients email addresses that the email was addressed to. See recipients object for names.[optional]
CcListList of CC recipients email addresses that the email was addressed to. See recipients object for names.[optional]
CreatedAtDateTimeDate time of event creation[optional]
EmailIdGuidID 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]
FromstringWho the email was sent from. An email address - see fromName for the sender name.[optional]
InboxIdGuidId 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]
ToListList of To recipient email addresses that the email was addressed to. See recipients object for names.[optional]
WebhookIdGuidID of webhook entity being triggered[optional]
WebhookNamestringName of the webhook being triggered[optional]

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