Copy link to clipboard
Copied
In order to send an agreement using the API, one is required to provide the "libraryDocumentId" under "fileInfos" within "DocumentCreationInfo".
For a Library Template Document, is there a way to find out what this document id is from the Dashboard?
I can get it by invoking the "api/rest/v5/libraryDocuments" api - but have to reissue the oAuth token to invoke it. Would be easier if the libraryDocumentId were available somewhere in the Dashboard.
On a separate note, when invoking the 'api/rest/v5/libraryDocuments' api, I keep getting a PERMISSION_DENIED error when using an access_token generated using the oauth/refresh api.
'Client error: `GET https://api.na1.echosign.com/api/rest/v5/libraryDocuments` resulted in a `403 Forbidden` response:
{"code":"PERMISSION_DENIED","message":"The API caller do not have the permission to execute this operation"}
The only way around this is to redo the OAuth steps to generate a new access_token.
Thanks,
Unmesh.
Have something to add?