Skip to main content

Initialization

Initialize the client with your API key.
import Mynth from "@mynthio/sdk";

const mynth = new Mynth({
  apiKey: "YOUR_API_KEY", // Defaults to process.env.MYNTH_API_KEY
});

Options

PropertyTypeDescription
apiKeystringYour Mynth API key.
baseUrlstringOptional. Override the API base URL.