UNPKG

boldsign

Version:

NodeJS client for boldsign

14 lines (12 loc) 447 B
import { GroupContactsApi } from "../api"; const contactGroupApi = new GroupContactsApi(); contactGroupApi.setApiKey("API_KEY"); async function getContactGroup() { try { var contactGroup = await contactGroupApi.getGroupContact("GROUP_ID"); console.log("Contact Group Details:", contactGroup); } catch (error: any) { console.error("Error occurred while calling the API:", error.message); } } getContactGroup();