GET https://api.sonorancad.com/v2/fivem/servers/{serverId}/configuration
Fetch the full configuration for one server when the FiveM resource starts. Each server in a CAD community has its own settings. In CAD, open Admin > Integrations > In-Game Integration > Manage Your Game Setup, select the server, and save your changes. The resource reads the saved settings on its next start.
This reference applies to versions of CAD and the FiveM resource that support CAD-managed configuration.
Authentication and parameters
SendAuthorization: Bearer YOUR_API_KEY. Replace serverId with the positive numeric ID of a server registered in the API key’s CAD community. The request has no body.
Pass the installed SonoranCAD FiveM resource version as the required version query parameter. It must be a nonempty string, such as "3.4.0".
Set the optional boolean freshInstall to true when the resource has no legacy configuration to migrate. CAD saves and returns the full default configuration if the server has no saved settings. This completes setup without a migration upload and makes the submodule settings available in the CAD panel. If settings are already saved, CAD returns them. The parameter defaults to false.
Example request
Response
A200 OK response contains a single JSON object with core and each plugin as top-level sections. This abbreviated example shows the shape:
production or development). The resource keeps its API key and server ID in its local bootstrap settings.

