Skip to content

Base URL and versioning

The production base URL is:

https://api.ltesocks.io/v2

Combine it with a documented path. For example, GET /ports becomes:

GET https://api.ltesocks.io/v2/ports

The version is part of the URL. This documentation covers the active public v2 contract only. Do not remove the /v2 prefix or replace it with an undocumented version.

Within v2, additive changes may introduce optional response fields or new enum values. Clients should:

  • ignore unknown JSON properties;
  • avoid exhaustive assumptions about enum values;
  • validate fields they actually use;
  • rely on HTTP status and documented error shapes;
  • pin operational behavior to v2, not to example payloads.

Use HTTPS for every request. The bearer token must never be sent over a plaintext connection. Use normal certificate validation and a current TLS stack.