Skip to Content

List the servers the API key can see

GET
/developer/servers

Servers of the organization that the key can see: the servers chosen for the key (or all of them) that are not archived. Ordered by last change, then id, ascending. Requires the servers_read scope.

Authorization

organizationApiKey
headerAuthorizationBearer <token>

Organization API key, sent as Authorization: Bearer dz_live_<publicId>_<secret> (dz_test_ keys exist outside production). The secret is shown once, when the key is created. A key has a closed list of scopes (currently servers_read and orders_read), an optional list of servers it can see, an optional expiration and a per-minute rate limit. A key that does not exist, was revoked, expired, belongs to another environment or is wrong gets the same 401 API_KEY_INVALID; a missing scope gets 403 API_KEY_SCOPE_INSUFFICIENT. No cookies or CSRF tokens are involved.

Query Parameters

gameId?string

Only servers of this game.

Match^(?!custom$)[a-z][a-z0-9]{1,15}$
mode?string

Only servers in this connector mode.

Value in"disabled""sandbox""enabled""emergency_pause"
cursor?string

Opaque cursor returned as nextCursor by the previous page. Send the same filters as that page.

Lengthlength <= 512
limit?integer

Items per page (1 to 100).

Range1 <= value <= 100
Default50

Response Body

A page of servers.

application/json
  1. response

A page of servers, in stable order by (last change, id) ascending.

items*array<>
nextCursor*|

Opaque cursor of the next page. null = there are no more items.

curl -X GET 'https://sandbox-api.dropsz.gg/v1/developer/servers'
Example Response
{  "items": [    {      "id": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",      "name": "string",      "gameId": "dayz",      "mode": "disabled",      "plan": {        "tier": "free",        "proUntil": "2026-10-15T22:41:03.000Z"      },      "connector": {        "online": true,        "lastSeenAt": "2026-10-15T22:41:03.000Z",        "protocolVersion": "string",        "connectorVersion": "string"      },      "playersOnlineCount": 0    }  ],  "nextCursor": "eyJpZCI6Im9yZF8wMUpDREQ3In0"}