/
/mailsac API Specification
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 32m ago · Updated 2mo ago
Account2
Addresses7
Attachments6
Domains2
emailValidation2
Messages21
  • getCount messages for an email inbox
  • getList messages for an email inbox
  • deleteDelete all messages for an email inbox
  • getList starred (saved) messages on the account
  • getGet email message metadata
  • deleteDelete an email message
  • getGet original SMTP message
  • getGet parsed message headers
  • getGet message HTML body (dirty)
  • getGet the message HTML body (sanitized)
  • getGet message plaintext
  • putStar (save) a message
  • putAdd a label to a message
  • deleteRemove a label from a message
  • putMove a message into a folder
  • putSet message read/unread status
  • getGet all account messages paginated
  • getFilter messages in account by to, from, and/or subject
  • getSearch messages by to, from, and subject
  • getList messages for an domain
  • postDelete all messages in a domain
messageStats5
Web Sockets1
Webhooks1
    Messages

    Delete all messages in a domain

    Delete all messages for a specifc domain. Starred messages will be deleted.

    The domain must be owned domain.

    post/domains/{domain}/delete-all-domain-mail

    Response

    All non-starred messages deleted

    Changes

    No recorded changes to this endpoint across all 1 revision of this API.