Zernio
Zernio
OverviewSDKsNode.jsPythonGoRubyJavaPHP.NETRust
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources

SDKs

Call the Zernio API from Node.js, Python, Go, Ruby, Java, PHP, .NET or Rust with an official client, or generate your own from the OpenAPI spec.


Zernio ships an official client for 8 languages, each generated from the same OpenAPI spec, so every endpoint (posts, accounts, profiles, analytics, inbox, ads, phone numbers, WhatsApp, workflows) is a method call. Install the client for your language and set ZERNIO_API_KEY (API keys).

Clients

Each page has the install command, a first call in that language, and the client's own rules (errors, async, idempotency keys).

Node.js

npm install @zernio/node. TypeScript types for every request and response.

Python

pip install zernio-sdk. Sync and async clients, direct media uploads.

Go

go get github.com/zernio-dev/zernio-go. Context-first, builder-style requests.

Ruby

gem install zernio-sdk. Typed models with per-call response metadata.

Java

com.zernio:zernio-sdk on Maven Central. Built on java.net.http, Java 11 or later.

PHP

composer require zernio-dev/zernio-php. Guzzle-based, PHP 8.1 or later.

.NET

dotnet add package Zernio. C# client with reusable HttpClient support.

Rust

cargo add zernio. Async client built on reqwest.

The Chat SDK adapter (@zernio/chat-sdk-adapter, source) is a separate package for chatbots that answer Instagram, Facebook, Telegram, WhatsApp, X, Bluesky and Reddit conversations through Vercel's Chat SDK.

How it behaves

Method names follow the operationId

The operationId of each endpoint in the API reference is the method name in every client: createPost on POST /v1/posts is zernio.posts.createPost in Node.js, client.posts.create_post in Python, PostsAPI.CreatePost in Go and posts_api::create_post in Rust. The namespace is the endpoint's tag (posts, accounts, webhooks).

Every client is generated from the OpenAPI spec

The full API is one OpenAPI 3.1 document at zernio.com/openapi.yaml. Generate a client for a language Zernio does not ship with any OpenAPI generator; the spec is also the source of the API reference.

Related

  • Quickstart: API key, profile, account and first post in 5 calls.
  • Error handling: the error envelope every client surfaces.
  • Idempotency: the x-request-id header the clients expose.
  • CLI and MCP: the same API from a terminal or an AI assistant.
Was this page helpful?

Inbox and DMs

Build one inbox per customer, written by webhooks and read from your database, with replies and backfills through the inbox API.

Node.js

Install @zernio/node and call every Zernio API endpoint from Node.js or TypeScript with typed requests and responses.

On this page

ClientsHow it behavesMethod names follow the operationIdEvery client is generated from the OpenAPI specRelated