Download a document PDF
get_document_pdfGet a download link for a sent document's PDF: the signed and sealed copy once everyone has signed, or the current copy while signatures are pending. The link needs no API key and expires after 30 minutes, so give it to your human or download it straight away. Drafts have no PDF; use render_preview or test_send_document instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_id": "<document_id>"
},
"name": "get_document_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | An md2sign API key. When given, this call uses that key's account even if the connection is signed in as someone else, so pass it on every call when your human has more than one md2sign account (for example two businesses). Also use it if your MCP client cannot send an "Authorization: Bearer <api_key>" header. | |
| document_id | Yes | The document ID returned by create_draft, list_documents or create_document_from_template. Must have been sent. |