Skip to main content
POST
Create Agreement
This endpoint requires the following scope:agreements

Authorizations

X-API-Key
string
header
required

Provide your API key in the X-API-Key header, e.g., X-API-Key: YOUR_API_KEY.

Body

application/json
method
enum<string>
required

Must be set to template.

Available options:
template
agreement_data
object
required
agreement_name
string

Human-friendly title of the agreement (1-255 chars). Defaults to input name or "New document" if not provided in the request body.

Required string length: 1 - 255

Response

Returns the Agreement summary object data

id
string
required

The unique identifier for the agreement.

name
string
required

The name of the agreement.

created_at
integer<unix-epoch>
required

The time the agreement was created (Unix timestamp in milliseconds).

preview_url
string<uri>

The URL to preview the agreement in the browser.

linked_objects
object[]

CRM or external objects linked to the agreement.