Adds a document to an existing draft envelope.

Request

HTTP request

PUT /v2/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}

Parameters

Parameter name Value Description
Path parameters
accountId string

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

documentId string

The ID of the document being accessed.

envelopeId string

The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec

Optional query parameters
apply_document_fields string

When true, document fields can be added or modified while adding or modifying envelope documents.

Responses

Code Description Reference
200 OK Successful response.
400 Bad Request Error encountered.

SDK Method

Envelopes::updateDocument

Definitions Expand All | Collapse All

errorDetails

This object describes errors that occur. It is only valid for responses, and ignored in requests.

errorCode string

An error code associated with the error.

message string

A short error message.