Identify the calling API key (organization, scopes and effective servers)
Authorization: Bearer dz_live_<publicId8>_<secret43>. A key that does not exist, was revoked, expired, belongs to another environment or is wrong returns the SAME 401 API_KEY_INVALID. Requires no scope. Rate limited per key and per organization (429 with Retry-After).
organizationApiKeyAuthorizationBearer <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.
The key and what it can see right now.
application/json- response
The API key that made the call (GET /developer/self): its organization, the key itself, its scopes and the servers it can see.
organization*apiKey*scopes*array<>Scopes granted to the key.
serverIds*array<>|Servers chosen when the key was created (null = all servers of the organization).
effectiveServers*array<>Servers the key can see right now: the chosen ones that are not archived. Empty = none.
curl -X GET 'https://sandbox-api.dropsz.gg/v1/developer/self'{ "organization": { "id": "org_01JA8Z2D4F6H8K0M2P4R6T8V0X", "slug": "acme-servers", "name": "Acme Servers" }, "apiKey": { "id": "key_01JC9X0Z2B4D6F8H0K2M4P6R8T", "name": "Clan dashboard", "prefix": "dz_live_7Hq2xK9p", "rateLimitPerMinute": 120, "expiresAt": "2027-10-10T10:00:00.000Z" }, "scopes": [ "servers_read", "orders_read" ], "serverIds": null, "effectiveServers": [ { "id": "srv_01JADXRHEM3E2MSH4DMDZSX9G8", "name": "Chernarus PvE #1" } ]}