SDKs & code samples

Official SDKs in TypeScript, Python, and Go. Every other language has a working curl recipe.

Install

# No install — every endpoint accepts an Authorization: Bearer header.
curl https://api.valienz.io/v1/email/messages \
  -H "Authorization: Bearer $VALIENZ_API_KEY"

Bootstrap a client

import { Valienz } from '@valienz/sdk';

const client = new Valienz({
  apiKey: process.env.VALIENZ_API_KEY!,
  baseUrl: 'https://api.valienz.io',
});

How the SDKs are generated

The TypeScript, Python, and Go SDKs are generated from our OpenAPI spec via openapi-generator-cli, then a thin hand-written layer adds retry/backoff, idempotency-key plumbing, and the SSE stream helper. Releases are tagged in lockstep with backend phase versions.