> ## Documentation Index
> Fetch the complete documentation index at: https://sigma-docs.pastelhq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> This is the API reference documentation for Sigma. It contains all the endpoints and their specifications.

### Overview

The Sigma API is a REST API that accepts JSON request bodies and returns JSON responses. All requests must be made over HTTPS.

The API is organised by product:

* **Transaction Monitoring** — submit transactions, manage rules, and handle blacklists
* **AML** — PEP checks, sanctions screening, and adverse media searches
* **Customer Due Diligence** — customer management, workflows, CDD requests, and reports
* **KYC** — BVN, NIN, and CAC identity lookups for individuals and businesses
* **Reporting** — submit transaction data for regulatory report generation

### Authentication

All requests to the Sigma API must include the following custom headers:

| Header      | Description     |
| ----------- | --------------- |
| `apiKey`    | Your API key    |
| `apiSecret` | Your API secret |

Both values are available from **My Account → API & Webhooks** in the Sigma dashboard.

Here is an example of how to set the headers in your requests:

```javascript theme={null}
const headers = {
  apiKey: "your-api-key-here",
  apiSecret: "your-api-secret-here",
};

fetch("https://sigmaprod.sabipay.com/api/v1/transaction-monitoring", {
  method: "GET",
  headers: headers,
})
  .then((response) => response.json())
  .then((data) => console.log(data))
  .catch((error) => console.error("Error:", error));
```

<Note>
  [Get API Key & Secret](../../account/api-webhook#view-%26-generate-api-keys)
</Note>

### Base URLs

Each product has its own base URL. See the [Environments](environments) page for the full list of staging and production URLs.

### Quick Links

<CardGroup cols={2}>
  <Card title="Environments" href="environments">
    Staging and production base URLs for each product.
  </Card>

  <Card title="Response Codes" href="response-codes">
    Standard HTTP response codes and what they mean.
  </Card>

  <Card title="Webhook Signature" href="signature">
    How to verify the authenticity of webhook payloads from Sigma.
  </Card>
</CardGroup>
