Every documented API operation is authenticated. Send the dashboard API token in the Authorization header:
Authorization: Bearer YOUR_API_TOKENCreate or reset a token
Section titled “Create or reset a token”- Sign in to the LTESocks dashboard.
- Open Settings → Profile.
- Locate API Token.
- Create the token, or reset it when rotating credentials.
- Copy the new value immediately and store it as a secret.
Resetting the token invalidates the previous value. Update all server-side integrations before or immediately after rotation.
Server-side use only
Section titled “Server-side use only”Treat the token like an account password:
- inject it through an environment variable or secret manager;
- use HTTPS and validate TLS certificates;
- redact
Authorizationfrom application and proxy logs; - never expose the token in client-side JavaScript;
- use a separate deployment secret for each environment;
- rotate it after any suspected disclosure.
Authentication failures
Section titled “Authentication failures”A missing, invalid, expired, or reset token returns a non-success response. Handle 401 as a permanent credential failure: stop retries, alert the operator, and replace the secret. Do not automatically regenerate tokens from application code.