myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Update group

PATCH

/api/v1/ext/groups/{channel}/{id}

Rename an iMessage group, or bridge a group to the CRM.

Auth: Bearer access_token
Scope: groups.write

crm_bridged: true gives the group a crm_phone and shows it in the connected CRM as a contact (created on its next message), so replies typed there reach the group; false removes it (the number is kept for re-enabling). name is for iMessage groups: with an Advanced-Mode Mac the chat is renamed in Messages for everyone (renamed_on_mac: true), otherwise only the dashboard label changes. A WhatsApp group's name comes from WhatsApp.

Parameters

NameInTypeRequiredDescription
channel
path
enum
yes
The group's channel.
id
path
string
yes
The group id: a WhatsApp group JID (…@g.us) or an iMessage group key (imsg_group:<n>).
name
body
stringnoiMessage only. The new name.
crm_bridged
body
booleannoShow the group in the CRM (true) or not (false).

Responses

StatusWhen
200
OK
400
Nothing to change, or a name on a WhatsApp group
401
Missing or invalid token
403
Missing scope
404
Group does not exist or is not the installer's (same response for both)
Request
curl -X PATCH "https://backend.mysmsgateway.app/api/v1/ext/groups/{channel}/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Family chat",
  "crm_bridged": true
}'
Responses
OK
{
  "success": true,
  "message": "Group updated",
  "data": {
    "id": "imsg_group:7",
    "channel": "imessage",
    "workspace_id": 7,
    "name": "Family chat",
    "participant_count": 2,
    "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"
      },
      {
        "handle": "bob@icloud.com",
        "name": "Bob"
      }
    ],
    "last_message_at": "2026-11-03T09:00:00.000Z",
    "renamed_on_mac": true
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

The group's channel.

The group id: a WhatsApp group JID (…@g.us) or an iMessage group key (imsg_group:<n>).

Body (JSON)
Request URL
PATCHhttps://backend.mysmsgateway.app/api/v1/ext/groups/%7Bchannel%7D/%7Bid%7D
Previous

« Sync groups

Next

Add participant »