Skip to main content
POST
/
sdk
/
{environmentId}
/
waas
/
createRooms
Create rooms for a waas mpc ceremony without a walletId
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/createRooms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "roomType": "threshold",
  "thresholdSignatureScheme": "TWO_OF_TWO",
  "roomCount": 5
}
'
{
  "roomIds": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json

Create Rooms Without WalletId Request

roomType
enum<string>
required
Available options:
threshold,
full
thresholdSignatureScheme
enum<string>
required
Available options:
TWO_OF_TWO,
TWO_OF_THREE,
THREE_OF_FIVE
roomCount
integer
default:5

Number of rooms to create

Required range: 1 <= x <= 20

Response

Successfully created rooms for a waas mpc ceremony

roomIds
string[]
required