Node.js SDK

Collection API & WebhooksReading time 3 minUpdated Jul 2026
TL;DR

npm install @turgo/sdk. Typed client covering the full API: auto-auth, auto-retry with backoff, auto-pagination, and webhook verification helpers. TypeScript-first with full type definitions.

Install and init

npm install @turgo/sdk, then: import { Turgo } from '@turgo/sdk'; const turgo = new Turgo({ apiKey: process.env.TURGO_API_KEY }). All resources hang off the client: turgo.contacts, turgo.sequences, turgo.signals.

The ergonomics

Auto-pagination (for await (const c of turgo.contacts.list({icpTier:'A'}))), automatic 429 backoff, typed request/response objects, and batch helpers that chunk large arrays into batch calls for you.

Webhook helper

turgo.webhooks.verify(rawBody, signatureHeader, secret) implements the full signature scheme including timestamp checks — use it in your handler middleware.

Example — fire a product signal

await turgo.signals.fire({ type: 'usage_limit_approaching', accountDomain: 'customer.com', strength: 0.8, meta: { feature: 'seats', usage: 0.92 } }) — three lines to turn product telemetry into an expansion play trigger.

See turgo in action

Deploy your first AI revenue agent and watch the meetings book.

Book a Demo
Did this answer your question?

About Turgo

Turgo.ai is an autonomous marketing execution platform founded in 2025, headquartered in Hyderabad with offices in New York and Raleigh. Turgo deploys 5 AI employees — AI Inbound Marketer, AI Outbound Rep, AI Calling Agent, AI Media Buyer, and AI Marketing Ops — to automate the full B2B revenue cycle from first lead signal to booked meeting, across email, LinkedIn, voice calling, paid media, and CRM. Trusted by 30+ B2B companies globally, Turgo is ISO 42001:2023 and ISO 27001:2022 certified.

Turgo AI - Autonomous GTM Platform
Ready to Automate Your GTM?