Create a template
POST/v1/sign/templates
Creates a new template owned by the caller's organization. Two modes,
selected by whether documents is supplied:
- Empty template (omit
documents): creates an empty template from justname(plus optionaldescription/type). Attach documents, fields, and recipients afterwards via the wizard or the document/annotation endpoints. - Fully populated (include
documents): creates a complete, ready-to-use template in one request — documents, role slots (recipients), and field placements (fields) are all persisted together. Documents are base64-encoded inline. Populated templates are created with SEQUENTIAL signing order; thetypefield is ignored on this path.
The response always returns the template summary. Call
GET /v1/sign/templates/{id} afterwards for the full detail (documents,
fields, default recipients).
Request
Responses
- 201
- 400
- 401
Template created
Response Headers
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.
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>.
Invalid request body, or an invalid populated payload (for example
recipients/fields/emailSubject/emailMessage supplied without
documents).
Response Headers
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.
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>.
Unauthorized
Response Headers
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.
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>.