Skip to main content

SDKs

Three official client libraries are published:

LanguagePackageVersionRegistryGuide
TypeScript@retorna-tech/retorna-gateway-sdk1.0.4npmGuide
Pythonretorna-gateway-sdk1.0.4PyPIGuide
Javaapp.retorna:retorna-gateway-sdk1.0.3Maven CentralGuide

What they all do for you​

Every SDK wraps the same public API and takes the same four things off your plate:

  • Token exchange β€” acquires and caches your OAuth2 token; there is no refresh token, so the SDK just asks again when it is close to expiring.
  • Request signing β€” builds the RSA-SHA256 signature and nonce headers for you, from your provisioned private key.
  • Retries β€” retries transient failures with backoff, configurable per client.
  • Typed models β€” request and response shapes as native types in each language, so a contract change surfaces at compile time, not at runtime.

They also all send identity headers on every request, so a call is traceable to the exact SDK and version that made it.

Prefer raw HTTP?​

Nothing here blocks an integration. The API is plain HTTP over JSON, and the two parts a library would normally hide for you are documented step by step, with runnable snippets in several languages:

  • Authentication β€” the client_credentials token exchange.
  • Request signing β€” the signature and nonce headers, with a worked example of the exact string that gets signed.

From there, every endpoint in the API Reference carries a request/response example and a "Try it" panel you can call directly from the browser.