Envelope Attachments

Adds one or more envelope attachments to a draft or in-process envelope

PUT
/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments

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.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

envelopeId*string

The envelope's GUID.

Example: 93be49ab-xxxx-xxxx-xxxx-f752070d71ec

Request Body

application/json

attachments?array<>

An object that contains information about the attachment.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v2.1/accounts/string/envelopes/string/attachments" \  -H "Content-Type: application/json" \  -d '{}'
{  "attachments": [    {      "accessControl": "string",      "attachmentId": "string",      "attachmentType": "string",      "errorDetails": {        "errorCode": "string",        "message": "string"      },      "label": "string",      "name": "string"    }  ]}