---
title: Sign (available version > 6.6.5)
slug: sign-available-version-greater-665
docTags: 
createdAt: 2022-01-05T09:27:36.000Z
---


Currently Link Enterprise has an endpoint to create a request to sign documents and send them to multiple users to sign the file.

:::ApiMethodV2
```json
{
  "tab": "request",
  "url": "https://localhost:82/scrud/createTask",
  "name": "Sign Documents",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "id",
        "type": "string",
        "description": "Unique id of box file or folder."
      },
      {
        "kind": "required",
        "name": "type",
        "type": "string",
        "description": "Name of metadata template in box."
      },
      {
        "kind": "required",
        "name": "selectedCMS",
        "type": "string",
        "description": "Value should always be set to \"box\" to let Link Enterprise know which configured content system to search."
      },
      {
        "kind": "required",
        "name": "body",
        "type": "Array",
        "description": "Json Array of strings (each index being a seperate line). \n\nOr can take a single string value \"singleLineExample\""
      },
      {
        "kind": "required",
        "name": "dueDate",
        "type": "string",
        "description": "Number of days from today the sign request is valid for.\n"
      },
      {
        "kind": "required",
        "name": "recipients",
        "type": "Array",
        "description": "Array of strings of recipients of the task (email id)\n\n*User may require permissions to file before being able to be assigned a sign request."
      },
      {
        "kind": "optional",
        "name": "enableSameDestination",
        "type": "Boolean",
        "description": "If true, signed document and signing log is stored in the same location as source file (destination id auto filledis generated by middleware).\n\nIf false, Signed Document and signing log is stored in the destination location.\n"
      },
      {
        "kind": "required",
        "name": "destinationId",
        "type": "string",
        "description": "location where the signed document and signing log is stored (Only when enableSameDestination is false)\n"
      }
    ],
    "formDataParameters": [
      {
        "kind": "optional",
        "name": "Parameter name",
        "type": "string",
        "description": ""
      }
    ]
  },
  "results": {
    "languages": [
      {
        "id": "qNYNaQPOhJ1UW-zegaFJ6",
        "code": "",
        "language": "200"
      },
      {
        "id": "FRMYak2F3gPEAHrtkDAvt",
        "code": "",
        "language": "500"
      }
    ],
    "selectedLanguageId": "qNYNaQPOhJ1UW-zegaFJ6"
  },
  "examples": {
    "languages": [
      {
        "id": "npeO0usSroLpgszC5fpHh",
        "code": "{\r\n   \"cmsName\":\"demoprod\",\r\n   \"id\":\"917235734365\",\r\n   \"taskType\":\"SIGN\",\r\n   \"recipients\":[\r\n      \"bhavanis@gimmal.com\"\r\n   ],\r\n   \"destinationId\":\"156906751612\",\r\n   \"type\":\"purchaseOrder\",\r\n   \"selectedCMS\":\"box\",\r\n   \"dueDate\":\"1\",\r\n   \"enableSameDestination\":false\r\n}",
        "language": "json"
      },
      {
        "id": "ZhU-IX53oNPcu7rTsSn1n",
        "code": "",
        "language": "none"
      }
    ],
    "selectedLanguageId": "npeO0usSroLpgszC5fpHh"
  },
  "description": "Create a sign request on a document",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "sign-documents",
  "legacyHash": "HXHKMmNOQG4Wu9Aaw6lE_"
}
```
:::

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://localhost:82/scrud/createTask",
  "name": "Sign Documents",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "id",
        "type": "string",
        "description": "Unique id of box file or folder."
      },
      {
        "kind": "required",
        "name": "type",
        "type": "string",
        "description": "Name of metadata template in box."
      },
      {
        "kind": "required",
        "name": "selectedCMS",
        "type": "string",
        "description": "Value should always be set to \"box\" to let Link Enterprise know which configured content system to search."
      },
      {
        "kind": "required",
        "name": "body",
        "type": "Array",
        "description": "Json Array of strings (each index being a seperate line). \n\nOr can take a single string value \"singleLineExample\""
      },
      {
        "kind": "required",
        "name": "dueDate",
        "type": "string",
        "description": "Number of days from today the sign request is valid for.\n"
      },
      {
        "kind": "required",
        "name": "recipients",
        "type": "Array",
        "description": "Array of strings of recipients of the task (email id)\n\n*User may require permissions to file before being able to be assigned a sign request."
      },
      {
        "kind": "optional",
        "name": "enableSameDestination",
        "type": "Boolean",
        "description": "If true, signed document and signing log is stored in the same location as source file (destination id auto filledis generated by middleware).\n\nIf false, Signed Document and signing log is stored in the destination location.\n"
      },
      {
        "kind": "required",
        "name": "destinationId",
        "type": "string",
        "description": "location where the signed document and signing log is stored (Only when enableSameDestination is false)\n"
      }
    ],
    "formDataParameters": [
      {
        "kind": "optional",
        "name": "Parameter name",
        "type": "string",
        "description": ""
      }
    ]
  },
  "results": {
    "languages": [
      {
        "id": "qNYNaQPOhJ1UW-zegaFJ6",
        "code": "",
        "language": "200"
      },
      {
        "id": "FRMYak2F3gPEAHrtkDAvt",
        "code": "",
        "language": "500"
      }
    ],
    "selectedLanguageId": "qNYNaQPOhJ1UW-zegaFJ6"
  },
  "examples": {
    "languages": [
      {
        "id": "npeO0usSroLpgszC5fpHh",
        "code": "{\r\n   \"cmsName\":\"demoprod\",\r\n   \"id\":\"917235734365\",\r\n   \"taskType\":\"SIGN\",\r\n   \"recipients\":[\r\n      \"bhavanis@gimmal.com\"\r\n   ],\r\n   \"destinationId\":\"156906751612\",\r\n   \"type\":\"purchaseOrder\",\r\n   \"selectedCMS\":\"box\",\r\n   \"dueDate\":\"1\",\r\n   \"enableSameDestination\":false\r\n}",
        "language": "json"
      },
      {
        "id": "ZhU-IX53oNPcu7rTsSn1n",
        "code": "",
        "language": "none"
      }
    ],
    "selectedLanguageId": "npeO0usSroLpgszC5fpHh"
  },
  "description": "Use case scenario: Store signed document and signing log where orginal document is.\n\nWhen the enableSameDestination is set to true the signed document and signing log will be stored in the same location as source file (i.e; the parent folder of id)\n",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "sign-documents-1",
  "legacyHash": "PIpIPihk5V3X_YsFdpJ32"
}
```
:::

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://localhost:82/scrud/createTask",
  "name": "Sign Documents",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "id",
        "type": "string",
        "description": "Unique id of box file or folder."
      },
      {
        "kind": "required",
        "name": "type",
        "type": "string",
        "description": "Name of metadata template in box."
      },
      {
        "kind": "required",
        "name": "selectedCMS",
        "type": "string",
        "description": "Value should always be set to \"box\" to let Link Enterprise know which configured content system to search."
      },
      {
        "kind": "required",
        "name": "body",
        "type": "Array",
        "description": "Json Array of strings (each index being a seperate line). \n\nOr can take a single string value \"singleLineExample\""
      },
      {
        "kind": "required",
        "name": "dueDate",
        "type": "string",
        "description": "Number of days from today the sign request is valid for.\n"
      },
      {
        "kind": "required",
        "name": "recipients",
        "type": "Array",
        "description": "Array of strings of recipients of the task (email id)\n\n*User may require permissions to file before being able to be assigned a sign request."
      },
      {
        "kind": "optional",
        "name": "enableSameDestination",
        "type": "Boolean",
        "description": "If true, signed document and signing log is stored in the same location as source file (destination id auto filledis generated by middleware).\n\nIf false, Signed Document and signing log is stored in the destination location.\n"
      },
      {
        "kind": "required",
        "name": "destinationId",
        "type": "string",
        "description": "location where the signed document and signing log is stored (Only when enableSameDestination is false)\n"
      }
    ],
    "formDataParameters": [
      {
        "kind": "optional",
        "name": "Parameter name",
        "type": "string",
        "description": ""
      }
    ]
  },
  "results": {
    "languages": [
      {
        "id": "qNYNaQPOhJ1UW-zegaFJ6",
        "code": "",
        "language": "200"
      },
      {
        "id": "FRMYak2F3gPEAHrtkDAvt",
        "code": "",
        "language": "500"
      }
    ],
    "selectedLanguageId": "qNYNaQPOhJ1UW-zegaFJ6"
  },
  "examples": {
    "languages": [
      {
        "id": "npeO0usSroLpgszC5fpHh",
        "code": "{\r\n   \"cmsName\":\"demoprod\",\r\n   \"id\":\"917235734365\",\r\n   \"taskType\":\"SIGN\",\r\n   \"recipients\":[\r\n      \"bhavanis@gimmal.com\",\r\n      \"singetambhavani7@gmail.com\"\r\n   ],\r\n   \"destinationId\":\"156906751612\",\r\n   \"type\":\"purchaseOrder\",\r\n   \"selectedCMS\":\"box\",\r\n   \"dueDate\":\"1\",\r\n   \"enableSameDestination\":false\r\n}",
        "language": "json"
      },
      {
        "id": "ZhU-IX53oNPcu7rTsSn1n",
        "code": "",
        "language": "none"
      }
    ],
    "selectedLanguageId": "npeO0usSroLpgszC5fpHh"
  },
  "description": "Use case scenario: Multiple Sign Recipients.\n\nThe request can be sent to multiple signers. If one signer declines the request the whole request will be cancelled.\n",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "sign-documents-2",
  "legacyHash": "0leZNxFv7elThWwOxLyQK"
}
```
:::



