.Riyaan Docs
API ReferenceLiveKit
POST
/api/livekit/rooms

Authorization

bearerAuth
AuthorizationBearer <token>

appSecret or sessionToken

In: header

Request Body

application/json

sessionId*string

Client session ID

config?object

{ maxParticipants?, emptyTimeout?, enableRecording? }

metadata?object

Optional JSON metadata attached to the room

Response Body

application/json

curl -X POST "https://your-convex-deployment.convex.site/api/livekit/rooms" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "string"  }'
{}
Edit on GitHub

Last updated on