Comment on page
curl --request GET \
--url https://api.digitalsamba.com/api/v1/rooms \
String TEAM_ID = "YOUR_TEAM_ID";
String DEVELOPER_KEY = "YOUR_DEVELOPER_KEY";
String authorizationHeader = "Bearer " + Base64.getEncoder().encodeToString((TEAM_ID + ":" + DEVELOPER_KEY).getBytes());
HttpRequest request = HttpRequest.newBuilder()
HttpClient client = HttpClient.newHttpClient();
HttpResponse<String> response = client.send(request, BodyHandlers.ofString());
System.out.println("Status code: " + response.statusCode());
System.out.println("Body: " + response.body());
This REST API uses the following common conventions:
- 1.For listing (retrieval) -> use the GET verb
- 2.For creation -> use the POST verb
- 3.For editing -> use the PATCH verb
- 4.For deletion -> use the DELETE verb
Most of the retrieval endpoints (GET verb) support pagination. The reason for that is you could have created tens of thousands of rooms or recordings and it is not practical to list all of them in a single request/response. It would put a significant strain on the bandwidth. Please read the Pagination section for more details.
Your team is created when you sign up to Digital Samba Embedded. There are default room settings which all rooms inherit by default. All of your rooms are hosted under your chosen team name -> https://teamNameHere.digitalsamba.com/my-room Read the Default room settings section for more details.
Room is where the video conference takes place.
Before embedding a room in your application, you must first create/configure the room. You need to set the URL of the room, what roles are available inside the room, the available features to the users, etc... Read the Rooms section for more details.
Webhooks are a way to integrate your existing backend with different room events.
For example if a user joins or leaves the session, you may want your backend to be informed of these events with a callback HTTP request.