Skip to main content

Create a new agreement

POST 

/v1/sign/agreements

Create an agreement using one of three methods:

Document-based creation: Provide name and optionally recipients, then add documents separately.

Template-based creation: Provide templateId and templateRoles to create from a pre-configured template.

Create and send: Include documents (base64), recipients, and set status: "SENT" to create and send in one request.

Request

Responses

Agreement created (or created and sent if status=SENT)

Response Headers
    X-Request-Id

    Correlation id for this request, returned on every response (success and error). Quote it when contacting support to pinpoint the exact request, and use it to correlate your own logs. It is the same 128-bit id as the trace-id segment of the traceparent header.

    traceparent

    W3C Trace Context identifier for this request, returned on every response. Send your own traceparent on a request to have it adopted, so a multi-call workflow shares one trace. Format: 00-<32-hex trace-id>-<16-hex span-id>-<2-hex flags>.