Satisfactory Server Console Commands and HTTPS API Tokens Explained
Satisfactory's dedicated server has a short list of console commands, run from the console tab of the in-game Server Manager. The ones most owners need are server.SaveGame to save a named session, and server.GenerateAPIToken to create a token for tools that use the server's HTTPS API.
This guide covers each command, how the API token works, and the safety rules. It was checked on 2026-11-15 against the community Satisfactory wiki's dedicated server page, so details can change with game updates. Most players never need the API, so if all you want is to claim a server, see the setup guide.
- Run console commands from the Server Manager's console tab in the game. The wiki says it is the way to run them.
server.SaveGame NAMEsaves the current session. Put quotes around a name with spaces.server.GenerateAPITokencreates an application token for the HTTPS API.server.InvalidateAPITokenscancels every token made so far.- The HTTPS API uses TCP port 7777, the same port as other server traffic.
- Treat an API token like a password, and avoid the insecure local access command unless you understand it.
On this page
Where to run the commands
Open the game, go to Server Manager, select your claimed server and use its console tab. This needs the administrator access you set when you claimed the server. If you have not claimed your server yet, do that first. See how to claim a Satisfactory server.
The commands
| Command | What it does |
|---|---|
server.SaveGame NAME | Saves the current session under that name. Quote the name if it contains spaces. |
server.GenerateAPIToken | Generates an application token for the HTTPS API. |
server.InvalidateAPITokens | Invalidates all tokens that were generated before. |
quit, stop or exit | Shuts the server process down. If the server runs as a service, it may restart on its own, so use the service manager instead. |
FG.DedicatedServer.AllowInsecureLocalAccess 1 | Allows unrestricted HTTPS API access from the local machine until the server restarts. |
Other settings, such as the autosave interval, are covered in the settings guide, and saves in the saves and backups guide.
Save a session by name
- Open the console tab
In Server Manager, select your server and open the console tab.
- Run the command
Use a name you will recognise. Quote it if it has spaces.
server.SaveGame "Before the update" - Check the save list
Open Manage Saves in Server Manager and confirm the save appears.
A named save is a handy checkpoint before a risky change, although it is not an off-site backup. Take a backup on the Backups tab too.
HTTPS API tokens
The server has an HTTPS API that tools can use to read status and manage the server. It listens on TCP port 7777, shared with other server traffic. To use it, a tool needs an application token.
- Generate a token
Run the command in the console tab and copy the token it shows.
server.GenerateAPIToken - Give it to your tool
Paste it into the tool you use and keep it private.
- Revoke if it leaks
To cancel all tokens at once, run the command below, then generate a new one.
server.InvalidateAPITokens
- A token gives access to the API, so treat it like a password.
- Revoking is all or nothing: the command invalidates every token generated earlier.
- The wiki documents the API itself on a separate page, which this guide does not cover.
The insecure local access command
FG.DedicatedServer.AllowInsecureLocalAccess 1 removes the token requirement for API calls coming from the same machine, until the server restarts. It is meant for local tools on a machine you control. On a hosted server there is rarely a reason to use it, and you should not turn it on unless you understand what can reach the server locally.
Troubleshooting
| Problem | Likely cause and fix |
|---|---|
| The console tab is missing | You may not be connected with administrator access, or the server may not be claimed yet. Claim it first. |
| A command is not recognised | Check the spelling, including the server. prefix. Commands can change between game versions. |
| The API rejects a request | The token was invalidated, copied wrongly, or you are not reaching port 7777 over TCP. |
The server restarts after quit | It runs as a service that restarts automatically. Use the panel's buttons instead. |
Looking for a host? See Satisfactory server hosting.
Frequently asked questions
How do I run console commands on a Satisfactory dedicated server?
Use the console tab of the in-game Server Manager, with administrator access to the server.
How do I save a Satisfactory server manually?
Run server.SaveGame followed by a name, with quotes if the name has spaces.
What does server.GenerateAPIToken do?
It creates an application token that tools use to authenticate with the server's HTTPS API.
What port does the Satisfactory HTTPS API use?
TCP 7777, which is shared with other server traffic.
How do I revoke Satisfactory API tokens?
Run server.InvalidateAPITokens. It invalidates every token generated before, so you need to generate new ones.