API Endpoints
View all of our API endpoints, learn about our data structuring, and integrate your framework with Sonoran CAD.
Looking for the new header-based API? See v2 API Endpoints.
Looking for VPS, web, or dedicated hosting? Check out our official server hosting!
Available API Endpoints
Emergency Endpoints
View all emergency endpoints including unit actions, emergency calls, dispatching, and more!
Civilian Endpoints
View all civilian endpoints including creating new characters, modifying licenses, vehicle registrations, and more!
General Endpoints
View all general endpoints for user account actions, administrative actions, and more!
v2 API Endpoints
View the new versioned API with bearer authentication, resource-style routes, and structured error responses.
API Code Examples
Javascript
This example makes a unit panic request based on a unit's API ID. This uses the Axios library 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 native to help make the HTTP POST request.
The server response is then logged to console.
Last updated
Was this helpful?

