Technical details about the Z-UCP API endpoints for external integrations.
The Z-UCP API is a RESTful API that uses JSON for communication. It is used to exchange data between the panel, the bridge, and external tools.
All requests to the API must include a valid API key in the header:
X-API-Key: YOUR_PROJECT_KEY
/api/v2/players)GET /api/v2/playersReturns a list of all players.
limit: (Optional) Number of results (Default: 50)offset: (Optional) Pagination offsetsearch: (Optional) Search by name or identifierGET /api/v2/players/:identifierReturns detailed information about a specific player (inventory, vehicles, account balances).
/api/v2/bridge)These endpoints send commands directly to the FiveM server.
POST /api/v2/bridge/:serverId/kickKicks a player from the server.
{
"target": "identifier",
"reason": "Rule violation"
}
POST /api/v2/bridge/:serverId/moneyGives money to or deducts it from a player.
{
"target": "identifier",
"type": "bank",
"amount": 5000,
"action": "add"
}
/api/v2/health)Returns the status of the API and database connections.
The API is limited to 100 requests per minute per project. If exceeded, a 429 Too Many Requests error is returned.
For enterprise tiers, the rate limit can be adjusted individually.