Skip to main content

Create an agreement

POST 

/api/rest/v6/agreements

Creates an agreement from either a library document or a transient document and adds the participants. When state is IN_PROCESS the agreement is sent for signature immediately; DRAFT and AUTHORING leave it unsent. Provide exactly one of fileInfos[0].libraryDocumentId or fileInfos[0].transientDocumentId.

Request

Responses

Agreement created.

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>.