Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to find a template libraryDocumentId from the Dashboard

New Here ,
May 19, 2017 May 19, 2017

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.

983
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation