Message.broadcasted
Emitted each time a Message is broadcasted.
Message.broadcast emits Message.broadcasted when it completes on a Message.
| Property | Value |
|---|---|
| Emitted by | Message.broadcast |
| Noun | Message |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Message.broadcast returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Message.broadcasted. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.messages | list of Message | required | One sent Message per Contact. |
data.message | Message | required | The Message broadcast. |
data.message.medium | string | required | One of email, sms, voice, or chat. |
data.message.direction | string | required | One of inbound or outbound. |
data.message.body | text | required | What it says. |
data.message.from | string | The sender: an address, a number, or a Channel id. | |
data.message.to | string | The recipient: an address, a number, or a Person id. | |
data.message.subject | string | The subject line, for email. | |
data.message.purpose | string | Why it goes out, such as onboarding; consent and suppression rules read it. |
Example
{
"$id": "https: //api.sb/ routewise.dev/ events/ event_1",
"$type": "Event",
"name": "Message.broadcasted",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"messages": [
{
"$id": "https: //api.sb/ routewise.dev/ messages/ message_1",
"$type": "Message",
"medium": "email",
"direction": "inbound",
"body": "Example body"
}
],
"message": {
"$id": "https: //api.sb/ routewise.dev/ messages/ message_1",
"$type": "Message",
"medium": "email",
"direction": "inbound",
"body": "Example body",
"from": "Example from",
"to": "Example to",
"subject": "Example subject",
"purpose": "Example purpose"
}
},
"seq": 1
}