v1

latestOpenAPI 3.1.02026-07-2498134321.1 KB
Workflows

Retrieve Documents from a Workflow

Retrieve all documents from a workflow that are included and excluded from the signature packet.

OAuth Scope required: public.workflows.readDocuments

get/workflows/{id}/documents

Path parameters

idstring required

The unique identifier or Ironclad ID of a workflow.

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

200

Example response

{
  "signaturePacketDocuments": [
    {
      "version": "B1QePArXb",
      "versionNumber": 2,
      "filename": "file.pdf",
      "key": "rJklwCHQ",
      "download": "/public/api/v1/workflows/594356b9fbcd7f74006fdf8a/document/rJklwCHQ/download",
      "lastModified": {
        "timestamp": "2016-11-17T00:37:22.318Z",
        "author": {
          "type": "internalUser",
          "companyName": "Jabba the Hutt Industries",
          "displayName": "Boba Fett",
          "email": "boba@example.com",
          "userId": "63d415e0dd0d828c3a878548"
        }
      }
    }
  ],
  "excludedFromSignaturePacketDocuments": [
    {
      "version": "B1QePArXb",
      "versionNumber": 2,
      "filename": "file.pdf",
      "key": "rJklwCHQ",
      "download": "/public/api/v1/workflows/594356b9fbcd7f74006fdf8a/document/rJklwCHQ/download",
      "lastModified": {
        "timestamp": "2016-11-17T00:37:22.318Z",
        "author": {
          "type": "internalUser",
          "companyName": "Jabba the Hutt Industries",
          "displayName": "Boba Fett",
          "email": "boba@example.com",
          "userId": "63d415e0dd0d828c3a878548"
        }
      }
    }
  ]
}