API Endpoints

View all of our API endpoints, learn about our data structuring, and integrate your framework with Sonoran CAD.

circle-info

API endpoints are not enabled with the free version of Sonoran CAD. For more information, see our pricing or view how to check your community limits.

circle-check

Available API Endpoints

Emergency Endpoints

View all emergency endpoints including unit actions, emergency calls, dispatching, and more!

Emergencychevron-right

Civilian Endpoints

View all civilian endpoints including creating new characters, modifying licenses, vehicle registrations, and more!

Civilianchevron-right

General Endpoints

View all general endpoints for user account actions, administrative actions, and more!

Generalchevron-right

API Code Examples

Javascript

This example makes a unit panic request based on a unit's API ID. This uses the Axios libraryarrow-up-right to help make the HTTP POST request.

The server response is then logged to console.

Lua

This example makes a unit panic request based on a unit's API ID. This uses the FiveM performHttpRequest nativearrow-up-right to help make the HTTP POST request.

The server response is then logged to console.

Last updated

Was this helpful?