Skip to main content
POST
/
environments
/
{environmentId}
/
waas
/
{walletId}
/
delegatedAccess
/
signMessage
Sign a message with a delegated waas account
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/{walletId}/delegatedAccess/signMessage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "message": "<string>",
  "isFormatted": true,
  "roomId": "<string>"
}
'
{
  "roomId": "<string>",
  "serverKeygenIds": [
    "<string>"
  ],
  "newServerKeygenIds": [
    "<string>"
  ],
  "walletId": "95b11417-f18f-457f-8804-68e361f9164f"
}

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

Delegate Sign Message Request

message
string
required

A string with a max length of 16384 characters

Maximum string length: 16384
isFormatted
boolean
roomId
string

Response

Successfully created a room for delegated signing message ceremony

roomId
string
required
serverKeygenIds
string[]

A base58 string with a max length of 100 characters

Maximum string length: 100
newServerKeygenIds
string[]

A base58 string with a max length of 100 characters

Maximum string length: 100
walletId
string
Required string length: 36
Example:

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