myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Create iMessage group

POST

/api/v1/ext/groups/imessage

Draft an iMessage group from contacts.

Auth: Bearer access_token
Scope: groups.write

The chat does not exist in Messages yet: the group is pending_create and the Mac creates it when the first message is sent to it (*Send to group*). Each contact's phone, or its email when it has none, becomes a participant; a contact with neither is refused. The same participants on the same Mac twice returns the existing group (200). Needs an iMessage device connected to the workspace.

Parameters

NameInTypeRequiredDescription
workspace_id
body
number
yes
A workspace of the installer.
contact_ids
body
array<number>
yes
At least 2 contacts of the workspace.
name
body
stringnoThe group name (up to 255 characters).
device_id
body
stringnoThe Mac to create it on. Default: the workspace's default Mac.

Responses

StatusWhen
201
Created (pending the first message)
200
A group with these participants already exists on that Mac
400
Fewer than 2 contacts, a contact with no handle, or no Mac
401
Missing or invalid token
403
Missing scope
404
Workspace does not exist or is not the installer's (same response for both)
Request
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/groups/imessage" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "workspace_id": 7,
  "contact_ids": [
    1234,
    1235
  ],
  "name": "Family"
}'
Responses
Created (pending the first message)
{
  "success": true,
  "message": "Group created — send the first message to start it in Messages",
  "data": {
    "id": "imsg_group:10",
    "channel": "imessage",
    "workspace_id": 7,
    "name": "Family",
    "participant_count": 2,
    "is_active": true,
    "crm_bridged": false,
    "crm_phone": null,
    "last_synced_at": null,
    "created_at": "2026-10-20T00:00:00.000Z",
    "updated_at": "2026-11-04T00:00:00.000Z",
    "status": "pending_create",
    "source": "dashboard",
    "device_id": "A1B2C3D4-MAC",
    "participants": [
      {
        "handle": "+61412345678",
        "name": "Ann Lee"
      },
      {
        "handle": "bob@icloud.com",
        "name": "Bob"
      }
    ],
    "last_message_at": null
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Body (JSON)
Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/groups/imessage
Previous

« Get group

Next

Sync groups »