Hey,
I’m sending via API to a signer an envelope created from template, which has fields to fulfill including attachments (multiple)
I need to separate the attachments that are added by the signer, sometimes it’s just one page, sometimes multi-page documents.
I already https://www.docusign.com/blog/developers/getting-signer-attachments-using-the-esignature-rest-api and I don’t get desired outcome.
What I have noticed is that once the signer add any attachment it’s added to the document as new page, and there is not ID I could use to distinguish which page is from initial document, or is an attachment
How can I separate the initial document and each attachment filed?
get signer attachments via api

Best answer by Hengfeng Ge
you can list the documents in envelope. if you can the documents of one recipient, you should find the tabs which include signerAttachmentTabs and find the document id, then you can download this document.
Calling this endpoint will list all of the documents in the envelope, which will now include the document(s) that your signer uploaded. The only identifying information that you will have for the document(s) that they uploaded will be the name of the document, but this is based on what the signer saved the file as, so it may not be helpful in identifying what the document is. Instead, you should reference the attachmentTabId against the tabId from the previous step, as this will help you identify which attachment is which if there are multiple attachments. Once you have located the attachment that you want, you will then use the documentId in the next step to download the attachment.
FreeLink/甫连信息
🌍 DocuSign Partner | Partner Profile
🏆 2024 APAC Reseller Growth Partner of the Year
🔧 The first in APAC to pass the DocuSign eSignature Technical Consultant certification.
🚀 Expertise in DocuSign integrations with on-premises systems for leading enterprises across various industries.
Feel free to reach out for collaboration opportunities.
Reply
Sign up
Already have an account? Login
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationJoin the Docusign Community by logging in with your Docusign developer or customer account credentials.
Don’t have an account? You can create a free one when registering.
Note: Partner-specific logins are not available yet. Partners should log in as either a customer or developer
Docusign Community
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.