Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/docusign:docusign-envelopeattachments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Docusign Envelope Attachments API
termsOfService: https://www.docusign.com/company/terms-and-conditions/web
version: '1.0'
description: 'Operations tagged EnvelopeAttachments across 2 of this provider''s published API definitions: docusign-openapi-original.yml, docusign-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.docusign.net/restapi
tags:
- name: EnvelopeAttachments
description: The EnvelopeAttachments resource provides methods that allow you to manage attachments.
paths:
/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments:
get:
tags:
- EnvelopeAttachments
summary: Docusign Returns a list of attachments associated with the specified envelope
operationId: Attachments_GetAttachments
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: 'The envelope''s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec '
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: getAttachments
x-ds-api-status: beta
x-ds-method: list
x-ds-service: Envelopes
x-ds-in-sdk: true
put:
tags:
- EnvelopeAttachments
summary: Docusign Add one or more attachments to a DRAFT or IN-PROCESS envelope
description: 'Supported attachment formats include: .asp, .bmp, .csv, .doc, .docm, .docx, .dot, .dotm, .dotx, .gif, .htm, .html, .jpeg, .jpg, .msg, .pdf, .png, .pot, .potx, .pps, .ppt, .pptm, .pptx, .ps, .rtf, .tif, .tiff, .txt, .wpd, .xls, .xlsm, .xlsx, .xml, and .xps. For more information on supported file formats please see Supported File Formats.'
operationId: Attachments_PutAttachments
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: 'The envelope''s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec '
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest'
application/xml:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest'
required: false
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: putAttachments
x-ds-api-status: beta
x-ds-method: create
x-ds-service: Envelopes
x-ds-in-sdk: true
x-codegen-request-body-name: envelopeAttachmentsRequest
delete:
tags:
- EnvelopeAttachments
summary: Docusign Delete one or more attachments from a DRAFT envelope
operationId: Attachments_DeleteAttachments
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: 'The envelope''s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec '
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest'
application/xml:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest'
required: false
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: deleteAttachments
x-ds-api-status: beta
x-ds-method: delete
x-ds-service: Envelopes
x-ds-in-sdk: true
x-codegen-request-body-name: envelopeAttachmentsRequest
servers:
- url: https://www.docusign.net/restapi
/v2/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}:
get:
tags:
- EnvelopeAttachments
summary: Docusign Retrieves an attachment from the envelope
operationId: Attachments_GetAttachment
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: attachmentId
in: path
required: true
schema:
type: string
- name: envelopeId
in: path
description: 'The envelope''s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec '
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content: {}
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: getAttachment
x-ds-api-status: beta
x-ds-method: get
x-ds-service: Envelopes
x-ds-in-sdk: true
put:
tags:
- EnvelopeAttachments
summary: Docusign Add an attachment to a DRAFT or IN-PROCESS envelope
operationId: Attachments_PutAttachment
parameters:
- name: accountId
in: path
description: The external account number (int) or account id GUID.
required: true
schema:
type: string
- name: attachmentId
in: path
required: true
schema:
type: string
- name: envelopeId
in: path
description: 'The envelope''s GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec '
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/attachment'
application/xml:
schema:
$ref: '#/components/schemas/attachment'
required: false
responses:
'200':
description: Successful response.
content:
'*/*':
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult'
'400':
description: Error encountered.
content:
'*/*':
schema:
$ref: '#/components/schemas/errorDetails'
deprecated: false
x-ds-methodname: putAttachment
x-ds-api-status: beta
x-ds-method: update
x-ds-service: Envelopes
x-ds-in-sdk: true
x-codegen-request-body-name: attachment
servers:
- url: https://www.docusign.net/restapi
/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments:
parameters: []
get:
tags:
- EnvelopeAttachments
summary: Returns a list of envelope attachments associated with a specified envelope
operationId: getV21AccountsByAccountIdEnvelopesByEnvelopeIdAttachments
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: "The envelope's GUID. \n\nExample: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`\n"
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult_2'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails_2'
deprecated: false
x-ds-methodname: getAttachments
x-ds-api-status: beta
description: 'Returns a list of envelope attachments associated with a specified envelope.
It''s easy to confuse envelope attachments,
which are developer-only files associated with an envelope,
with signer attachments.
To get a list of user-visible attachments,
use EnvelopeDocuments: get.
To learn about the different types of attachments, see Attachments in the concept guide.'
x-ds-method: list
x-ds-service: Envelopes
x-ds-in-sdk: true
x-operation-id-source: normalized
x-operation-id-original: Attachments_GetAttachments
put:
tags:
- EnvelopeAttachments
summary: Adds one or more envelope attachments to a draft or in-process envelope
operationId: putV21AccountsByAccountIdEnvelopesByEnvelopeIdAttachments
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: "The envelope's GUID. \n\nExample: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`\n"
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult_2'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails_2'
deprecated: false
x-ds-methodname: putAttachments
x-ds-api-status: beta
description: 'Adds one or more envelope attachments to a draft or in-process envelope.
Each envelope can have a maximum of 12 attachments.
Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the Docusign web application for them.
For a list of supported file formats, see Supported File Formats.
It''s easy to confuse envelope attachments,
which are developer-only files associated with an envelope,
with signer attachments.
To learn about the different types of attachments, see Attachments in the concept guide.'
x-ds-method: create
x-ds-service: Envelopes
x-ds-in-sdk: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest_2'
application/xml:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest_2'
x-operation-id-source: normalized
x-operation-id-original: Attachments_PutAttachments
delete:
tags:
- EnvelopeAttachments
summary: Deletes one or more envelope attachments from a draft envelope
operationId: deleteV21AccountsByAccountIdEnvelopesByEnvelopeIdAttachments
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: envelopeId
in: path
description: "The envelope's GUID. \n\nExample: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`\n"
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult_2'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails_2'
deprecated: false
x-ds-methodname: deleteAttachments
x-ds-api-status: beta
description: 'Deletes one or more envelope attachments from a draft envelope.
It''s easy to confuse envelope attachments,
which are developer-only files associated with an envelope,
with signer attachments.
To learn about the different types of attachments, see Attachments in the concept guide.'
x-ds-method: delete
x-ds-service: Envelopes
x-ds-in-sdk: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest_2'
application/xml:
schema:
$ref: '#/components/schemas/envelopeAttachmentsRequest_2'
x-operation-id-source: normalized
x-operation-id-original: Attachments_DeleteAttachments
servers:
- url: https://www.docusign.net/restapi
/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}:
parameters: []
get:
tags:
- EnvelopeAttachments
summary: Retrieves an envelope attachment from an envelope
operationId: getV21AccountsByAccountIdEnvelopesByEnvelopeIdAttachmentsByAttachmentId
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: attachmentId
in: path
required: true
description: The unique identifier for the attachment.
schema:
type: string
- name: envelopeId
in: path
description: "The envelope's GUID. \n\nExample: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`\n"
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/octet-stream:
schema:
type: string
format: binary
'400':
description: Error encountered.
content:
application/octet-stream:
schema:
$ref: '#/components/schemas/errorDetails_2'
deprecated: false
x-ds-methodname: getAttachment
x-ds-api-status: beta
description: 'Retrieves an envelope attachment from an envelope.
It''s easy to confuse envelope attachments,
which are developer-only files associated with an envelope,
with signer attachments.
To learn about the different types of attachments, see Attachments in the concept guide.'
x-ds-method: get
x-ds-service: Envelopes
x-ds-in-sdk: true
x-operation-id-source: normalized
x-operation-id-original: Attachments_GetAttachment
put:
tags:
- EnvelopeAttachments
summary: Updates an envelope attachment in a draft or in-process envelope
operationId: putV21AccountsByAccountIdEnvelopesByEnvelopeIdAttachmentsByAttachmentId
parameters:
- name: accountId
in: path
description: The external account number (int) or account ID GUID.
required: true
schema:
type: string
- name: attachmentId
in: path
required: true
description: The unique identifier for the attachment.
schema:
type: string
- name: envelopeId
in: path
description: "The envelope's GUID. \n\nExample: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`\n"
required: true
schema:
type: string
responses:
'200':
description: Successful response.
content:
application/json:
schema:
$ref: '#/components/schemas/envelopeAttachmentsResult_2'
'400':
description: Error encountered.
content:
application/json:
schema:
$ref: '#/components/schemas/errorDetails_2'
deprecated: false
x-ds-methodname: putAttachment
x-ds-api-status: beta
description: 'Updates an envelope attachment to a draft or in-process envelope.
It''s easy to confuse envelope attachments,
which are developer-only files associated with an envelope,
with signer attachments.
To learn about the different types of attachments, see Attachments in the concept guide.'
x-ds-method: update
x-ds-service: Envelopes
x-ds-in-sdk: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/attachment_2'
application/xml:
schema:
$ref: '#/components/schemas/attachment_2'
x-operation-id-source: normalized
x-operation-id-original: Attachments_PutAttachment
servers:
- url: https://www.docusign.net/restapi
components:
schemas:
attachment:
type: object
properties:
accessControl:
type: string
description: ''
attachmentId:
type: string
description: ''
attachmentType:
type: string
description: Specifies the type of the attachment for the recipient.
data:
type: string
description: ''
label:
type: string
description: ''
name:
type: string
description: ''
remoteUrl:
type: string
description: ''
description: Contains information about an attachment.
x-ds-definition-name: attachment
x-ms-summary: Contains information about an attachment.
errorDetails:
type: object
properties:
errorCode:
type: string
description: An error code associated with the error.
message:
type: string
description: A short error message.
description: This object describes errors that occur. It is only valid for responses, and ignored in requests.
x-ds-definition-name: errorDetails
x-ms-summary: This object describes errors that occur. It is only valid for responses, and ignored in requests.
envelopeAttachmentsRequest:
type: object
properties:
attachments:
type: array
description: ''
items:
$ref: '#/components/schemas/attachment'
description: ''
x-ds-definition-name: envelopeAttachmentsRequest
x-ms-summary: ''
envelopeAttachment:
type: object
properties:
accessControl:
type: string
description: ''
attachmentId:
type: string
description: ''
attachmentType:
type: string
description: ''
errorDetails:
$ref: '#/components/schemas/errorDetails'
label:
type: string
description: ''
name:
type: string
description: ''
description: ''
x-ds-definition-name: envelopeAttachment
x-ms-summary: ''
envelopeAttachmentsResult:
type: object
properties:
attachments:
type: array
description: ''
items:
$ref: '#/components/schemas/envelopeAttachment'
description: ''
x-ds-definition-name: envelopeAttachmentsResult
x-ms-summary: ''
attachment_2:
description: Contains information about an attachment.
type: object
properties:
accessControl:
description: Valid values are `sender` and `senderAndAllRecipients`.
type: string
attachmentId:
description: The unique identifier for the attachment.
type: string
attachmentType:
description: Specifies the type of the attachment for the recipient.
type: string
data:
description: A Base64-encoded representation of the attachment that is used to upload and download the file. File attachments may be up to 50 MB in size.
type: string
label:
description: "A label for the attachment. Potential values include: \n\n- `guidedForm`: [Guided forms](https://www.docusign.com/products/guided-forms) provide a step-by-step, mobile-ready experience to help signers easily complete long or complex forms.\n- `eventNotifications`: A list of envelope-level event statuses that trigger Connect to send updates to the endpoint specified in the `url` property. \n"
type: string
name:
description: The name of the attachment.
type: string
remoteUrl:
description: The URL of a previously staged chunked upload. Using a chunked upload enables you to stage a large, chunkable temp file. You then use the `remoteUrl` property to reference the chunked upload as the content in attachment and document-related requests. The `remoteUrl` property cannot be used for downloads.
type: string
x-ds-definition-name: attachment
x-ms-summary: Contains information about an attachment.
errorDetails_2:
description: This object describes errors that occur. It is only valid for responses and ignored in requests.
type: object
properties:
errorCode:
description: The code associated with the error condition.
type: string
message:
description: A brief message describing the error condition.
type: string
x-ds-definition-name: errorDetails
x-ms-summary: This object describes errors that occur. It is only valid for responses and ignored in requests.
envelopeAttachmentsRequest_2:
type: object
properties:
attachments:
description: An object that contains information about the attachment.
type: array
items:
$ref: '#/components/schemas/attachment_2'
x-ds-definition-name: envelopeAttachmentsRequest
description: ''
x-ms-summary: ''
envelopeAttachment_2:
type: object
properties:
accessControl:
description: Valid values are `sender` and `senderAndAllRecipients`.
type: string
attachmentId:
description: The unique identifier for the attachment.
type: string
attachmentType:
description: 'Specifies the type of the attachment for the recipient. Possible values are:
- `.htm`
- `.xml`'
type: string
errorDetails:
$ref: '#/components/schemas/errorDetails_2'
description: This object describes errors that occur. It is only valid for responses and ignored in requests.
label:
description: ''
type: string
name:
description: ''
type: string
x-ds-definition-name: envelopeAttachment
description: ''
x-ms-summary: ''
envelopeAttachmentsResult_2:
type: object
properties:
attachments:
description: An array of attachment objects that contain information about the attachments.
type: array
items:
$ref: '#/components/schemas/envelopeAttachment_2'
x-ds-definition-name: envelopeAttachmentsResult
description: ''
x-ms-summary: ''
x-refined-from:
- docusign-openapi-original.yml
- docusign-openapi.json
x-ds-categories:
- name: UserManagement
summary: Methods to manage users in an account.
description: Methods to manage users in an account.
- name: BulkOperations
summary: Methods to import and export users and accounts.
description: Methods to import and export users and accounts.
- name: IdentityProviders
summary: Methods to get a list of identity providers.
description: Methods to get a list of identity providers.
- name: ReservedDomains
summary: Methods to get a list of reserved domains.
description: Methods to get a list of reserved domains.
- name: Organization
summary: Methods for working with organizations.
description: Methods for working with organizations.
x-original-swagger-version: '2.0'