Copy link to clipboard
Copied
I am trying to configure a request to the REST API to send a workflow. The workflow requires a file, which can be one of several depending on the request. When I pass the workflow library document ID of the file I want to include, in the "fileInfos" object, the API returns an error: INVALID_TRANSIENTDOCUMENT_ID
The API documentation says: Note: Only one of the four parameters in every FileInfo object must be specified even though the fileInfos object documentation only has three parameters: "name", "transientDocumentId", and "workflowLibraryDocumentId" and none of them are specified as optional.
{
"documentCreationInfo": {
"name": "TEST AGREEMENT NAME",
"fileInfos": [
{
"name": "document1",
"workflowLibraryDocumentId": "...ENwh1iObQMUWQEfMo9KHyf7D..."
}
],
"recipientsListInfo": [
{
"name": "Signer1",
"recipients": [
{
"email": "test@example.com"
}
]
}
]
}
}
Am I misunderstanding? Does someone have a working snipped of JSON to get me started here? Or is this an error in the API?
Copy link to clipboard
Copied
Here are some notes that I took on what I've discovered to get workflow sending to function. These aren't described anywhere else, so hopefully these help someone besides myself.
It seems that there is a lot of work that needs to go into to the workflow designer as well as making the actual API call, but it's not really outlined anywhere...