Generate a signer link that you can embed or send to the document recipients.
Document State
Sessions can only be generated for documents in the following statuses:
sent, waiting for payment, paid, and completed
.To move a document to the
sent
status, use the Send Document endpoint. If you want to skip sending emails to the recipients, include the"silent": true
parameter.
Generating a Document Link from the returned
id
This endpoint returns a session
id
, which you can use to create a signer URL. The URL format should be:https://app.pandadoc.com/s/{id}/
Lifetime Parameter
Provide a
lifetime
value in seconds that allows enough time for the recipient to complete the document. We recommend values under 1 year for security purposes, e.g.:"lifetime": 31535999
You can always generate a new session as long as the document remains in an eligible status.