Get / reset API token
POST /api/user-api/auth: exchange your account credentials for a Bearer token
https://www.eclipseproxy.com/api/user-api/authPOST your account email and password to receive a fresh API token.
Calling this endpoint invalidates your previous token. Update any services using the old token immediately.
Example request
Parameters
No authorization required for this endpoint. Use your email and password instead.
Body parameters
emailbodystringrequiredYour EclipseProxy account email.
passwordbodystringrequiredYour EclipseProxy account password.
Response
statusstringrequired"success" when the token was generated.
messagestringHuman-readable confirmation.
dataobjectrequireddata properties
apiTokenstringrequiredThe new API token. Store securely and include as Authorization: Bearer <token> on every other endpoint.
Rate limit
1 request per 5 minutes per account and per IP. Store the token and reuse it: don't call this on every request.
Example response
When to rotate
- Token was exposed (committed to a repo, leaked in logs, shared)
- Routine security rotation
- A teammate left and may have had access
Calling this endpoint generates a new token and invalidates the old one. Update every script that uses the old token.
Errors
- 401: wrong email or password
- 429: rate-limited (you hit the 1-per-5-min cap)
- 5xx: internal error; retry with exponential backoff

