UNPKG

boldsign

Version:

NodeJS client for boldsign

15 lines (13 loc) 479 B
import { DocumentApi } from '../api/documentApi'; const documentApi = new DocumentApi(); documentApi.setApiKey("YOUR_API_KEY"); var page = 1; async function getTeamDocuments() { try { var teamDocumentResponse = await documentApi.teamDocuments(page); console.log("Team Documents fetched successfully:", teamDocumentResponse); } catch (error:any) { console.error("Error occurred while calling the API:", error.message); } } getTeamDocuments();