Skip to main content
POST
/
api
/
v1
/
auth
/
check-username
Check if username is taken
curl --request POST \
  --url https://mcp.echozero.app/api/v1/auth/check-username \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "existing_user"
}
'
{
  "success": true,
  "data": true
}

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.

x-timestamp
string

Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.

Body

application/json
username
string
required
Example:

"trader_jane"

Response

200 - application/json

true if username exists.

success
boolean
required
Example:

true

data
boolean
required

Operation result