PATCH /api/v1/social/room/set
curl --request PATCH \
--url https://api.scoot.app/api/v1/social/room/set \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"groupFormerCount": 123,
"anyoneCanStart": true,
"allowGuestUsers": true,
"hostAdmitted": true,
"startingPointSocialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hostUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
},
"socials": [
{
"socialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"socialURI": "<string>",
"sessionId": "<string>",
"isOpen": true,
"recurring": true,
"anyoneCanStart": true,
"isValid": true,
"free": true,
"allowGuestUsers": true,
"user": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
},
"maxParticipants": 123,
"startingWidth": 123,
"startingHeight": 123,
"hostAdmitted": true,
"themeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"configurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"theme": {
"socialThemeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialThemeName": "<string>",
"description": "<string>",
"colorPrimary": "<string>",
"colorSecondary": "<string>",
"colorBackground": "<string>",
"colorGradientBackground": "<string>",
"colorButtonText": "<string>",
"colorButtonBG": "<string>",
"imageFarURI": "<string>",
"imageMidURI": "<string>",
"imageNearURI": "<string>",
"previewImageURI": "<string>",
"minimapImageURI": "<string>",
"imageWidth": 123,
"imageHeight": 123,
"templateId": "<string>",
"defaultArtifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"multiSize": true,
"addToMiniMap": true,
"tiles": [
{
"uri": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
],
"uploadStatus": {
"requestStatusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "<string>",
"progress": 123,
"failureReason": "<string>",
"startedDateTime": "2023-11-07T05:31:56Z",
"endedDateTime": "2023-11-07T05:31:56Z"
}
},
"playlistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"artifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDateTime": "2023-11-07T05:31:56Z",
"endDateTime": "2023-11-07T05:31:56Z",
"dateCreated": "2023-11-07T05:31:56Z",
"companyName": "<string>",
"socialMeta": {
"socialMetaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"numberOfInvites": 123,
"numberOfAttendees": 123,
"numberCurrentlyPresent": 123,
"audioHost": "<string>",
"audioElementURL": "<string>",
"peerConnectionURL": "<string>"
},
"connectedRoom": true,
"updatedByUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
},
"updatedDateTime": "2023-11-07T05:31:56Z",
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
}
],
"myBadgeData": [
{
"title": "<string>",
"value": "<string>",
"multiValues": [
"<string>"
],
"options": [
"<string>"
],
"description": "<string>",
"required": true,
"featured": true
}
]
}
],
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
}
]
}
'import requests
url = "https://api.scoot.app/api/v1/social/room/set"
payload = {
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"groupFormerCount": 123,
"anyoneCanStart": True,
"allowGuestUsers": True,
"hostAdmitted": True,
"startingPointSocialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hostUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
},
"socials": [
{
"socialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"socialURI": "<string>",
"sessionId": "<string>",
"isOpen": True,
"recurring": True,
"anyoneCanStart": True,
"isValid": True,
"free": True,
"allowGuestUsers": True,
"user": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
},
"maxParticipants": 123,
"startingWidth": 123,
"startingHeight": 123,
"hostAdmitted": True,
"themeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"configurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"theme": {
"socialThemeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialThemeName": "<string>",
"description": "<string>",
"colorPrimary": "<string>",
"colorSecondary": "<string>",
"colorBackground": "<string>",
"colorGradientBackground": "<string>",
"colorButtonText": "<string>",
"colorButtonBG": "<string>",
"imageFarURI": "<string>",
"imageMidURI": "<string>",
"imageNearURI": "<string>",
"previewImageURI": "<string>",
"minimapImageURI": "<string>",
"imageWidth": 123,
"imageHeight": 123,
"templateId": "<string>",
"defaultArtifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"multiSize": True,
"addToMiniMap": True,
"tiles": [
{
"uri": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
],
"uploadStatus": {
"requestStatusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "<string>",
"progress": 123,
"failureReason": "<string>",
"startedDateTime": "2023-11-07T05:31:56Z",
"endedDateTime": "2023-11-07T05:31:56Z"
}
},
"playlistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"artifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDateTime": "2023-11-07T05:31:56Z",
"endDateTime": "2023-11-07T05:31:56Z",
"dateCreated": "2023-11-07T05:31:56Z",
"companyName": "<string>",
"socialMeta": {
"socialMetaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"numberOfInvites": 123,
"numberOfAttendees": 123,
"numberCurrentlyPresent": 123,
"audioHost": "<string>",
"audioElementURL": "<string>",
"peerConnectionURL": "<string>"
},
"connectedRoom": True,
"updatedByUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
},
"updatedDateTime": "2023-11-07T05:31:56Z",
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
}
],
"myBadgeData": [
{
"title": "<string>",
"value": "<string>",
"multiValues": ["<string>"],
"options": ["<string>"],
"description": "<string>",
"required": True,
"featured": True
}
]
}
],
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
}
]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
socialRoomSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
description: '<string>',
groupFormerCount: 123,
anyoneCanStart: true,
allowGuestUsers: true,
hostAdmitted: true,
startingPointSocialId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
hostUser: {
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
},
socials: [
{
socialId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
socialRoomSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
companyId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
description: '<string>',
socialURI: '<string>',
sessionId: '<string>',
isOpen: true,
recurring: true,
anyoneCanStart: true,
isValid: true,
free: true,
allowGuestUsers: true,
user: {
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
},
maxParticipants: 123,
startingWidth: 123,
startingHeight: 123,
hostAdmitted: true,
themeId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
configurationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
theme: {
socialThemeId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
socialThemeName: '<string>',
description: '<string>',
colorPrimary: '<string>',
colorSecondary: '<string>',
colorBackground: '<string>',
colorGradientBackground: '<string>',
colorButtonText: '<string>',
colorButtonBG: '<string>',
imageFarURI: '<string>',
imageMidURI: '<string>',
imageNearURI: '<string>',
previewImageURI: '<string>',
minimapImageURI: '<string>',
imageWidth: 123,
imageHeight: 123,
templateId: '<string>',
defaultArtifactSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
dateCreated: '2023-11-07T05:31:56Z',
multiSize: true,
addToMiniMap: true,
tiles: [{uri: '<string>', x: 123, y: 123, width: 123, height: 123}],
uploadStatus: {
requestStatusId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
requestId: '<string>',
progress: 123,
failureReason: '<string>',
startedDateTime: '2023-11-07T05:31:56Z',
endedDateTime: '2023-11-07T05:31:56Z'
}
},
playlistId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
artifactSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
startDateTime: '2023-11-07T05:31:56Z',
endDateTime: '2023-11-07T05:31:56Z',
dateCreated: '2023-11-07T05:31:56Z',
companyName: '<string>',
socialMeta: {
socialMetaId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
numberOfInvites: 123,
numberOfAttendees: 123,
numberCurrentlyPresent: 123,
audioHost: '<string>',
audioElementURL: '<string>',
peerConnectionURL: '<string>'
},
connectedRoom: true,
updatedByUser: {
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
},
updatedDateTime: '2023-11-07T05:31:56Z',
alternateHosts: [
{
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
}
],
myBadgeData: [
{
title: '<string>',
value: '<string>',
multiValues: ['<string>'],
options: ['<string>'],
description: '<string>',
required: true,
featured: true
}
]
}
],
alternateHosts: [
{
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
}
]
})
};
fetch('https://api.scoot.app/api/v1/social/room/set', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scoot.app/api/v1/social/room/set",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'socialRoomSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'description' => '<string>',
'groupFormerCount' => 123,
'anyoneCanStart' => true,
'allowGuestUsers' => true,
'hostAdmitted' => true,
'startingPointSocialId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'hostUser' => [
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
],
'socials' => [
[
'socialId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'socialRoomSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'companyId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'description' => '<string>',
'socialURI' => '<string>',
'sessionId' => '<string>',
'isOpen' => true,
'recurring' => true,
'anyoneCanStart' => true,
'isValid' => true,
'free' => true,
'allowGuestUsers' => true,
'user' => [
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
],
'maxParticipants' => 123,
'startingWidth' => 123,
'startingHeight' => 123,
'hostAdmitted' => true,
'themeId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'configurationId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'theme' => [
'socialThemeId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'socialThemeName' => '<string>',
'description' => '<string>',
'colorPrimary' => '<string>',
'colorSecondary' => '<string>',
'colorBackground' => '<string>',
'colorGradientBackground' => '<string>',
'colorButtonText' => '<string>',
'colorButtonBG' => '<string>',
'imageFarURI' => '<string>',
'imageMidURI' => '<string>',
'imageNearURI' => '<string>',
'previewImageURI' => '<string>',
'minimapImageURI' => '<string>',
'imageWidth' => 123,
'imageHeight' => 123,
'templateId' => '<string>',
'defaultArtifactSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'dateCreated' => '2023-11-07T05:31:56Z',
'multiSize' => true,
'addToMiniMap' => true,
'tiles' => [
[
'uri' => '<string>',
'x' => 123,
'y' => 123,
'width' => 123,
'height' => 123
]
],
'uploadStatus' => [
'requestStatusId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'requestId' => '<string>',
'progress' => 123,
'failureReason' => '<string>',
'startedDateTime' => '2023-11-07T05:31:56Z',
'endedDateTime' => '2023-11-07T05:31:56Z'
]
],
'playlistId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'artifactSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'startDateTime' => '2023-11-07T05:31:56Z',
'endDateTime' => '2023-11-07T05:31:56Z',
'dateCreated' => '2023-11-07T05:31:56Z',
'companyName' => '<string>',
'socialMeta' => [
'socialMetaId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'numberOfInvites' => 123,
'numberOfAttendees' => 123,
'numberCurrentlyPresent' => 123,
'audioHost' => '<string>',
'audioElementURL' => '<string>',
'peerConnectionURL' => '<string>'
],
'connectedRoom' => true,
'updatedByUser' => [
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
],
'updatedDateTime' => '2023-11-07T05:31:56Z',
'alternateHosts' => [
[
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
]
],
'myBadgeData' => [
[
'title' => '<string>',
'value' => '<string>',
'multiValues' => [
'<string>'
],
'options' => [
'<string>'
],
'description' => '<string>',
'required' => true,
'featured' => true
]
]
]
],
'alternateHosts' => [
[
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.scoot.app/api/v1/social/room/set"
payload := strings.NewReader("{\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupFormerCount\": 123,\n \"anyoneCanStart\": true,\n \"allowGuestUsers\": true,\n \"hostAdmitted\": true,\n \"startingPointSocialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"hostUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"socials\": [\n {\n \"socialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"companyId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"socialURI\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"isOpen\": true,\n \"recurring\": true,\n \"anyoneCanStart\": true,\n \"isValid\": true,\n \"free\": true,\n \"allowGuestUsers\": true,\n \"user\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"maxParticipants\": 123,\n \"startingWidth\": 123,\n \"startingHeight\": 123,\n \"hostAdmitted\": true,\n \"themeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"configurationId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"theme\": {\n \"socialThemeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialThemeName\": \"<string>\",\n \"description\": \"<string>\",\n \"colorPrimary\": \"<string>\",\n \"colorSecondary\": \"<string>\",\n \"colorBackground\": \"<string>\",\n \"colorGradientBackground\": \"<string>\",\n \"colorButtonText\": \"<string>\",\n \"colorButtonBG\": \"<string>\",\n \"imageFarURI\": \"<string>\",\n \"imageMidURI\": \"<string>\",\n \"imageNearURI\": \"<string>\",\n \"previewImageURI\": \"<string>\",\n \"minimapImageURI\": \"<string>\",\n \"imageWidth\": 123,\n \"imageHeight\": 123,\n \"templateId\": \"<string>\",\n \"defaultArtifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"multiSize\": true,\n \"addToMiniMap\": true,\n \"tiles\": [\n {\n \"uri\": \"<string>\",\n \"x\": 123,\n \"y\": 123,\n \"width\": 123,\n \"height\": 123\n }\n ],\n \"uploadStatus\": {\n \"requestStatusId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestId\": \"<string>\",\n \"progress\": 123,\n \"failureReason\": \"<string>\",\n \"startedDateTime\": \"2023-11-07T05:31:56Z\",\n \"endedDateTime\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"playlistId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"artifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"startDateTime\": \"2023-11-07T05:31:56Z\",\n \"endDateTime\": \"2023-11-07T05:31:56Z\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"companyName\": \"<string>\",\n \"socialMeta\": {\n \"socialMetaId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"numberOfInvites\": 123,\n \"numberOfAttendees\": 123,\n \"numberCurrentlyPresent\": 123,\n \"audioHost\": \"<string>\",\n \"audioElementURL\": \"<string>\",\n \"peerConnectionURL\": \"<string>\"\n },\n \"connectedRoom\": true,\n \"updatedByUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"updatedDateTime\": \"2023-11-07T05:31:56Z\",\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ],\n \"myBadgeData\": [\n {\n \"title\": \"<string>\",\n \"value\": \"<string>\",\n \"multiValues\": [\n \"<string>\"\n ],\n \"options\": [\n \"<string>\"\n ],\n \"description\": \"<string>\",\n \"required\": true,\n \"featured\": true\n }\n ]\n }\n ],\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.scoot.app/api/v1/social/room/set")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupFormerCount\": 123,\n \"anyoneCanStart\": true,\n \"allowGuestUsers\": true,\n \"hostAdmitted\": true,\n \"startingPointSocialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"hostUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"socials\": [\n {\n \"socialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"companyId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"socialURI\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"isOpen\": true,\n \"recurring\": true,\n \"anyoneCanStart\": true,\n \"isValid\": true,\n \"free\": true,\n \"allowGuestUsers\": true,\n \"user\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"maxParticipants\": 123,\n \"startingWidth\": 123,\n \"startingHeight\": 123,\n \"hostAdmitted\": true,\n \"themeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"configurationId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"theme\": {\n \"socialThemeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialThemeName\": \"<string>\",\n \"description\": \"<string>\",\n \"colorPrimary\": \"<string>\",\n \"colorSecondary\": \"<string>\",\n \"colorBackground\": \"<string>\",\n \"colorGradientBackground\": \"<string>\",\n \"colorButtonText\": \"<string>\",\n \"colorButtonBG\": \"<string>\",\n \"imageFarURI\": \"<string>\",\n \"imageMidURI\": \"<string>\",\n \"imageNearURI\": \"<string>\",\n \"previewImageURI\": \"<string>\",\n \"minimapImageURI\": \"<string>\",\n \"imageWidth\": 123,\n \"imageHeight\": 123,\n \"templateId\": \"<string>\",\n \"defaultArtifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"multiSize\": true,\n \"addToMiniMap\": true,\n \"tiles\": [\n {\n \"uri\": \"<string>\",\n \"x\": 123,\n \"y\": 123,\n \"width\": 123,\n \"height\": 123\n }\n ],\n \"uploadStatus\": {\n \"requestStatusId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestId\": \"<string>\",\n \"progress\": 123,\n \"failureReason\": \"<string>\",\n \"startedDateTime\": \"2023-11-07T05:31:56Z\",\n \"endedDateTime\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"playlistId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"artifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"startDateTime\": \"2023-11-07T05:31:56Z\",\n \"endDateTime\": \"2023-11-07T05:31:56Z\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"companyName\": \"<string>\",\n \"socialMeta\": {\n \"socialMetaId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"numberOfInvites\": 123,\n \"numberOfAttendees\": 123,\n \"numberCurrentlyPresent\": 123,\n \"audioHost\": \"<string>\",\n \"audioElementURL\": \"<string>\",\n \"peerConnectionURL\": \"<string>\"\n },\n \"connectedRoom\": true,\n \"updatedByUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"updatedDateTime\": \"2023-11-07T05:31:56Z\",\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ],\n \"myBadgeData\": [\n {\n \"title\": \"<string>\",\n \"value\": \"<string>\",\n \"multiValues\": [\n \"<string>\"\n ],\n \"options\": [\n \"<string>\"\n ],\n \"description\": \"<string>\",\n \"required\": true,\n \"featured\": true\n }\n ]\n }\n ],\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scoot.app/api/v1/social/room/set")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupFormerCount\": 123,\n \"anyoneCanStart\": true,\n \"allowGuestUsers\": true,\n \"hostAdmitted\": true,\n \"startingPointSocialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"hostUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"socials\": [\n {\n \"socialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"companyId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"socialURI\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"isOpen\": true,\n \"recurring\": true,\n \"anyoneCanStart\": true,\n \"isValid\": true,\n \"free\": true,\n \"allowGuestUsers\": true,\n \"user\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"maxParticipants\": 123,\n \"startingWidth\": 123,\n \"startingHeight\": 123,\n \"hostAdmitted\": true,\n \"themeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"configurationId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"theme\": {\n \"socialThemeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialThemeName\": \"<string>\",\n \"description\": \"<string>\",\n \"colorPrimary\": \"<string>\",\n \"colorSecondary\": \"<string>\",\n \"colorBackground\": \"<string>\",\n \"colorGradientBackground\": \"<string>\",\n \"colorButtonText\": \"<string>\",\n \"colorButtonBG\": \"<string>\",\n \"imageFarURI\": \"<string>\",\n \"imageMidURI\": \"<string>\",\n \"imageNearURI\": \"<string>\",\n \"previewImageURI\": \"<string>\",\n \"minimapImageURI\": \"<string>\",\n \"imageWidth\": 123,\n \"imageHeight\": 123,\n \"templateId\": \"<string>\",\n \"defaultArtifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"multiSize\": true,\n \"addToMiniMap\": true,\n \"tiles\": [\n {\n \"uri\": \"<string>\",\n \"x\": 123,\n \"y\": 123,\n \"width\": 123,\n \"height\": 123\n }\n ],\n \"uploadStatus\": {\n \"requestStatusId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestId\": \"<string>\",\n \"progress\": 123,\n \"failureReason\": \"<string>\",\n \"startedDateTime\": \"2023-11-07T05:31:56Z\",\n \"endedDateTime\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"playlistId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"artifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"startDateTime\": \"2023-11-07T05:31:56Z\",\n \"endDateTime\": \"2023-11-07T05:31:56Z\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"companyName\": \"<string>\",\n \"socialMeta\": {\n \"socialMetaId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"numberOfInvites\": 123,\n \"numberOfAttendees\": 123,\n \"numberCurrentlyPresent\": 123,\n \"audioHost\": \"<string>\",\n \"audioElementURL\": \"<string>\",\n \"peerConnectionURL\": \"<string>\"\n },\n \"connectedRoom\": true,\n \"updatedByUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"updatedDateTime\": \"2023-11-07T05:31:56Z\",\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ],\n \"myBadgeData\": [\n {\n \"title\": \"<string>\",\n \"value\": \"<string>\",\n \"multiValues\": [\n \"<string>\"\n ],\n \"options\": [\n \"<string>\"\n ],\n \"description\": \"<string>\",\n \"required\": true,\n \"featured\": true\n }\n ]\n }\n ],\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_bodyRoom
Room Set Management
PATCH
/
api
/
v1
/
social
/
room
/
set
PATCH /api/v1/social/room/set
curl --request PATCH \
--url https://api.scoot.app/api/v1/social/room/set \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"groupFormerCount": 123,
"anyoneCanStart": true,
"allowGuestUsers": true,
"hostAdmitted": true,
"startingPointSocialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hostUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
},
"socials": [
{
"socialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"socialURI": "<string>",
"sessionId": "<string>",
"isOpen": true,
"recurring": true,
"anyoneCanStart": true,
"isValid": true,
"free": true,
"allowGuestUsers": true,
"user": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
},
"maxParticipants": 123,
"startingWidth": 123,
"startingHeight": 123,
"hostAdmitted": true,
"themeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"configurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"theme": {
"socialThemeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialThemeName": "<string>",
"description": "<string>",
"colorPrimary": "<string>",
"colorSecondary": "<string>",
"colorBackground": "<string>",
"colorGradientBackground": "<string>",
"colorButtonText": "<string>",
"colorButtonBG": "<string>",
"imageFarURI": "<string>",
"imageMidURI": "<string>",
"imageNearURI": "<string>",
"previewImageURI": "<string>",
"minimapImageURI": "<string>",
"imageWidth": 123,
"imageHeight": 123,
"templateId": "<string>",
"defaultArtifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"multiSize": true,
"addToMiniMap": true,
"tiles": [
{
"uri": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
],
"uploadStatus": {
"requestStatusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "<string>",
"progress": 123,
"failureReason": "<string>",
"startedDateTime": "2023-11-07T05:31:56Z",
"endedDateTime": "2023-11-07T05:31:56Z"
}
},
"playlistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"artifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDateTime": "2023-11-07T05:31:56Z",
"endDateTime": "2023-11-07T05:31:56Z",
"dateCreated": "2023-11-07T05:31:56Z",
"companyName": "<string>",
"socialMeta": {
"socialMetaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"numberOfInvites": 123,
"numberOfAttendees": 123,
"numberCurrentlyPresent": 123,
"audioHost": "<string>",
"audioElementURL": "<string>",
"peerConnectionURL": "<string>"
},
"connectedRoom": true,
"updatedByUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
},
"updatedDateTime": "2023-11-07T05:31:56Z",
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
}
],
"myBadgeData": [
{
"title": "<string>",
"value": "<string>",
"multiValues": [
"<string>"
],
"options": [
"<string>"
],
"description": "<string>",
"required": true,
"featured": true
}
]
}
],
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": true,
"preload": true,
"mobilePhone": "<string>",
"mobilePhoneVerified": true,
"mobilePhoneVerifiedWeb": true,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": true,
"actedAs": true
}
]
}
'import requests
url = "https://api.scoot.app/api/v1/social/room/set"
payload = {
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"groupFormerCount": 123,
"anyoneCanStart": True,
"allowGuestUsers": True,
"hostAdmitted": True,
"startingPointSocialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hostUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
},
"socials": [
{
"socialId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialRoomSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"socialURI": "<string>",
"sessionId": "<string>",
"isOpen": True,
"recurring": True,
"anyoneCanStart": True,
"isValid": True,
"free": True,
"allowGuestUsers": True,
"user": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
},
"maxParticipants": 123,
"startingWidth": 123,
"startingHeight": 123,
"hostAdmitted": True,
"themeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"configurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"theme": {
"socialThemeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"socialThemeName": "<string>",
"description": "<string>",
"colorPrimary": "<string>",
"colorSecondary": "<string>",
"colorBackground": "<string>",
"colorGradientBackground": "<string>",
"colorButtonText": "<string>",
"colorButtonBG": "<string>",
"imageFarURI": "<string>",
"imageMidURI": "<string>",
"imageNearURI": "<string>",
"previewImageURI": "<string>",
"minimapImageURI": "<string>",
"imageWidth": 123,
"imageHeight": 123,
"templateId": "<string>",
"defaultArtifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dateCreated": "2023-11-07T05:31:56Z",
"multiSize": True,
"addToMiniMap": True,
"tiles": [
{
"uri": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
],
"uploadStatus": {
"requestStatusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"requestId": "<string>",
"progress": 123,
"failureReason": "<string>",
"startedDateTime": "2023-11-07T05:31:56Z",
"endedDateTime": "2023-11-07T05:31:56Z"
}
},
"playlistId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"artifactSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"startDateTime": "2023-11-07T05:31:56Z",
"endDateTime": "2023-11-07T05:31:56Z",
"dateCreated": "2023-11-07T05:31:56Z",
"companyName": "<string>",
"socialMeta": {
"socialMetaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"numberOfInvites": 123,
"numberOfAttendees": 123,
"numberCurrentlyPresent": 123,
"audioHost": "<string>",
"audioElementURL": "<string>",
"peerConnectionURL": "<string>"
},
"connectedRoom": True,
"updatedByUser": {
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
},
"updatedDateTime": "2023-11-07T05:31:56Z",
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
}
],
"myBadgeData": [
{
"title": "<string>",
"value": "<string>",
"multiValues": ["<string>"],
"options": ["<string>"],
"description": "<string>",
"required": True,
"featured": True
}
]
}
],
"alternateHosts": [
{
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"emailAddress": "<string>",
"emailVerified": True,
"preload": True,
"mobilePhone": "<string>",
"mobilePhoneVerified": True,
"mobilePhoneVerifiedWeb": True,
"profileId": "<string>",
"profileImageURI": "<string>",
"profileImageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"profileImageBackground": "<string>",
"timeZone": "<string>",
"registeredDateTime": "2023-11-07T05:31:56Z",
"active": True,
"actedAs": True
}
]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
socialRoomSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
description: '<string>',
groupFormerCount: 123,
anyoneCanStart: true,
allowGuestUsers: true,
hostAdmitted: true,
startingPointSocialId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
hostUser: {
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
},
socials: [
{
socialId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
socialRoomSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
companyId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
description: '<string>',
socialURI: '<string>',
sessionId: '<string>',
isOpen: true,
recurring: true,
anyoneCanStart: true,
isValid: true,
free: true,
allowGuestUsers: true,
user: {
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
},
maxParticipants: 123,
startingWidth: 123,
startingHeight: 123,
hostAdmitted: true,
themeId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
configurationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
theme: {
socialThemeId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
socialThemeName: '<string>',
description: '<string>',
colorPrimary: '<string>',
colorSecondary: '<string>',
colorBackground: '<string>',
colorGradientBackground: '<string>',
colorButtonText: '<string>',
colorButtonBG: '<string>',
imageFarURI: '<string>',
imageMidURI: '<string>',
imageNearURI: '<string>',
previewImageURI: '<string>',
minimapImageURI: '<string>',
imageWidth: 123,
imageHeight: 123,
templateId: '<string>',
defaultArtifactSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
dateCreated: '2023-11-07T05:31:56Z',
multiSize: true,
addToMiniMap: true,
tiles: [{uri: '<string>', x: 123, y: 123, width: 123, height: 123}],
uploadStatus: {
requestStatusId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
requestId: '<string>',
progress: 123,
failureReason: '<string>',
startedDateTime: '2023-11-07T05:31:56Z',
endedDateTime: '2023-11-07T05:31:56Z'
}
},
playlistId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
artifactSetId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
startDateTime: '2023-11-07T05:31:56Z',
endDateTime: '2023-11-07T05:31:56Z',
dateCreated: '2023-11-07T05:31:56Z',
companyName: '<string>',
socialMeta: {
socialMetaId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
numberOfInvites: 123,
numberOfAttendees: 123,
numberCurrentlyPresent: 123,
audioHost: '<string>',
audioElementURL: '<string>',
peerConnectionURL: '<string>'
},
connectedRoom: true,
updatedByUser: {
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
},
updatedDateTime: '2023-11-07T05:31:56Z',
alternateHosts: [
{
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
}
],
myBadgeData: [
{
title: '<string>',
value: '<string>',
multiValues: ['<string>'],
options: ['<string>'],
description: '<string>',
required: true,
featured: true
}
]
}
],
alternateHosts: [
{
userId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
name: '<string>',
firstName: '<string>',
middleName: '<string>',
lastName: '<string>',
emailAddress: '<string>',
emailVerified: true,
preload: true,
mobilePhone: '<string>',
mobilePhoneVerified: true,
mobilePhoneVerifiedWeb: true,
profileId: '<string>',
profileImageURI: '<string>',
profileImageId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
profileImageBackground: '<string>',
timeZone: '<string>',
registeredDateTime: '2023-11-07T05:31:56Z',
active: true,
actedAs: true
}
]
})
};
fetch('https://api.scoot.app/api/v1/social/room/set', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.scoot.app/api/v1/social/room/set",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'socialRoomSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'description' => '<string>',
'groupFormerCount' => 123,
'anyoneCanStart' => true,
'allowGuestUsers' => true,
'hostAdmitted' => true,
'startingPointSocialId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'hostUser' => [
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
],
'socials' => [
[
'socialId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'socialRoomSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'companyId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'description' => '<string>',
'socialURI' => '<string>',
'sessionId' => '<string>',
'isOpen' => true,
'recurring' => true,
'anyoneCanStart' => true,
'isValid' => true,
'free' => true,
'allowGuestUsers' => true,
'user' => [
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
],
'maxParticipants' => 123,
'startingWidth' => 123,
'startingHeight' => 123,
'hostAdmitted' => true,
'themeId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'configurationId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'theme' => [
'socialThemeId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'socialThemeName' => '<string>',
'description' => '<string>',
'colorPrimary' => '<string>',
'colorSecondary' => '<string>',
'colorBackground' => '<string>',
'colorGradientBackground' => '<string>',
'colorButtonText' => '<string>',
'colorButtonBG' => '<string>',
'imageFarURI' => '<string>',
'imageMidURI' => '<string>',
'imageNearURI' => '<string>',
'previewImageURI' => '<string>',
'minimapImageURI' => '<string>',
'imageWidth' => 123,
'imageHeight' => 123,
'templateId' => '<string>',
'defaultArtifactSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'dateCreated' => '2023-11-07T05:31:56Z',
'multiSize' => true,
'addToMiniMap' => true,
'tiles' => [
[
'uri' => '<string>',
'x' => 123,
'y' => 123,
'width' => 123,
'height' => 123
]
],
'uploadStatus' => [
'requestStatusId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'requestId' => '<string>',
'progress' => 123,
'failureReason' => '<string>',
'startedDateTime' => '2023-11-07T05:31:56Z',
'endedDateTime' => '2023-11-07T05:31:56Z'
]
],
'playlistId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'artifactSetId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'startDateTime' => '2023-11-07T05:31:56Z',
'endDateTime' => '2023-11-07T05:31:56Z',
'dateCreated' => '2023-11-07T05:31:56Z',
'companyName' => '<string>',
'socialMeta' => [
'socialMetaId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'numberOfInvites' => 123,
'numberOfAttendees' => 123,
'numberCurrentlyPresent' => 123,
'audioHost' => '<string>',
'audioElementURL' => '<string>',
'peerConnectionURL' => '<string>'
],
'connectedRoom' => true,
'updatedByUser' => [
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
],
'updatedDateTime' => '2023-11-07T05:31:56Z',
'alternateHosts' => [
[
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
]
],
'myBadgeData' => [
[
'title' => '<string>',
'value' => '<string>',
'multiValues' => [
'<string>'
],
'options' => [
'<string>'
],
'description' => '<string>',
'required' => true,
'featured' => true
]
]
]
],
'alternateHosts' => [
[
'userId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'name' => '<string>',
'firstName' => '<string>',
'middleName' => '<string>',
'lastName' => '<string>',
'emailAddress' => '<string>',
'emailVerified' => true,
'preload' => true,
'mobilePhone' => '<string>',
'mobilePhoneVerified' => true,
'mobilePhoneVerifiedWeb' => true,
'profileId' => '<string>',
'profileImageURI' => '<string>',
'profileImageId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'profileImageBackground' => '<string>',
'timeZone' => '<string>',
'registeredDateTime' => '2023-11-07T05:31:56Z',
'active' => true,
'actedAs' => true
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.scoot.app/api/v1/social/room/set"
payload := strings.NewReader("{\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupFormerCount\": 123,\n \"anyoneCanStart\": true,\n \"allowGuestUsers\": true,\n \"hostAdmitted\": true,\n \"startingPointSocialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"hostUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"socials\": [\n {\n \"socialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"companyId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"socialURI\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"isOpen\": true,\n \"recurring\": true,\n \"anyoneCanStart\": true,\n \"isValid\": true,\n \"free\": true,\n \"allowGuestUsers\": true,\n \"user\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"maxParticipants\": 123,\n \"startingWidth\": 123,\n \"startingHeight\": 123,\n \"hostAdmitted\": true,\n \"themeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"configurationId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"theme\": {\n \"socialThemeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialThemeName\": \"<string>\",\n \"description\": \"<string>\",\n \"colorPrimary\": \"<string>\",\n \"colorSecondary\": \"<string>\",\n \"colorBackground\": \"<string>\",\n \"colorGradientBackground\": \"<string>\",\n \"colorButtonText\": \"<string>\",\n \"colorButtonBG\": \"<string>\",\n \"imageFarURI\": \"<string>\",\n \"imageMidURI\": \"<string>\",\n \"imageNearURI\": \"<string>\",\n \"previewImageURI\": \"<string>\",\n \"minimapImageURI\": \"<string>\",\n \"imageWidth\": 123,\n \"imageHeight\": 123,\n \"templateId\": \"<string>\",\n \"defaultArtifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"multiSize\": true,\n \"addToMiniMap\": true,\n \"tiles\": [\n {\n \"uri\": \"<string>\",\n \"x\": 123,\n \"y\": 123,\n \"width\": 123,\n \"height\": 123\n }\n ],\n \"uploadStatus\": {\n \"requestStatusId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestId\": \"<string>\",\n \"progress\": 123,\n \"failureReason\": \"<string>\",\n \"startedDateTime\": \"2023-11-07T05:31:56Z\",\n \"endedDateTime\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"playlistId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"artifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"startDateTime\": \"2023-11-07T05:31:56Z\",\n \"endDateTime\": \"2023-11-07T05:31:56Z\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"companyName\": \"<string>\",\n \"socialMeta\": {\n \"socialMetaId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"numberOfInvites\": 123,\n \"numberOfAttendees\": 123,\n \"numberCurrentlyPresent\": 123,\n \"audioHost\": \"<string>\",\n \"audioElementURL\": \"<string>\",\n \"peerConnectionURL\": \"<string>\"\n },\n \"connectedRoom\": true,\n \"updatedByUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"updatedDateTime\": \"2023-11-07T05:31:56Z\",\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ],\n \"myBadgeData\": [\n {\n \"title\": \"<string>\",\n \"value\": \"<string>\",\n \"multiValues\": [\n \"<string>\"\n ],\n \"options\": [\n \"<string>\"\n ],\n \"description\": \"<string>\",\n \"required\": true,\n \"featured\": true\n }\n ]\n }\n ],\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.scoot.app/api/v1/social/room/set")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupFormerCount\": 123,\n \"anyoneCanStart\": true,\n \"allowGuestUsers\": true,\n \"hostAdmitted\": true,\n \"startingPointSocialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"hostUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"socials\": [\n {\n \"socialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"companyId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"socialURI\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"isOpen\": true,\n \"recurring\": true,\n \"anyoneCanStart\": true,\n \"isValid\": true,\n \"free\": true,\n \"allowGuestUsers\": true,\n \"user\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"maxParticipants\": 123,\n \"startingWidth\": 123,\n \"startingHeight\": 123,\n \"hostAdmitted\": true,\n \"themeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"configurationId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"theme\": {\n \"socialThemeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialThemeName\": \"<string>\",\n \"description\": \"<string>\",\n \"colorPrimary\": \"<string>\",\n \"colorSecondary\": \"<string>\",\n \"colorBackground\": \"<string>\",\n \"colorGradientBackground\": \"<string>\",\n \"colorButtonText\": \"<string>\",\n \"colorButtonBG\": \"<string>\",\n \"imageFarURI\": \"<string>\",\n \"imageMidURI\": \"<string>\",\n \"imageNearURI\": \"<string>\",\n \"previewImageURI\": \"<string>\",\n \"minimapImageURI\": \"<string>\",\n \"imageWidth\": 123,\n \"imageHeight\": 123,\n \"templateId\": \"<string>\",\n \"defaultArtifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"multiSize\": true,\n \"addToMiniMap\": true,\n \"tiles\": [\n {\n \"uri\": \"<string>\",\n \"x\": 123,\n \"y\": 123,\n \"width\": 123,\n \"height\": 123\n }\n ],\n \"uploadStatus\": {\n \"requestStatusId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestId\": \"<string>\",\n \"progress\": 123,\n \"failureReason\": \"<string>\",\n \"startedDateTime\": \"2023-11-07T05:31:56Z\",\n \"endedDateTime\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"playlistId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"artifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"startDateTime\": \"2023-11-07T05:31:56Z\",\n \"endDateTime\": \"2023-11-07T05:31:56Z\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"companyName\": \"<string>\",\n \"socialMeta\": {\n \"socialMetaId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"numberOfInvites\": 123,\n \"numberOfAttendees\": 123,\n \"numberCurrentlyPresent\": 123,\n \"audioHost\": \"<string>\",\n \"audioElementURL\": \"<string>\",\n \"peerConnectionURL\": \"<string>\"\n },\n \"connectedRoom\": true,\n \"updatedByUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"updatedDateTime\": \"2023-11-07T05:31:56Z\",\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ],\n \"myBadgeData\": [\n {\n \"title\": \"<string>\",\n \"value\": \"<string>\",\n \"multiValues\": [\n \"<string>\"\n ],\n \"options\": [\n \"<string>\"\n ],\n \"description\": \"<string>\",\n \"required\": true,\n \"featured\": true\n }\n ]\n }\n ],\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scoot.app/api/v1/social/room/set")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"groupFormerCount\": 123,\n \"anyoneCanStart\": true,\n \"allowGuestUsers\": true,\n \"hostAdmitted\": true,\n \"startingPointSocialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"hostUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"socials\": [\n {\n \"socialId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialRoomSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"companyId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"socialURI\": \"<string>\",\n \"sessionId\": \"<string>\",\n \"isOpen\": true,\n \"recurring\": true,\n \"anyoneCanStart\": true,\n \"isValid\": true,\n \"free\": true,\n \"allowGuestUsers\": true,\n \"user\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"maxParticipants\": 123,\n \"startingWidth\": 123,\n \"startingHeight\": 123,\n \"hostAdmitted\": true,\n \"themeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"configurationId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"theme\": {\n \"socialThemeId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"socialThemeName\": \"<string>\",\n \"description\": \"<string>\",\n \"colorPrimary\": \"<string>\",\n \"colorSecondary\": \"<string>\",\n \"colorBackground\": \"<string>\",\n \"colorGradientBackground\": \"<string>\",\n \"colorButtonText\": \"<string>\",\n \"colorButtonBG\": \"<string>\",\n \"imageFarURI\": \"<string>\",\n \"imageMidURI\": \"<string>\",\n \"imageNearURI\": \"<string>\",\n \"previewImageURI\": \"<string>\",\n \"minimapImageURI\": \"<string>\",\n \"imageWidth\": 123,\n \"imageHeight\": 123,\n \"templateId\": \"<string>\",\n \"defaultArtifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"multiSize\": true,\n \"addToMiniMap\": true,\n \"tiles\": [\n {\n \"uri\": \"<string>\",\n \"x\": 123,\n \"y\": 123,\n \"width\": 123,\n \"height\": 123\n }\n ],\n \"uploadStatus\": {\n \"requestStatusId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"requestId\": \"<string>\",\n \"progress\": 123,\n \"failureReason\": \"<string>\",\n \"startedDateTime\": \"2023-11-07T05:31:56Z\",\n \"endedDateTime\": \"2023-11-07T05:31:56Z\"\n }\n },\n \"playlistId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"artifactSetId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"startDateTime\": \"2023-11-07T05:31:56Z\",\n \"endDateTime\": \"2023-11-07T05:31:56Z\",\n \"dateCreated\": \"2023-11-07T05:31:56Z\",\n \"companyName\": \"<string>\",\n \"socialMeta\": {\n \"socialMetaId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"numberOfInvites\": 123,\n \"numberOfAttendees\": 123,\n \"numberCurrentlyPresent\": 123,\n \"audioHost\": \"<string>\",\n \"audioElementURL\": \"<string>\",\n \"peerConnectionURL\": \"<string>\"\n },\n \"connectedRoom\": true,\n \"updatedByUser\": {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n },\n \"updatedDateTime\": \"2023-11-07T05:31:56Z\",\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ],\n \"myBadgeData\": [\n {\n \"title\": \"<string>\",\n \"value\": \"<string>\",\n \"multiValues\": [\n \"<string>\"\n ],\n \"options\": [\n \"<string>\"\n ],\n \"description\": \"<string>\",\n \"required\": true,\n \"featured\": true\n }\n ]\n }\n ],\n \"alternateHosts\": [\n {\n \"userId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"name\": \"<string>\",\n \"firstName\": \"<string>\",\n \"middleName\": \"<string>\",\n \"lastName\": \"<string>\",\n \"emailAddress\": \"<string>\",\n \"emailVerified\": true,\n \"preload\": true,\n \"mobilePhone\": \"<string>\",\n \"mobilePhoneVerified\": true,\n \"mobilePhoneVerifiedWeb\": true,\n \"profileId\": \"<string>\",\n \"profileImageURI\": \"<string>\",\n \"profileImageId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"profileImageBackground\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"registeredDateTime\": \"2023-11-07T05:31:56Z\",\n \"active\": true,\n \"actedAs\": true\n }\n ]\n}"
response = http.request(request)
puts response.read_bodyUpdates a room set.
Authorizations
Body
application/json
Available options:
DEFAULT, ACCOUNT, CUSTOM_RULES, STARTING_POINT Available options:
PUBLIC, COMPANY_AND_CONNECTIONS, CONNECTIONS, COMPANY Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
200
OK
⌘I

