Create Room

You can use the REST API to create Apps programatically.

Request

POST https://www.cameratag.com/api/v14/apps/[YOUR_APP_UUID]/rooms.json

Parameters

Below is a list of parameters that this endpoint accepts.

Parameter Accepted Values Description Required
api_key a valid user api_key All App endpoints require authentcation Required
name string A name for the room Required
start_time Integer (Unix epoch) The time that the room should become available to users optional
end_time Integer (Unix epoch) The time that the room should close (and disconnect users) optional

Example Response

{
  "camera_id": "63f9c870-72c4-0130-04c5-123139045d73",
  "name": "Interview room 1",
  "uuid": "0663ac2eadcd95fc4af3139d14324b2987357df56c59adfb88ead98b054fc5bc",
  "start_time": "2020-12-16T03:12:27.316Z",
  "end_time": "2020-12-17T03:12:34.280Z",
  "composited_at": null,
  "state": "closed"
}