noketa
v1.3.1
Published
Node.js library for the Noketa API.
Readme
noketa
Official JavaScript/TypeScript SDK for the Noketa API.
Install
bun add noketaUsage
import { Noketa } from "noketa";
const client = new Noketa(process.env.NOKETA_API_KEY!);
await client.contacts.create({
email: "[email protected]",
attributes: {
first_name: "Jane",
last_name: "Doe",
},
});Creates or updates a contact by email (upsert). Optional subscribed and tags are applied only when inserting a new contact.
The profiles namespace is deprecated and forwards to contacts.
By default the client uses https://app.noketa.io as the API origin (/api/v1/contacts, /api/v1/emails, …). Override with new Noketa(key, { baseUrl: "https://your-host" }) for local or alternate deployments.
