User and Moderator
You can use t his endpoint to create the chat room users and moderators
post
https://api.deadsimplechat.com
/consumer/api/v1/user
Create User

Creating a Moderator

To create a moderator, just set the isModerator and set the chatRoom to the roomId of the Chat Room you want to create the moderator for.
Moderators created like this can be logged-in to the Chat Room by passing the generated authToken to the Chat Room, check the SSO using Auth Token Guide for details.
post
https://api.deadsimplechat.com
/api/v1/user/accesstoken/validate
Validate Access Token
Last modified 1mo ago