Skip to main content

API Management

When your account is created, a new API key and secret are automatically generated for you. You can view these API credentials directly from the Sigma Dashboard. Only your company administrator account has the authority to revoke these credentials and generate new API key and secret pairs.

Important

Your API Credentials can be found in 'My Account' -> 'API Keys and Webhooks' section

API Requests

To send an API request to sigma:

Add these to your headers for all requests:

{
"API_KEY": "[YOUR APP API_KEY]",
"API_SECRET": "[YOUR APP API_SECRET]",
"Content-Type": "application/json"
}

Example

const axios = require("axios");

const API_KEY = "[YOUR APP API_KEY]";
const API_SECRET = "[YOUR APP API_SECRET]";
const url = "https://sigmaprod.sabipay.com";

const headers = {
API_KEY: API_KEY,
API_SECRET: API_SECRET,
"Content-Type": "application/json",
};

axios
.get(url, { headers: headers })
.then((response) => {
console.log(response.data);
})
.catch((error) => {
console.error("Error making the request:", error);
});

This ensure your request is properly authenticated and understood by Sigma. Replace [YOUR APP API_KEY] and [YOUR APP API_SECRET] with your actual API credentials while sending the request.