Room Endpoints
Update Room
Update some of room settings
PUT
/
rooms
/
{id}
Authorization
Path
Body
curl --request PUT \
--url https://api.pagecall.com/v1/rooms/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
{
"room": {
"application_id": "000585f36eed9e8fb6b655b4",
"created_at": "2023-01-01T01:00:00.000Z",
"created_user_id": "000585f36eed9e8fb6b655b4",
"id": "000585f36eed9e8fb6b655b4",
"is_ephemeral": "boolean",
"is_recurring": "boolean",
"is_terminated": "boolean",
"last_thumbnail_updated_at": "2023-01-01T01:00:00.000Z",
"meeting_time": "200000",
"members": [
{
"name": "user-1",
"type": "guest",
"user_id": "000585f36eed9e8fb6b655b4"
}
],
"name": "Weekly Meet",
"record": "boolean",
"room_template_id": "63d0bf2b2dbc8f9743338be8",
"started_at": "2023-01-01T01:00:00.000Z",
"terminated_at": "2023-01-01T01:00:00.000Z",
"thumbnail_url": "https://example.url/thumbnail.png",
"type": "public",
"updated_at": "2023-01-01T01:00:00.000Z"
}
}
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
idrequired
string
room id
Body
application/json
is_terminated
Default: falseboolean
Set true to close this room
name
string
Set this to chagne current room name
Response
200 - application/json
room
object
Information about room
curl --request PUT \
--url https://api.pagecall.com/v1/rooms/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
{
"room": {
"application_id": "000585f36eed9e8fb6b655b4",
"created_at": "2023-01-01T01:00:00.000Z",
"created_user_id": "000585f36eed9e8fb6b655b4",
"id": "000585f36eed9e8fb6b655b4",
"is_ephemeral": "boolean",
"is_recurring": "boolean",
"is_terminated": "boolean",
"last_thumbnail_updated_at": "2023-01-01T01:00:00.000Z",
"meeting_time": "200000",
"members": [
{
"name": "user-1",
"type": "guest",
"user_id": "000585f36eed9e8fb6b655b4"
}
],
"name": "Weekly Meet",
"record": "boolean",
"room_template_id": "63d0bf2b2dbc8f9743338be8",
"started_at": "2023-01-01T01:00:00.000Z",
"terminated_at": "2023-01-01T01:00:00.000Z",
"thumbnail_url": "https://example.url/thumbnail.png",
"type": "public",
"updated_at": "2023-01-01T01:00:00.000Z"
}
}