Remove participant
DELETE
/api/v1/ext/groups/imessage/{id}/participants
Remove a participant from an iMessage group.
Auth: Bearer access_token
Scope: groups.write
Send address in the JSON body or as a query parameter. Done in Messages on the group's Mac (Advanced Mode).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The iMessage group key (imsg_group:<n>). |
| address | body | string | yes | The participant's phone number or email (or ?address=…). |
Responses
| Status | When |
|---|---|
200 | OK |
400 | The Mac could not do it (no Advanced Mode, offline, or Messages refused) |
401 | Missing or invalid token |
403 | Missing scope |
404 | Group does not exist or is not the installer's (same response for both) |
RequestResponses
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/groups/imessage/{id}/participants" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"address": "bob@icloud.com"
}'OK
{
"success": true,
"message": "Participant removed",
"data": {
"id": "imsg_group:7",
"channel": "imessage",
"workspace_id": 7,
"name": "Family",
"participant_count": 1,
"is_active": true,
"crm_bridged": true,
"crm_phone": "+881700000007",
"last_synced_at": null,
"created_at": "2026-10-20T00:00:00.000Z",
"updated_at": "2026-11-04T00:00:00.000Z",
"status": "active",
"source": "dashboard",
"device_id": "A1B2C3D4-MAC",
"participants": [
{
"handle": "+61412345678",
"name": "Ann Lee"
}
],
"last_message_at": "2026-11-03T09:00:00.000Z"
}
}Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters
The iMessage group key (imsg_group:<n>).
Body (JSON)
Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/groups/imessage/%7Bid%7D/participants
Previous
« Add participant
Next
Leave group »
