Skip to content

Create a Clause

Redline APIClauses

POSThttps://api.redline.example/v1/clauses

AuthRequires authentication via bearerAuth.

Description

Creates a draft Clause Library entry for later review and approval.

Request body

application/jsonrequired

titlebodystringrequired
categorybodystringrequired
textbodystringrequired
drafting_notebodystring
fallback_positionsbodyobject[]
tagsbodystring[]
owner_idbodystringrequired

Responses

201The created draft Clause.application/json
idstringrequired
titlestringrequired
categorystringrequired
textstringrequired
Preferred contract language.
drafting_notestring | null
Internal guidance for editors.
fallback_positionsobject[]
statusstringrequired
Governance status of a Clause version.
versionintegerrequired
tagsstring[]required
owner_idstringrequired
reviewed_atstring | null
updated_atstring <date-time>required
401The API key is missing, malformed, expired, or revoked.application/json
errorobjectrequired
403The API key does not have permission for this action.application/json
errorobjectrequired
422One or more request fields are invalid.application/json
errorobjectrequired