Skip to main content
POST
/
sdk
/
{environmentId}
/
waas
/
{walletId}
/
createRooms
Create rooms for a waas mpc ceremony
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/{walletId}/createRooms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "roomType": "threshold",
  "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"

walletId
string
required

UUID of the wallet

Required string length: 36
Example:

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

Body

application/json

Create Rooms Request

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

Number of rooms to create

Required range: 1 <= x <= 20

Response

Successfully created a room for a waas mpc ceremony

roomIds
string[]
required