Get Pager Config

Retrieve Inferno pager configuration for a server.

GET https://api.sonorancad.com/v2/emergency/servers/{serverId}/pager-config

Rate limit: 2 requests per minute Authenticated v2 endpoints are rate limited per API key rather than per IP address.

Retrieve the normalized Inferno pager configuration for a server.

Path Parameters

Name
Type
Description

serverId

integer

Configured Sonoran CAD server ID.

Example Request

-- luarocks install sonoran.lua
-- For SonoranCADFiveM in-game usage, see the SonoranCADFiveM tab for the export-based client.
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:getPagerConfigV2(1)

-- Inspect response.success, response.data, or response.reason as needed.
print(response.success)

Response

Successful requests return application/json.

Last updated

Was this helpful?