Skip to main content
POST https://api.sonorancad.com/v2/fivem/servers/{serverId}/configuration/migrate Upload the server’s existing settings when its startup configuration request reports that migration is pending. CAD saves the configuration for that server and makes it available to fetch.

Authentication and parameters

Send Authorization: Bearer YOUR_API_KEY and Content-Type: application/json. The URL must identify a server registered in the API key’s CAD community. If the export includes core.serverId, it must match the same ID. Keep local bootstrap settings out of new exports. CAD strips communityID, apiKey, serverId, and mode from the uploaded core settings before saving.

Example request

Create a request body like the one below. The example is abbreviated. Use the server’s exported configuration as the value of config.

Response

A 200 OK with status saved means the upload succeeded. Status alreadyMigrated means this server has a saved configuration. A repeated upload preserves any subsequent edits in CAD. Fetch the configuration after either result.