For the complete documentation index, see llms.txt. This page is also available as Markdown.

List Integration Panels

List every active integration panel for the authenticated community with its stored instances.

GET https://api.sonorancad.com/v2/integration-panels

Rate limit: 120 requests per minute per API key.

List every active integration panel for the authenticated community with its stored instances.

Example Request

-- luarocks install sonoran.lua
local Sonoran = require("sonoran")
local sonoran = Sonoran.createClient({
  product = Sonoran.productEnums.CAD,
  communityId = "YOUR_COMMUNITY_ID",
  apiKey = "YOUR_API_KEY",
  defaultServerId = 1
})

local response = sonoran.cad:getIntegrationPanelsV2()
print(response.success)

Use this tab from the server side of a FiveM resource. Never expose the API key to client scripts.

Sonoran.lua and Sonoran.js use the configured client exported by sonorancad. Sonoran.Net must read the CAD convars and create a client. Grant the resource access to the protected key with add_convar_permission your-resource-name read sonoran_apiKey.

Sonoran.lua

local cad = exports["sonorancad"]:getCadClient()
local response = cad:getIntegrationPanelsV2()
print(response.success)

Sonoran.js

(async () => {
  const cad = exports["sonorancad"].getCadClient();
  const response = await cad.getIntegrationPanelsV2();
  console.log(response.success ? response.data : response.reason);
})();

Sonoran.Net

using CitizenFX.Core.Native;
using Sonoran;

var communityId = API.GetConvar("sonoran_communityID", "");
var apiKey = API.GetConvar("sonoran_apiKey", "");
var serverId = int.TryParse(API.GetConvar("sonoran_serverId", "1"), out var parsed) ? parsed : 1;

using var sonoran = new SonoranClient(new SonoranClientOptions
{
    product = SonoranProduct.CAD,
    communityId = communityId,
    apiKey = apiKey,
    defaultServerId = serverId
});

var response = await sonoran.Cad.getIntegrationPanelsV2();

Import this YAML into Postman with Import -> Raw text.

Response

[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "key": "example.fire-alarms",
    "name": "Fire Alarm",
    "definition": { "schemaVersion": 1, "name": "Fire Alarm", "body": [] },
    "updatedAt": "2026-08-25T18:00:00Z",
    "instances": [
      { "instanceKey": "default", "state": {}, "revision": 4, "updatedAt": "2026-08-25T18:01:00Z" }
    ]
  }
]

Last updated

Was this helpful?