Use the FiveMesh SDK resource to call FiveMesh CDN from FiveM server scripts.
The FiveMesh SDK is a FiveM resource that connects your server scripts to the FiveMesh API.Use it when a resource needs to upload, list, delete or purge FiveMesh CDN objects without hand-writing HTTP requests. The SDK keeps your service key on the server side. Client exports call back to the server resource before anything is sent to FiveMesh.
Do not place a FiveMesh service key in client-side Lua, NUI code or browser bundles. Configure the key as a server ConVar and let the SDK call the API from the server resource.
Scope the service key to the path your resource owns, such as /phone, /screenshots or /inventory. This limits what the script can access if the key is copied by mistake.