Returns authenticated key metadata
GET/auth/me
Returns the verified identity of the request coming in via HTTP Basic Auth. A smoke-test endpoint — to quickly verify the integration works.
RETURNED FIELDS (NO api_secret_hash or similar sensitive field):
api_key_id: Internal numeric IDreseller_id: WHMCStblclients.id(the reseller's customer id)name: Key labelpermissions: Scope list (["orders:create", "*"])client_ip: The client IP that made this request (resolved via X-Forwarded-For with a trusted proxy resolver)last_used_at: The last time this key was used (RFC 3339)expires_at: The key's expiry date (NULL = never)rate_limit_rpm: Per-key override (NULL = default 60)auto_apply_credit: POST /orders automatic balance charge toggle (true = default; if false the order returnspending_payment+notice=auto_apply_credit_disabled, and the reseller pays the invoice manually). Changed via the admin CLI:php bin/api-key-update.php <id> --auto-apply-credit=0|1
Responses
- 200
- 401
- 403
- 429
Authenticated, identity returned
Response Headers
The per-minute limit defined for this key
Number of requests remaining in the current window
Unix epoch of the start of the next window (UTC seconds)
Authentication failed — missing header, invalid API key/secret, revoked or expired key.
Response Headers
RFC 7235 header — signals the Basic Auth requirement to the client
IP whitelist violation — the incoming IP is not in the key's allow list
Per-minute limit exceeded
Response Headers
Seconds to wait before retrying after a 429 (RFC 7231 §7.1.3)
The per-minute limit defined for this key
Unix epoch of the start of the next window (UTC seconds)