cURL
curl --request GET \ --url https://api.mcmp.app/v1/servers/{serverId}/players \ --header 'Authorization: Bearer <token>'
{ "players": [ { "uuid": "<string>", "name": "<string>", "online": true, "lastSeen": "2023-11-07T05:31:56Z", "joinTime": "2023-11-07T05:31:56Z", "location": { "world": "<string>", "x": 123, "y": 123, "z": 123 } } ] }
Returns a list of currently online players
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the server
Successful response
Show child attributes
Was this page helpful?