# Add participant

> Add a phone number or email to an iMessage group.

Source: https://docs.mycrmsim.com/docs/groups/add-group-participant

```http
POST https://backend.mysmsgateway.app/api/v1/ext/groups/imessage/{id}/participants
```

- Category: myCRMSIM Conversations / Group Chats
- Auth: Bearer access token
- Scope: `groups.write`

Done in Messages on the group's Mac, which must be in Advanced Mode and have the chat already (a `pending_create` group gets its chat on the first send). Someone already in the group is refused.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The iMessage group key (imsg_group:<n>). Example: `imsg_group:7` |
| `address` | body | string | yes | A phone number with country code, or an Apple ID email. Example: `+61400000005` |

## Request body

```json
{
  "address": "+61400000005"
}
```

## Response 200

OK

```json
{
  "success": true,
  "message": "Participant added",
  "data": {
    "id": "imsg_group:7",
    "channel": "imessage",
    "workspace_id": 7,
    "name": "Family",
    "participant_count": 3,
    "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"
      },
      {
        "handle": "+61400000005",
        "name": null
      }
    ],
    "last_message_at": "2026-11-03T09:00:00.000Z"
  }
}
```

## Response 400

The Mac could not do it (no Advanced Mode, offline, or Messages refused)

```json
{
  "success": false,
  "message": "The group's Mac isn't in Advanced Mode"
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): groups.write. This integration was granted: …"
}
```

## Response 404

Group does not exist or is not the installer's (same response for both)

```json
{
  "success": false,
  "message": "Group not found or not accessible to this token"
}
```
