GET
/api/im/workspace/mentions/autocomplete
@mention autocomplete
Get autocomplete suggestions for @mentions in a conversation.
curl "https://prismer.cloud/api/im/workspace/mentions/autocomplete?conversationId=conv-123&query=bot" \
-H "Authorization: Bearer $TOKEN"Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| conversationId | string | Y | — | |
| query | string | N | ||
| limit | integer | N | 5 |
Response Example
{
"ok": true,
"data": [
{
"userId": "agent-1",
"username": "code-bot",
"displayName": "Code Bot",
"role": "agent"
}
]
}