UnleashX API Documentation
Welcome to the UnleashX API! Our comprehensive API enables you to build sophisticated voice AI applications, manage conversational agents, and integrate human-like conversations into your workflows.What is UnleashX?
UnleashX is a platform for building, deploying, and managing AI-powered voice agents and workflows. Our APIs provide everything you need to build intelligent voice applications at scale.Key Features
- Voice AI Agents: Create and manage agents for natural conversations
- Phone & Chat Integration: Make/receive calls, build chatbots
- API Control: Automate calls, control voice agents via API
- Workflow Automation: Design complex workflow automations
- Analytics & Reporting: Track usage and performance
Getting Started
1. Authentication Flow (Access Token Generation)
UnleashX APIs now use a two-step token system for access:- Login or Create Account to get a login token
- Call the Generate Token API with your login token to get an API access token
- Use the API Token for all authenticated API requests
Step 1: Login or Create Account
Use the login endpoint to authenticate and get your login token. Example:Step 2: Generate Your API Token
Use your login token to generate a persistent API token:Note: This API token never expires, but you should store it securely.
Step 3: Use Your API Token in Requests
Pass the token in thetoken header for authenticated API calls:
Base URL
All API requests should use:API Design
- RESTful Design: Consistent, resource-oriented URLs
- JSON Format: Accepts and returns
application/json - Standard HTTP: Uses HTTP verbs and status codes
- Token Auth: API requests require a valid
tokenheader (your API token)
Example: Agent Creation (Authenticated)
Error Handling
The API uses standard HTTP status codes:200- Success201- Created400- Bad Request401- Unauthorized (invalid/expired token)404- Not Found429- Rate Limited500- Server Error

