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

Get Identifiers

Retrieve identifiers for an account.

GET https://api.sonorancad.com/v2/emergency/accounts/{accountUuid}/identifiers

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

Retrieve the selected identifier and all identifiers for an account.

Path Parameters

Name
Type
Description

accountUuid

string (uuid)

Sonoran CAD account UUID.

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:getIdentifiersV2('00000000-0000-0000-0000-000000000000')

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

Response

Successful requests return application/json.

Enumeration Values

UNIT_STATUS

Value
Description

0

UNAVAILABLE

1

BUSY

2

AVAILABLE

3

ENROUTE

4

ON_SCENE

100

OFFLINE

UNIT_PAGE

Value
Description

0

POLICE

1

FIRE

2

EMS

3

DISPATCH

-1

UNKNOWN

Last updated

Was this helpful?