Report use Invite Token

Report to the server that an invite token was used.

No permissions are required.

Payload

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type: application/json" \
     http://localhost:3000/api/v1/useInviteToken \
     -d '{ "token": "iS7pza" }'

Example Result

{
    "room": {
        "rid": "QqsWiqNH2TnxtvZQq",
        "fname": "a-room-name",
        "name": "a-room-name",
        "t": "p"
    },
    "success": true
}

Last updated

Rocket.Chat versions receive support for six months after release.