Skip to content
On this page

Partner: RoomInvite API ​

EndpointMethodDescription
/api/v0/partnerRpc/roomInvite.inviteToRoomjsonRpcInvite to room

Invite to room ​

Method: jsonRpc

HTTP Method: POST

Path: /api/v0/partnerRpc/roomInvite.inviteToRoom

Description: API is used to dynamically invite users without room owner interaction. Requesting client (i.e. mini-app) should have assigned invite permissions to a specific room by a room owner.

Request:

{
    "invitedUserId": string
    "roomId": string
    "permissions": {
        "view": bool
        "comment": bool
        "contribute": bool
        "edit": bool
        "manage": bool
    }
}

Response:

{
    "error": { "status": bool, "code": int, "message": string }
}