Upload document to request
Uploads a new document to the specified request.
Authentication
AuthorizationBearer
Docusign OAuth 2.0 access token
Path parameters
accountId
The ID of the account that owns the request statuses.
requestId
The ID of the request (Agreement Desk ticket) the document belongs to.
Request
This endpoint expects a multipart form containing a file.
file
The document file to upload.
label_id
The optional identifier of a document label to assign.
name
An optional display name for the document. Defaults to the uploaded file name.
Response
The document was uploaded to the request.
_links
Hypermedia links for a document resource: a PageLinks superset (paging controls, if any) plus the DMS download link.
response_metadata
Control information and metadata for the response.
metadata
Audit and provenance metadata for a resource.
id
The unique identifier of the document.
name
The file name of the document.
content_type
The MIME type of the document content.
current_version
The current version number of the document.
label
A label assigned to a document.
_actions
Available actions on the document (HATEOAS). Left empty for now; reserved for future use.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
413
Content Too Large Error
415
Unsupported Media Type Error