init

Initialize the Airstack NodeJS SDK with Airstack API key. This is required to call the Airstack API.

Pre-requisites

Example

import { init } from "@airstack/airstack-react";

init("YOUR_AIRSTACK_API_KEY", { env: "dev", cache: true });

Function Signature

function init(
  key: string,
  _config?: Config
): void

Params

Last updated

Was this helpful?

Change request #946: