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

Auth Street Signs

Validate a street-sign request against the configured server ID and source IP.

POST https://api.sonorancad.com/v2/general/servers/{serverId}/street-sign-auth

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

Validate that the requesting IP address matches the configured smart-sign server entry.

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:authorizeStreetSignsV2(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?