instantly-sdk-patterns
Installation
SKILL.md
Instantly SDK Patterns
Overview
Production-ready patterns for Instantly API v2 integrations. Instantly has no official SDK — all integrations use direct REST calls to https://api.instantly.ai/api/v2/. These patterns provide type safety, retry logic, pagination, and multi-tenant support.
Prerequisites
- Completed
instantly-install-authsetup - Familiarity with async/await and TypeScript generics
- Understanding of REST API pagination patterns
Instructions
Step 1: Type-Safe Client with Error Classification
// src/instantly/client.ts
import "dotenv/config";
export class InstantlyClient {
private baseUrl: string;
private apiKey: string;