API Endpoints
View all of our API endpoints, learn about our data structuring, and integrate your framework with Sonoran CMS.
Looking for VPS, web, or dedicated hosting? Check out our official server hosting!
Sonoran JS - NPM Library
Sonoran CMS offers a complete Node API library from NPM!
npm i @sonoransoftware/sonoran.js
Learn more about our NPM library!
Available API Endpoints
General Endpoints
View all general endpoints for user account actions, administrative actions, and more!
GeneralServer Endpoints
View all server endpoints for game server whitelist, server management, etc.
ServersServer Endpoints
View all event endpoints for calendar events!
EventsAPI Code Examples
Javascript
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.
Lua
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.
Endpoints Subscription Requirements
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.
/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
Last updated