Send a generated PDF for signature
POST/v1/docgen/documents/:id/send-for-signature
Attaches a generated PDF document to a new Sign agreement with the
supplied recipients. The agreement is created in CREATED state;
call POST /v1/sign/agreements/{id}/send afterwards to dispatch
it to recipients.
The document must have outputFormat: "PDF" and status: "GENERATED".
Repeat invocations for the same document update the existing
attachment in place rather than producing duplicates.
Requires both docgen:read and sign:write OAuth scopes.
Request
Responses
- 201
- 400
- 404
- 422
Sign agreement created with the PDF attached
Validation error (missing recipients, invalid role, etc.)
Document not found
Document is not a signable PDF (wrong outputFormat or status)