Skip to main content
All requests require a Bearer token in the Authorization header.
Authorization: Bearer {your_api_key}

Get an API key

2

Navigate to API Keys

Go to Settings → API Keys
3

Create key

Configure permissions and copy your key securely
Store your API key securely. You won’t be able to see it again after creation.

Key types

Personal Keys

Access your individual orders and resources

Organization Keys

Access organization-owned resources

Available services

ServiceDescription
orderCreate, read, update, delete orders
accountAccess account information
inventoryCheck product inventory

Example requests

curl -X GET "https://dashboard.statproxies.com/api/v2/order/list" \
  -H "Authorization: Bearer sk_live_abc123..."

Error responses

Invalid or missing API key.
{ "error": "invalid_api_key" }
Causes: Missing header, incorrect key, expired key
Insufficient permissions for the requested action.
{ "error": "insufficient_permissions" }
Causes: Service not enabled, accessing other user’s resources

Best practices

Keep Secret

Never expose keys in client-side code

Environment Variables

Store keys in env vars, not code

Rotate Regularly

Create new keys and revoke old ones

Least Privilege

Only enable required services

Managing keys

  • View: See all active keys, creation date, last used
  • Revoke: Immediately disable a key (cannot be undone)
Organization API keys scope all requests to the organization’s context—orders, billing, and resources.