Skip to main content
POST
https://dashboard.statproxies.com
/
api
/
v2
/
account
/
create
Create Account
curl --request POST \
  --url https://dashboard.statproxies.com/api/v2/account/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "discord_id": "<string>",
  "discord_name": "<string>",
  "email": "<string>"
}
'
Create a new customer account in the Stat Proxies system.

Request

Headers

HeaderValueRequired
AuthorizationBearer {your_api_key}Yes
Content-Typeapplication/jsonYes

Body Parameters

discord_id
string
required
The customer’s Discord ID.
discord_name
string
required
The customer’s Discord username.
email
string
required
The customer’s email address.

Example Request

curl -X POST "https://dashboard.statproxies.com/api/v2/account/create" \
  -H "Authorization: Bearer {your_api_key}" \
  -H "Content-Type: application/json" \
  -d '{
    "discord_id": "123456789012345678",
    "discord_name": "user#1234",
    "email": "[email protected]"
  }'

Response

Success Response

{
  "response": "success"
}

Error Responses

503 Service Unavailable - Account Exists

{
  "error": "account_already_exists"
}

503 Service Unavailable - Creation Failed

{
  "error": "account_creation_failed"
}

Account Properties

When an account is created, it is initialized with:
PropertyValue
memberfalse
unix_creation_dateCurrent timestamp
iso_creation_dateFormatted date string

Use Case

This endpoint is useful for:
  • Pre-provisioning accounts: Create accounts before customers make purchases
  • Integration with external systems: Sync user accounts from other platforms
  • Reseller platforms: Create sub-accounts for customers

Notes

  • If an account with the same Discord ID already exists, the request will fail
  • The email address is not validated for uniqueness
  • Accounts created via API can later sign in using Discord OAuth
  • This is a legacy endpoint primarily for Discord-based authentication

Modern Authentication

For modern integrations, users typically create accounts by:
  1. Signing in via the dashboard with Google, GitHub, or Discord
  2. Accounts are automatically created on first sign-in
  3. Multiple auth providers can be linked to the same account

Learn About Authentication

See all supported authentication methods.