v1

latestOpenAPI 3.1.02026-07-2498134321.1 KB
Workflows

Create a Document on a Workflow

Create a document in the specified workflow attribute. If a document key to an existing draft document is provided, the new file will be uploaded as a new version of the existing document. For all other non-draft documents and when document key is absent, this operation will only append the new document to the document attribute array. Please note that to upload a signed document, reference the Create a Signed Document on a Workflow endpoint.

OAuth Scope required: public.workflows.createDocuments

post/workflows/{id}/documents/{attributeId}

Path parameters

idstring required

The unique identifier of a workflow

attributeIdstring required

The file attribute (e.g. "draft", "myFileField") - "document" type attributes can be found in the schema portion of the Retrieve a Workflow response.

Headers

x-as-user-emailstring
Example:jane.doe@test.com

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-id is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. More information about permissions.

x-as-user-idstring
Example:5f0375c4cdc1927a3c5edcd3

Denotes the actor of the request. When used, the API will take into account this user's permissions and access. This or x-as-user-email is required when the associated token was produced from the Client Credentials grant or with legacy bearer tokens on select endpoints. More information about permissions.

Response

204

object required