Skip to main content

Installation

Install the Arb SDK using npm or your preferred package manager:
npm install @arb-inc/node

Quick Start

Set up your API key as an environment variable:
export ARB_INC_API_KEY="your_api_key_here"
Create a file called example.js and add this code:
import ArbInc from '@arb-inc/node';

const client = new ArbInc({
  apiKey: process.env['ARB_INC_API_KEY'], // This is the default and can be omitted
});

const _case = await client.cases.create({ 
  primaryUserID: 'c17c3433-81b3-4096-90e0-9fbb32c06204' 
});

console.log(_case.caseID);
Execute the code with node example.js. You should see the case ID output.

TypeScript Support

The SDK includes full TypeScript definitions for all request params and response fields:
import ArbInc from '@arb-inc/node';

const params: ArbInc.CaseCreateParams = { 
  primaryUserID: 'c17c3433-81b3-4096-90e0-9fbb32c06204' 
};
const _case: ArbInc.CaseCreateResponse = await client.cases.create(params);

Learn more on GitHub

Discover more SDK capabilities, configuration options, and complete API documentation on the library’s GitHub README.

View on npm

See package details, version history, and installation statistics.

Requirements

  • Node.js 20 LTS or later
  • TypeScript >= 4.9 (for TypeScript users)

Support

For SDK issues or questions: