Skip to main content
Server SDKs make it easier to interact with our REST API from your server-side code.

Installation

  • Node.js
  • C#
  • Java
  • Ruby
  • Python
  • PHP
  • Go
npm install @authsignal/node

Initialization

Initialize the Authsignal client by providing your tenant’s secret key and the API URL for your region.
import { Authsignal } from "@authsignal/node";

const authsignal = new Authsignal({
  apiSecretKey: "YOUR_SECRET_KEY",
  apiUrl: "YOUR_API_URL",
});

Regions

The API URLs for each region are defined below.
RegionAPI URL
US (Oregon)https://api.authsignal.com/v1
AU (Sydney)https://au.api.authsignal.com/v1
EU (Dublin)https://eu.api.authsignal.com/v1

Usage

Repositories