Skip to main content
GET https://api.sonorancad.com/v2/fivem/servers/{serverId}/configuration Fetch the resolved FiveM configuration for a server in the authenticated community. The response combines the current master catalog defaults with this community/server’s saved overrides. It includes core settings and all submodule settings, including their enabled states. Local bootstrap credentials (communityID, apiKey, serverId, and mode) are not part of values. Configure settings in CAD under In-Game Integration > FiveM. Save persists the configuration; Apply and restart separately sends the configuration push event. These API endpoints read and acknowledge configuration; they do not edit it. A revision of 0 means no configuration has been saved for this server. Defaults are returned, but the official resource waits for the first save before starting its submodules. schemaVersion describes the wire protocol; templateRevision identifies the master catalog and can change without changing the saved revision. Consumers must preserve dynamic object keys and JSON value types.

Authentication and parameters

Use Authorization: Bearer YOUR_API_KEY. serverId is the numeric ID of a server in that key’s community (example: 1). SDKs can use their configured default server: omit the GET argument, or pass nil / undefined / None / null as the acknowledgement’s first argument.

Example request

Response

The OpenAPI example abbreviates values; real responses contain the full resolved configuration. HTTP returns this object directly. SDKs expose it as response.data and use response.success for request status. On startup, the official resource fetches configuration before loading submodules and retries failed or unavailable configuration every 60 seconds. After loading, it acknowledges the revision. appliedRevision tracks the saved revision only; it does not record the catalog fingerprint or prove every integration is healthy. 401 means authentication failed. 404 means the server is not part of the authenticated community.