Push Events
Sonoran CAD pushes event data to your community for further integration possibilities. Learn more below!
All push events require the Plus version of Sonoran CAD or higher. For more information, see our pricing page.
Looking for VPS, web, or dedicated hosting? Check out our official server hosting!
Configuring your Listener
1. Admin Panel Configuration
Sonoran CAD will send events to http://ip:gameport/sonorancad/event
utilizing your existing game port.
Server IP and port configuration is automatically added by the FiveM resource on startup.
You can also manually configure the server information in the admin panel.
Developer Documentation
Many of our integration submodules rely on these push events for full functionality. Interested in developing your own plugins? Expand the push event and API endpoint documentation in the left side drawer.
Web Server Example
Javascript
You can create your own web server to listen and receive Sonoran CAD events. This could be on a Discord bot, an in-game script, etc.
In addition, you may already be receiving these events in your FiveM resource. The resource can be configured to "forward" all push events received to another custom webserver, like the example shown below. Simply set enablePushEventForwarding
to true
and pushEventForwardUrl
to your webserver's http://IP:Port
.
Last updated
Was this helpful?