API Endpoints
View all of our API endpoints, learn about our data structuring, and integrate your framework with Sonoran CMS.
Last updated
View all of our API endpoints, learn about our data structuring, and integrate your framework with Sonoran CMS.
Last updated
Looking for VPS, web, or dedicated hosting? Check out our official server hosting!
Sonoran CMS offers a complete Node API library from NPM!
npm i @sonoransoftware/sonoran.js
Learn more about our NPM library!
View all general endpoints for user account actions, administrative actions, and more!
View all server endpoints for game server whitelist, server management, etc.
View all event endpoints for calendar events!
This example makes a get community account request based on a given API ID (Discord ID here). This uses the Axios library to help make the HTTP POST request.
The server response is then logged to console.
This example makes a get community account request based on a given API ID (Discord ID here). This uses the FiveM performHttpRequest native to help make the HTTP POST request.
The server response is then logged to console.
Each endpoint requires a certain subscription, some may be available for communities on the Free plan or some may require the Pro plan, the table below shows what subscription is required per endpoint.
Endpoint | Minimum Subscription Level |
---|---|
/general/get_sub_version
/general/check_com_apiid
/general/get_com_account
/general/get_account_ranks
/general/clock_in_out
/servers/get_game_servers
/servers/verify_whitelist
/servers/full_whitelist