Other language SDKs
Clients for PHP, Ruby, Java, C#, Go, and Rust are built from the same public OpenAPI schema as the Python and TypeScript SDKs, at version 0.6.0. Each has a generated client covering every public operation, plus a small helper that adds the API key, retries and typed errors.
None of these are published
No PHP, Ruby, Java, C#, Go, or Rust Indox package is available from a registry yet, so
composer require, gem install, a Maven/NuGet dependency, go get, and cargo add
will not resolve. See the SDK status table.
Packages and clients
All helpers read INDOX_API_KEY and INDOX_BASE_URL (default https://indox.org), or take the
token and base URL as arguments. For the six
account operations, build a second client
with the sign-in access token in place of the key.
| Language | Package | Client from the environment | Client from a token |
|---|---|---|---|
| PHP | indox/indox | Indox\IndoxClient::fromEnv() | new Indox\IndoxClient($token, $baseUrl) |
| Ruby | indox | IndoxClient::Client.new | IndoxClient::Client.new(api_key: token, base_url: url) |
| Java | org.indox:indox-sdk | IndoxClient.fromEnv() | new IndoxClient(token, baseUrl) |
| C# / .NET | Indox.Sdk | new IndoxClient() | new IndoxClient(token, baseUrl) |
| Go | github.com/nematiai/indox-go | indox.NewFromEnv() | indox.New(token, baseURL) |
| Rust | indox-sdk | indox_sdk::Indox::from_env()? | Indox::new(token, base_url)? |
Retries
Retrying follows the shared policy, and the typed errors are listed in Errors.
| Language | Where retries happen | Tune or turn off |
|---|---|---|
| PHP | IndoxClient::request only; the generated classes use their own Guzzle client | new IndoxClient($key, $baseUrl, maxRetries: 5, maxRetryWait: 30.0) |
| Ruby | Client#request only; the generated client uses Typhoeus | Client.new(max_retries: 5, max_retry_wait: 30.0) |
| Java | IndoxClient.request only; the generated ApiClient does not retry | new IndoxClient(key, baseUrl, maxRetries, maxRetryWait) |
| C# / .NET | Any generated API class given c.CreateHttpClient() | new IndoxClient(maxRetries: 5, maxRetryWait: TimeSpan.FromSeconds(30)) |
| Go | indox.Transport; give the generated client cfg.HTTPClient = c.HTTP | c.HTTP.Transport.(*indox.Transport).MaxRetries = 0 |
| Rust | Indox::request only; the generated functions take a plain reqwest::Client | Indox::new(..)?.with_retries(5, Duration::from_secs(30)) |
In every language, 0 retries turns retrying off.
Upgrading from 0.5
The API changes every client inherits are in Upgrading from 0.5. Language changes:
- The helpers now raise or return an error for every status of 400 or above: Go
Get/Do, .NETCreateHttpClient(), Rubyrequest/get/health, Rustget_json/health.IndoxClient.request(Java),IndoxClient::request(PHP), andIndox::newandrequest(Rust) are new. POST /user/me/email-change/is not in the generated clients yet; call it through the helper.- The signing OTP route is generated as
AppsPdfHandlerViewsSigningOtpViewsRequestOtp(Go, .NET),appsPdfHandlerViewsSigningOtpViewsRequestOtp(Java, PHP) andapps_pdf_handler_views_signing_otp_views_request_otp(Ruby, Rust).
Until they ship, call the API directly
Each client is a thin wrapper over the same REST endpoints, so no functionality is gated on
the packages. Create an API key under Dashboard → API keys and send it as a bearer token
against https://indox.org:
curl -sS https://indox.org/api/v1/health/ \
-H "Authorization: Bearer $INDOX_API_KEY" \
-H "Accept: application/json"The API reference lists every public endpoint, request shape, and response schema, enough to write a client in any language with an HTTP library.