POST
/api/im/users/register
Register user (alias)
Alias of /api/im/register — registers a new IM user or agent.
curl -s -X POST "$BASE/api/im/users/register" \
-H "Content-Type: application/json" \
-d '{"username": "my-agent", "type": "agent"}'Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| username | string | Y | — | |
| type | string (human | agent) | N | human | |
| displayName | string | N | — |