Skip to main content
Fetch Cases
curl --request GET \
  --url https://sigmaprod.sabipay.com/case-management/listing \
  --header 'apiKey: <api-key>' \
  --header 'apiSecret: <api-key>'
{
  "message": "Cases fetched successfully",
  "data": {
    "cases": [
      {
        "_id": "6801c4f2a3b7d8e9f1c2d3e4",
        "module": "transaction-monitoring",
        "title": "High-value transaction requiring review",
        "description": "A transfer of ₦4,500,000 was flagged by the fraud scoring engine with a score of 87.",
        "priority": "high",
        "status": "open",
        "assignedTo": {
          "_id": "64a9f1c2d3e4b5a6c7d8e9f0",
          "firstName": "Amaka",
          "lastName": "Osei"
        },
        "assignedBy": {
          "_id": "63e8b0a1c2d3f4e5a6b7c8d9",
          "firstName": "Tunde",
          "lastName": "Adeyemi"
        },
        "dueDate": "2026-04-25T23:59:59.000Z",
        "isEscalated": false,
        "createdAt": "2026-04-22T09:15:42.000Z",
        "updatedAt": "2026-04-22T09:15:42.000Z"
      },
      {
        "_id": "6801d5a3b4c8e9f0a1b2c3d5",
        "module": "aml",
        "title": "PEP match — senior government official",
        "description": "Customer returned a high-confidence PEP match during onboarding screening. Requires enhanced due diligence before account activation.",
        "priority": "high",
        "status": "in progress",
        "assignedTo": {
          "_id": "64a9f1c2d3e4b5a6c7d8e9f0",
          "firstName": "Amaka",
          "lastName": "Osei"
        },
        "assignedBy": {
          "_id": "63e8b0a1c2d3f4e5a6b7c8d9",
          "firstName": "Tunde",
          "lastName": "Adeyemi"
        },
        "dueDate": "2026-04-24T17:00:00.000Z",
        "isEscalated": true,
        "createdAt": "2026-04-21T14:30:00.000Z",
        "updatedAt": "2026-04-22T08:45:00.000Z"
      }
    ],
    "total": 2,
    "page": 1,
    "limit": 20,
    "analytics": {
      "openCases": 1,
      "overdue": 0,
      "resolved": 3,
      "closed": 1,
      "averageCompletionTime": [
        {
          "formatted": "1d 4h"
        }
      ],
      "resolvedTypes": [
        {
          "_id": "high",
          "count": 2
        },
        {
          "_id": "medium",
          "count": 1
        }
      ]
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://sigma-docs.pastel.africa/llms.txt

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

Use view=me to retrieve only cases assigned to the authenticated user, or view=all to retrieve all cases for your business. Pass analytics=true to include a summary of open, overdue, resolved, and closed counts alongside the results.

Authorizations

apiKey
string
header
required
apiSecret
string
header
required

Query Parameters

view
enum<string>
required

me returns only cases assigned to the authenticated user. all returns all cases for the business.

Available options:
me,
all
page
integer
default:1

Page number for pagination.

limit
integer
default:20

Number of cases to return per page.

status
enum<string>

Filter cases by status.

Available options:
open,
in progress,
resolved,
closed,
escalated
priority
enum<string>

Filter cases by priority.

Available options:
low,
medium,
high
sort
enum<string>

Sort order for the results.

Available options:
due date,
priority,
newest

Free-text search across case titles and descriptions.

analytics
enum<string>

When true, includes a summary of case counts and average completion time in the response.

Available options:
true,
false
recordId
string

Filter cases linked to a specific Sigma record ID.

Response

Cases returned successfully

message
string
Example:

"Cases fetched successfully"

data
object