Add a user to a room.
Method | Requires Auth |
---|---|
| Yes |
Payload parameters
Argument | Example | Required | Description |
---|---|---|---|
|
| Required | An object of the |
Example call
{
"msg": "method",
"method": "addUserToRoom",
"id": "2",
"params": [
{
"rid":"64f0f82c2c26843a68c1f7ba",
"username":"rodriq"
}
]
}
Example response
Success
{
"msg":"result",
"id":"2"
}
Error
Any of the following errors can occur on the endpoint.
Authorization: Requires an authentication token for the request to be made.
{
"status": "error",
"message": "You must be logged in to do this."
}