Skip to navigation

Upload document to request

View as Markdown
Uploads a new document to the specified request.

Authentication

AuthorizationBearer
Docusign OAuth 2.0 access token

Path parameters

accountIdstringRequiredformat: "uuid"
The ID of the account that owns the request statuses.
requestIdstringRequiredformat: "uuid"

The ID of the request (Agreement Desk ticket) the document belongs to.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
The document file to upload.
label_idstringOptionalformat: "uuid"
The optional identifier of a document label to assign.
namestringOptional
An optional display name for the document. Defaults to the uploaded file name.

Response

The document was uploaded to the request.
response_metadataobjectOptional
Control information and metadata for the response.
metadataobjectOptional
Audit and provenance metadata for a resource.
idstringOptionalRead-onlyformat: "uuid"
The unique identifier of the document.
namestringOptional
The file name of the document.
content_typestringOptional
The MIME type of the document content.
current_versionintegerOptional
The current version number of the document.
labelobjectOptional
A label assigned to a document.
_actionsobjectOptional

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