Skip to content

FiveM: Require a Steam Account Instead of a Steam Web API Key

The Steam Web API Key no longer works with FiveM. Find out how to require a Steam account for your server instead using sv_enforceSteamAuth

26 November 20261 min read140 Views0 helpful

Don't have your own server yet? Host your FiveM server with ZAP-Hosting from €5.29 / month.Or try 3 days from €0.95

Introduction

FiveM servers used to need a Steam Web API Key when scripts and resources used Steam as an identifier. Since November 4, 2026, steam_webApiKey has had no effect. Instead, use sv_enforceSteamAuth to require players to have a Steam account linked to their Cfx.re account. This guide shows you how to set it up.

Require a Steam Account

Open your server.cfg, for example through the txAdmin interface under CFG Editor or in the Files tab, and add this line:

Code
set sv_enforceSteamAuth true

You need FXServer Build 38004 or later. You can choose the version your server starts with in the FXServer version card in the Configuration tab. When players without a linked Steam account connect, they’ll be prompted to link their Steam account to their Cfx.re account. Afterward, they’ll have a steam: identifier that your scripts and resources can use.

Info: Existing steam_webApiKey line

You can leave an existing set steam_webApiKey line in place; it no longer has any effect. However, some older resources won’t start if the value is empty. Update those resources before removing the line.

Conclusion

Restart your server afterward. The setting will take effect the next time your server starts. If you have any other questions or need help, our support team is available every day! 🙂

Free tools

FiveM Tools

View all

FAQ

Frequently asked questions

You no longer need a Steam Web API Key for FiveM; steam_webApiKey has had no effect since November 4, 2026. To use sv_enforceSteamAuth, you need FXServer Build 38004 or later. You can select the version in the FXServer Version card in the Configuration tab.
You no longer need to request one for FiveM because steam_webApiKey has had no effect since November 4, 2026. Instead, add set sv_enforceSteamAuth true to your server.cfg.
You can’t anymore; the key has had no effect since November 4, 2026. Instead, use the txAdmin CFG Editor to add set sv_enforceSteamAuth true to your server.cfg, then restart your server. Players without a linked Steam account will be prompted to link one when they connect.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.