ZapSMTP / Docs / API reference Received emails Messages sent to your inbound addresses land here. The email.received webhook carries metadata only; fetch bodies and attachments with these endpoints.
GET List received emails /v1/emails/receivingList received (inbound) emails, newest first.. GET Retrieve a received email /v1/emails/receiving/{id}Retrieve a received email with bodies, headers, authentication results and download links.. GET List attachments /v1/emails/receiving/{id}/attachmentsList a received email's attachments with signed download links.. GET Retrieve an attachment /v1/emails/receiving/{id}/attachments/{aid}Retrieve one attachment's metadata and signed download link.. POST Redeliver to webhooks /v1/emails/receiving/{id}/redeliverRe-send the email.received webhook for a stored message.. POST Report spam / not spam /v1/emails/receiving/{id}/spamReport a received email as spam or not spam: your account's spam filter learns from it.. POST Reply to a received email /v1/emails/receiving/{id}/replyReply to a received email: recipients, subject, sender and threading headers default to the email's, so the answer lands in the sender's conversation.. GET List conversations /v1/threadsList conversations (threads with at least one received email), the most recently active first: a helpdesk inbox.. GET Retrieve a conversation /v1/threads/{id}A conversation: its state (participants, counts, last message, awaiting_reply, unread, metadata) and its received and sent emails, oldest first.. PATCH Mark read, set metadata /v1/threads/{id}Mark a conversation read or unread and set its metadata.. DELETE Delete a received email /v1/emails/receiving/{id}Permanently erase a received email's content and metadata (GDPR erasure)..