UNPKG

boldsign

Version:

NodeJS client for boldsign

15 lines (13 loc) 532 B
import { SenderIdentitiesApi } from '../api/senderIdentitiesApi'; const senderIdentitiesApi = new SenderIdentitiesApi(); senderIdentitiesApi.setApiKey("YOUR_API_KEY"); var email = "luthercooper@cubeflakes.com"; async function rerequestInvitation() { try { await senderIdentitiesApi.reRequestSenderIdentities(email); console.log("Sender identity re-requested successfully!"); } catch (error:any) { console.error("Error occurred while calling the API:", error.message); } } rerequestInvitation();