How to create jitsi room with Rocket API

Description

Hi there, I am developing my own mobile app based on react-native. I have a feature called video call 1 vs 1. I am using Rocket chat and Jitsi to do it. I did enable video call feature of rocket and it worked fine, I can talk to other when using rocket system. But when I integrate this feature into my app I can not find the way to create Jitsi room by using rocket API.

I found out a solution for that by using this rocket api /api/v1/livechat/video.call/:token from this link https://docs.rocket.chat/api/rest-api/methods/livechat/video-call but it always return invalid-user even though its token working well when chatting.

Please do me a favor.

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information