WebhookNewAttachmentPayload

NEW_ATTACHMENT 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 that contains an attachment. You can use the attachmentId to download the attachment.

Properties

NameTypeDescriptionNotes
attachment_idstrID of attachment. Use the AttachmentController to[optional]
content_lengthintSize of attachment in bytes[optional]
content_typestrContent type of attachment such as ‘image/png’ or ‘application/pdf[optional]
event_namestrName of the event type webhook is being triggered for.[optional]
message_idstrIdempotent message ID. Store this ID locally or in a database to prevent message duplication.[optional]
namestrFilename of the attachment if present[optional]
webhook_idstrID of webhook entity being triggered[optional]
webhook_namestrName of the webhook being triggered[optional]

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