Rest Api

Ping the server

GET https://smsfu1.eastus.cloudapp.azure.com:5000/

This endpoint is used to check if the server is online.

Successfully hit the SFU api!

Create Room

POST https://smsfu1.eastus.cloudapp.azure.com:5000/rooms/:roomId/create

In order for a room to exist before participants attempt to join a call, you must make an api call to the server to create the room. This will give back the roomId and the password of the room so that you can tell your users the information they need before going to SM.

Path Parameters

Name
Type
Description

roomId

string

The ID of the room, this must be a unique 12 character hash that includes numbers and letters. This is case sensitive.

Request Body

Name
Type
Description

password

boolean

If the room is locked or not, If locked the room will generate a password and return it in the response.

roomId

string

The ID of the room, this must be a unique 12 character hash that includes numbers and letters. This is case sensitive.

{
    "isSuccess": true,
    "errorName": "",
    "payload": {
        "roomId": "hello",
        "password": "99547042"
    }
}

Last updated

Was this helpful?