Skip to Content

List orders of the servers the API key can see

GET
/developer/orders

Orders sent to the servers the key can see. Ordered by last change, then id, ascending: a client that keeps the last updatedAt and calls again with updatedSince never misses a change. Never returns viewer names or messages. A key that sees more than 100 servers must send serverId (400 SERVER_FILTER_REQUIRED). Requires the orders_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

serverId?string

Only orders of this server. A server the key cannot see returns an empty page. Required when the key sees more than 100 servers (400 SERVER_FILTER_REQUIRED without it).

Match^[a-z]{2,5}_[0-9A-HJKMNP-TV-Z]{26}$
status?array<>

Only orders in one of these statuses. Repeat the parameter for more than one (status=queued&status=running).

Items1 <= items <= 11
actionKey?string

Only orders of this action.

Match^(?:(?!custom\.)[a-z][a-z0-9]{1,15}|custom\.[a-z0-9](?:[a-z0-9-]{0,38}[a-z0-9])?)\.[a-z][a-z0-9_]{1,47}$
isTest?boolean

Only test orders (true) or only real orders (false).

createdFrom?string

Only orders created at or after this instant (inclusive).

Match^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
Formatdate-time
createdTo?string

Only orders created before this instant (exclusive). Must not be earlier than createdFrom.

Match^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
Formatdate-time
updatedSince?string

Only orders changed at or after this instant (inclusive). Use it to sync incrementally.

Match^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}Z$
Formatdate-time
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 orders.

application/json
  1. response

A page of orders, in stable order by (updatedAt, 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/orders'
Example Response
{  "items": [    {      "id": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",      "serverId": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",      "gameId": "dayz",      "streamer": {        "id": "srv_01JA8Z3E5G7J9M1P3R5T7W9Y1A",        "slug": "string",        "displayName": "string"      },      "actionKey": "dayz.break_leg",      "actionVersion": 1,      "params": {        "count": 3,        "radius": 25      },      "status": "pending_payment",      "waitingReason": "COOLDOWN_ACTIVE",      "failureReason": "ORDER_EXPIRED",      "expiredWhileWaitingFor": "COOLDOWN_ACTIVE",      "mode": "sandbox",      "isTest": true,      "price": {        "amountCents": 1000,        "currency": "BRL"      },      "serverOwnerShare": {        "bps": 0,        "amount": {          "amountCents": 1000,          "currency": "BRL"        }      },      "result": {        "property1": null,        "property2": null      },      "resultStatus": "valid",      "createdAt": "2026-10-15T22:41:03.000Z",      "paidAt": "2026-10-15T22:41:03.000Z",      "expiresAt": "2026-10-15T22:41:03.000Z",      "finishedAt": "2026-10-15T22:41:03.000Z",      "updatedAt": "2026-10-15T22:41:03.000Z"    }  ],  "nextCursor": "eyJpZCI6Im9yZF8wMUpDREQ3In0"}