The production base URL is:
https://api.ltesocks.io/v2Combine it with a documented path. For example, GET /ports becomes:
GET https://api.ltesocks.io/v2/portsConfigure an SDK endpoint
Section titled “Configure an SDK endpoint”Official SDKs use the production URL by default. Override it only for a private or test deployment:
const client = LTESocksClient.withBearerToken(token, { baseUrl: 'https://api.example.test/v2', timeoutMs: 30_000,});client = Client.with_bearer_token( token, base_url="https://api.example.test/v2", timeout=30.0,)<?php
$client = Client::builder() ->withBearerToken($token) ->withBaseUri('https://api.example.test/v2') ->withTimeout(30.0, 5.0) ->build();Version scope
Section titled “Version scope”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.