You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
improvement(sendblue): audit fixes for optional group numbers, seat_id, typing state/duration (#5300)
* improvement(sendblue): audit fixes — optional group numbers, seat_id, typing state/duration
* fix(sendblue): guard group recipients and typing state/duration before request
* fix(sendblue): omit empty numbers array from group message body
* test(sendblue): add webhook handler tests; trim group_id and normalize empty group_id to null
* fix(sendblue): trim and drop blank group recipients before target guard
|`seat_id`| string | No | Seat \(user\) the message is attributed to. Accepts the seat UUID or Firebase Auth subject. |
58
59
|`status_callback`| string | No | Webhook URL that Sendblue will POST message status updates to. |
59
60
60
61
#### Output
@@ -85,11 +86,12 @@ Send an iMessage or SMS to a group of recipients via Sendblue.
85
86
86
87
| Parameter | Type | Required | Description |
87
88
| --------- | ---- | -------- | ----------- |
88
-
|`numbers`| array |Yes| Recipient phone numbers in E.164 format \(e.g., \["+19998887777", "+13334445555"\]\)|
89
+
|`numbers`| array |No| Recipient phone numbers in E.164 format \(e.g., \["+19998887777", "+13334445555"\]\). Optional when sending to an existing group via group_id.|
89
90
|`from_number`| string | Yes | One of your registered Sendblue phone numbers to send from, in E.164 format \(e.g., +18887776666\)|
90
91
|`content`| string | No | Message text content. Either content or media_url must be provided. |
91
92
|`media_url`| string | No | URL of a media file to send. Either content or media_url must be provided. |
0 commit comments