Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qanapi.com/llms.txt

Use this file to discover all available pages before exploring further.

Import and Instantiate the Qanapi SDK client

import Qanapi from 'qanapi';

const client = new Qanapi({
  apiKey: 'YOUR_API_KEY',
  subdomain: 'courageous-hamster.qanapi-sandbox.cloud', // optional (necessary on sandbox environments)
  baseURL: 'https://courageous-hamster.qanapi-sandbox.cloud/api/v2', // optional (necessary on sandbox environments)
  logLevel: 'debug', // optional
  maxRetries: 0, // optional (2 default)
});