Skip to main content
POST
/
Agent
/
Legal
/
ProposeTemplate
Propose Template
curl --request POST \
  --url https://{host}/Agent/Legal/ProposeTemplate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateBase64": "<string>"
}
'
{
  "Template": {}
}

Overview

Allows the client to propose a new smart contract template. The smart contract template is an XML document that conforms to the smart contract schema. You can design smart contracts using the LegalLab application.

Authentication

Requires a valid JWT bearer token.

Notes

This endpoint uses the request schema notation described in Pattern matching.

Authorizations

Authorization
string
header
required

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

Body

application/json
templateBase64
string
required

Response

200 - application/json

Success

Template
object
required