Modify a group
POST/api/modify-group
Add an external participant to, or remove one from, an existing iMessage group chat (beta feature). Success is reported only after the change is verified on the device: the group’s persisted membership changed and Sendblue’s participant state matches it. Removal requires the group to have at least four total members before the operation and does not require the group’s creator. Only iMessage groups are supported.
Modify a group
curl https://api.sendblue.co/api/modify-group \
-H 'Content-Type: application/json' \
-H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
-H "sb-api-secret-key: $SENDBLUE_API_API_SECRET" \
-d '{
"group_id": "group_123456",
"modify_type": "add_recipient",
"number": "+19998887777",
"from_number": "+15550001111"
}'{
"error": null,
"error_message": null,
"group_id": "group_123456",
"modify_type": "add_recipient",
"number": "+19998887777",
"status": "SUCCESS"
}Returns Examples
{
"error": null,
"error_message": null,
"group_id": "group_123456",
"modify_type": "add_recipient",
"number": "+19998887777",
"status": "SUCCESS"
}