Mentions
When working with Contextual Comments, a participant can mention others by using the @
symbol followed by the participant's name.
Enabling mentions
All participants that are initialized only from the SuperViz Room will be seen as a guest, therefore, other participants won't be able to mention it. The guest participant will be able to mention other participants.
Before you can mention a participant, you will need to ensure that the participant is a member of the group, by creating and adding them to the group. The group can be your entire organization, small teams, or any other amount of participants.
Creating a group
You can create a group by utilizing the create or update a group API endpoint, by sending a PUT
request to the /groups/{group_id}
endpoint. On the path you can provide a group ID of your choice and in the body, you can provide the name of the group. Like so:
curl --location --request PUT https://nodeapi.superviz.com/groups/{id} \
--header "Authorization: Bearer ${TOKEN}" \
--header "apikey: ${APIKEY}" \
--header "Content-Type: application/json" \
--data-raw '{
"name": "My Group"
}'
When starting a room with the same group ID as the one you created, the participants of that group will be able to mention each other.