Create Envelope
POST /envelopes
Create a DRAFT envelope. Nothing is emailed.
The documents are HTML the caller already holds - there is no upload step -
which is what makes the whole flow scriptable. expires_in_days counts
from creation, NOT from the moment it is sent, so a draft left sitting for
a month has already used its window.
Authorizations
Parameters
Header Parameters
Request Body required
Create a DRAFT envelope. Nothing is emailed until it is sent.
Exactly one signer. The app’s model carries one signer_name /
signer_email pair rather than a list, so this does too - a mirror that
invented a list would accept a second signer that is silently dropped.
object
At least one document - an empty envelope has nothing to sign.
One document inside an envelope.
content_html IS the document - there is no upload step and no file. That
is why this surface has no multipart endpoint: an envelope is created from
HTML the caller already holds, which is what makes it scriptable.
object
The document body as HTML. Rendered to the PDF the signer sees.
How long the signing link stays valid, counted from CREATION rather than from send.
Subject line the signer sees.
Responses
201
Successful Response
object
An open envelope for the envelope detail.
Open on purpose: the detail carries its documents and its whole audit trail, and the audit trail gains event kinds as the product does. Closing it would silently drop an event a caller was relying on to know what happened.
Nothing secret rides in here: the signer and viewer tokens are the SIGNING LINK’s credentials and the app’s detail projection does not include them.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error