Skip to main content

Developer Documentation

Build and deploy AI-powered conversational agents with the Wiil Platform API and SDKs. This documentation covers everything from quick setup to advanced configurations.


Quick Start

Quick Setup Guide

Deploy AI agents with a single API call. The fastest way to get started.

API Reference

Complete API documentation with endpoints, schemas, and examples.


Deploy in Seconds

import { WiilClient } from 'wiil-js';
import { BusinessSupportServices } from 'wiil-core-js';

const client = new WiilClient({
apiKey: process.env.WIIL_API_KEY!
});

// Deploy a Phone Agent
const phone = await client.dynamicPhoneAgent.create({
assistantName: 'Sarah',
capabilities: [BusinessSupportServices.APPOINTMENT_MANAGEMENT],
});

console.log('Phone number:', phone.phoneNumber);

// Deploy a Web Agent
const web = await client.dynamicWebAgent.create({
assistantName: 'Emma',
websiteUrl: 'https://example.com',
capabilities: [BusinessSupportServices.APPOINTMENT_MANAGEMENT],
});

console.log('Widget snippets:', web);

View Full Setup Guide →


Documentation

Setup & Authentication

GuideDescription
Quick Setup GuideSingle-call agent deployment
AuthenticationAPI key authentication
API KeysManaging your API keys

Guides

GuideDescription
Dynamic Agent SetupComplete guide for Phone & Web agents
Fundamental ConfigurationTraditional multi-step setup
Voice ChannelsPhone call integration
Web ChannelsWeb chat widget integration

Architecture

SectionDescription
Architecture OverviewPlatform architecture
Service ConfigurationCore agent deployment
Translation ServicesMultilingual translation
Business ManagementBusiness services
ConversationsCentral integration hub

Reference

SectionDescription
API ReferenceComplete REST API documentation
Dynamic Agents APIDynamic agent setup endpoints
SchemasData models and definitions
SDKsOfficial SDK documentation

API Overview

Base URL

https://api.wiil.io/v1

Authentication

All requests require an API key:

curl https://api.wiil.io/v1/organizations \
-H "X-Wiil-Api-Key: your_api_key"

Response Format

{
"success": true,
"data": { ... },
"metadata": {
"timestamp": 1704067200000,
"version": "v1"
}
}

HTTP Status Codes

CodeDescription
200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limit Exceeded

SDKs

TypeScript

TypeScript / JavaScript

npm install wiil-js

Full TypeScript support, Promise-based API, Node.js 18+

Python

pip install wiil-python

Pydantic models, sync & async support, Python 3.9+


Support


Ready to build? Start with the Quick Setup Guide