Use this file to discover all available pages before exploring further.
The Wassist SDK provides a fully typed TypeScript client for programmatic access to all Wassist features. Create agents, manage conversations, handle WhatsApp accounts, and more—all from your code.
import { createWassistClient } from '@wassist/sdk';// Initialize the clientconst client = createWassistClient({ baseUrl: 'https://backend.wassist.app/api/v1/', authToken: 'your-auth-token',});// List your agentsconst { data: agents } = await client.agents.list();console.log(`You have ${agents.length} agents`);// Create a new agent from an ideaconst agent = await client.onboarding.createFromIdea({ idea: 'A helpful customer support agent for my coffee shop',});// Send a message in a conversationawait client.conversations.sendMessage(conversationId, { message: 'Hello! How can I help you today?',});
The SDK includes complete type definitions for all resources:
import type { Agent, Conversation, Message, WhatsAppAccount, AgentTool, // ... and many more} from '@wassist/sdk';// Full autocomplete and type checkingconst agent: Agent = await client.agents.get(id);console.log(agent.name); // stringconsole.log(agent.tools); // AgentTool[]console.log(agent.paywallConfig?.messageLimit); // number | null