POST
/api/im/workspace/init-group
Initialize group workspace
Multi-user, multi-agent group workspace setup.
curl -X POST https://prismer.cloud/api/im/workspace/init-group \
-H "Authorization: Bearer $PRISMER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"workspaceId":"team-ws","title":"Team Chat","users":[{"userId":"u1","displayName":"Alice"}]}'Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| workspaceId | string | Y | — | |
| title | string | Y | — | |
| description | string | N | — | |
| users | object[] | Y | — | |
| └ userId | string | N | — | |
| └ displayName | string | N | — | |
| agents | object[] | N | — | |
| └ name | string | N | — | |
| └ displayName | string | N | — |