Getting Started

Welcome to the Niara API documentation! This guide provides everything you need to start using our platform quickly and efficiently.


Authentication

All endpoints in this API are protected by API Key authentication. Your first step is to generate an API key from the Niara web app.

Here’s how to do it:

  1. Access the Niara app and log in to your account.
  2. Navigate to the API key generation section. Api Key Page
  3. Click on "Generate API Key," fill out the form, and copy the generated key. Api Key Dialog
  4. Important: Store this key in a secure location. For security reasons, you will not be able to see it again. Api Key Saved

Making a Request

Once you have your API Key, you can begin making requests. Below is an example of an authenticated request using fetch in JavaScript/TypeScript.

Fetch Example
const res = await fetch("https://api.niara.ai/{endpoint}", {
  headers: {
    Authorization: "Bearer <your_api_key_here>",
  },
});