Download signed documents

Returns the signed documents of a request as a file link.

GET https://cotlet.dev/api/v1/yousign/signature-requests/{signature_request_id}/signed-documents/download

read

Returns the file name, size and a download URL: a PDF for one document, a zip for several documents or attachments. A completed request carries "(signed)" in the file name. A request that is still In progress returns the documents as they are now.

Parameters

Parameters: download_signed_documents
NameTypeDescription
signature_request_id string required string Signature request ID from list_signature_requests or create_signature_request.

Request

cURL
curl https://cotlet.dev/api/v1/yousign/signature-requests/5d9a0b3c-67e1-4c28-b4f7-0e82a1d6c395/signed-documents/download \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("yousign", "download_signed_documents", {"signature_request_id":"5d9a0b3c-67e1-4c28-b4f7-0e82a1d6c395"})
Node.js
const result = await cotlet.call('yousign', 'download_signed_documents', {"signature_request_id":"5d9a0b3c-67e1-4c28-b4f7-0e82a1d6c395"});
CLI
cotlet call yousign download_signed_documents --data '{"signature_request_id":"5d9a0b3c-67e1-4c28-b4f7-0e82a1d6c395"}'

Example response

JSON

{
  "file_name": "Service agreement (signed).pdf",
  "size_bytes": 184320,
  "download_url": "https://files.cotlet.dev/d/Q3x9Lk2mVw"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.