Menu

Emails

1 endpoint in the Mattering Sales API.

DELETE emails/{email_id}/ User APIService tier

Delete one logged email: its bodies, attachments, mailbox copies and timeline entry, and the mailbox sync will not import it again.

Allowed for the person whose mailbox it was synced from (or who logged it) and for workspace admins. Another person's private email answers 404, as does another organization's.

URL

  • User APIhttps://sales.mattering.io/api/user/v1/emails/{email_id}/
  • Service tierhttps://sales.mattering.io/api/internal/emails/{email_id}/

Path parameters

NameType
email_iduuid

Responses

200 data and meta envelope

{
  "data": {
    "id": "...",
    "deleted": true
  }
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
403forbidden
403unknown_actor
404not_found

Example

curl -X DELETE "https://sales.mattering.io/api/user/v1/emails/EMAIL_ID/" \
  -H "Authorization: Bearer $MATTERING_API_KEY"

Source: CRMCore/timeline_api.py (timeline_api.email_detail)

All Sales resources
Start Free Explore our Products