Create a Version

There are a couple of important things to note when creating a new Version for a Contract:

  • The latest Version must be published before creating a new Version using the publish endpoint.
  • There is a separate publish endpoint to use when publishing a Version: /v1.1/contracts/{contract_id}/versions/{id}/publish or /v1.1/contracts/{contract_id}/versions/@latest/publish.
  • To get the latest Version or which Version is published, simply tack on @latest or @published to your GET call to /v1.1/contracts/{contract_id}/versions/.
Path Params
integer
required

The ID of your contract.

Body Params
boolean
string
enum
Allowed:
string

ISO 8601 formatted.

string

ISO 8601 formatted.

string

ISO 8601 formatted.

string
required

The title of the Version.

string

The body of the Version. Note: accepts escaped HTML.

string

An optional summary of changes made to the Version if necessary.

boolean
deprecated
fields
array of objects

The fields that exist on the Version object.

fields
render_data
object
string

ISO 639-1 locale code indicating the language of the contract text

Responses

400

Bad request.

401

The requester is unauthorized.

403

Forbidden.

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json