---
title: "Mailbox message sent"
method: POST
path: "mailbox.message.sent"
---

# Mailbox message sent

`POST mailbox.message.sent` (webhook)

## Payload

- object
  - `type` 'mailbox.message.sent', required
  - `timestamp` string, required
  - `data` object, required
    - `mailboxId` string, required
    - `namespaceId` string, nullable, required
    - `actionId` string, required
    - `state` 'completed': Deliveries recorded before this field existed omit it.
    - `acceptedAt` string
    - `actor` object, required
      - `kind` 'user' | 'apiKey' | 'extension' | 'externalAgent' | 'samvaAgent' | 'system', required
      - `id` string, required
      - `displayName` string, nullable
      - `source` 'humanUi' | 'externalApi' | 'externalAgent' | 'extension' | 'system', required
    - `message` object, required
      - `id` string, required
      - `channel` 'email' | 'whatsapp' | 'sms': Deliveries recorded before this field existed omit it; they are email.
      - `threadId` string, required
      - `from` object, required
        - `address` string, required
        - `name` string, nullable
      - `to` string[], required
      - `cc` string[], required
      - `subject` string, nullable, required
      - `text` string, nullable, required
      - `replyText` string, nullable, required
      - `attachments` object[], required
        - `id` string, required
        - `filename` string, required
        - `contentType` string, required
        - `size` number, required
      - `occurredAt` string, required

## Acknowledgement `200`

Any 2xx status acknowledges the event.

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
