Alpha Version: SignEngine is currently in alpha testing. You need an invitation to register.
Skip to main content

Quick Start

This guide will help you get started with the SignEngine TypeScript SDK.

Initialization

First, import the configuration and API classes:

import { Configuration, EnvelopesApi } from "@repo/api-client";

Then, create a configuration object with your access token:

const config = new Configuration({
basePath: "https://api.signengine.com",
accessToken: "YOUR_JWT_TOKEN",
});

Making your first request

Now you can create an instance of the API class and make requests:

const envelopesApi = new EnvelopesApi(config);

async function listEnvelopes() {
try {
const response = await envelopesApi.getEnvelopes();
console.log("Envelopes:", response.data);
} catch (error) {
console.error("Error fetching envelopes:", error);
}
}

listEnvelopes();